Package org.uberfire.client.mvp
Class AbstractSplashScreenActivity
- java.lang.Object
-
- org.uberfire.client.mvp.AbstractActivity
-
- org.uberfire.client.mvp.AbstractSplashScreenActivity
-
- All Implemented Interfaces:
Activity,SplashScreenActivity,org.uberfire.security.authz.RuntimeFeatureResource,org.uberfire.security.authz.RuntimeResource,org.uberfire.security.Resource
public abstract class AbstractSplashScreenActivity extends AbstractActivity implements SplashScreenActivity
Implementation of behaviour common to all splash screen activities. Concrete implementations are typically not written by hand; rather, they are generated from classes annotated withWorkbenchSplashScreen.
-
-
Field Summary
-
Fields inherited from class org.uberfire.client.mvp.AbstractActivity
open, place, placeManager
-
-
Constructor Summary
Constructors Constructor Description AbstractSplashScreenActivity(PlaceManager placeManager, SplashView splash)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description voidcloseIfOpen()voidforceShow()IntegergetBodyHeight()abstract org.uberfire.workbench.model.SplashScreenFiltergetFilter()abstract StringgetTitle()com.google.gwt.user.client.ui.IsWidgetgetTitleDecoration()abstract com.google.gwt.user.client.ui.IsWidgetgetWidget()Booleanintercept(org.uberfire.mvp.PlaceRequest intercepted)voidonClose()Tracks open/closed lifecycle.voidonOpen()Tracks open/closed lifecycle.voidonStartup(org.uberfire.mvp.PlaceRequest place)Tracks start/shutdown lifecycle.-
Methods inherited from class org.uberfire.client.mvp.AbstractActivity
getPlace, onShutdown, toString
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.uberfire.client.mvp.Activity
getName, getPlace, isDefault, isDynamic, onShutdown
-
Methods inherited from interface org.uberfire.security.Resource
getDependencies, getIdentifier, isType
-
Methods inherited from interface org.uberfire.client.mvp.SplashScreenActivity
getResourceType, isEnabled
-
-
-
-
Constructor Detail
-
AbstractSplashScreenActivity
@Inject public AbstractSplashScreenActivity(PlaceManager placeManager, SplashView splash)
-
-
Method Detail
-
onOpen
public void onOpen()
Description copied from class:AbstractActivityTracks open/closed lifecycle. Subclasses should always call super.onOpen() in methods that override this one.- Specified by:
onOpenin interfaceActivity- Overrides:
onOpenin classAbstractActivity
-
onStartup
public void onStartup(org.uberfire.mvp.PlaceRequest place)
Description copied from class:AbstractActivityTracks start/shutdown lifecycle. Subclasses should always call super.onStartup() in methods that override this one.- Specified by:
onStartupin interfaceActivity- Overrides:
onStartupin classAbstractActivity- Parameters:
place- The place that resolved to this activity
-
getTitle
public abstract String getTitle()
- Specified by:
getTitlein interfaceSplashScreenActivity
-
getWidget
public abstract com.google.gwt.user.client.ui.IsWidget getWidget()
- Specified by:
getWidgetin interfaceSplashScreenActivity
-
getBodyHeight
public Integer getBodyHeight()
- Specified by:
getBodyHeightin interfaceSplashScreenActivity
-
getFilter
public abstract org.uberfire.workbench.model.SplashScreenFilter getFilter()
- Specified by:
getFilterin interfaceSplashScreenActivity
-
getTitleDecoration
public com.google.gwt.user.client.ui.IsWidget getTitleDecoration()
- Specified by:
getTitleDecorationin interfaceSplashScreenActivity
-
closeIfOpen
public void closeIfOpen()
- Specified by:
closeIfOpenin interfaceSplashScreenActivity
-
forceShow
public void forceShow()
- Specified by:
forceShowin interfaceSplashScreenActivity
-
onClose
public void onClose()
Description copied from class:AbstractActivityTracks open/closed lifecycle. Subclasses should always call super.onClose() in methods that override this one.- Specified by:
onClosein interfaceActivity- Overrides:
onClosein classAbstractActivity
-
intercept
public Boolean intercept(org.uberfire.mvp.PlaceRequest intercepted)
- Specified by:
interceptin interfaceSplashScreenActivity
-
-