Package org.uberfire.client.mvp
Class AbstractActivity
- java.lang.Object
-
- org.uberfire.client.mvp.AbstractActivity
-
- All Implemented Interfaces:
Activity,org.uberfire.security.authz.RuntimeFeatureResource,org.uberfire.security.authz.RuntimeResource,org.uberfire.security.Resource
- Direct Known Subclasses:
AbstractPopupActivity,AbstractSplashScreenActivity,AbstractWorkbenchActivity,AbstractWorkbenchContextActivity,AbstractWorkbenchPerspectiveActivity
public abstract class AbstractActivity extends Object implements Activity
Implementation of behaviour common to all activity types.AbstractActivity is not typically subclassed directly, even by generated code. See the more purpose-based subclasses.
-
-
Field Summary
Fields Modifier and Type Field Description protected booleanopenprotected org.uberfire.mvp.PlaceRequestplaceprotected PlaceManagerplaceManager
-
Constructor Summary
Constructors Constructor Description AbstractActivity(PlaceManager placeManager)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.uberfire.mvp.PlaceRequestgetPlace()Returns the PlaceRequest that this Activity is currently tied to.voidonClose()Tracks open/closed lifecycle.voidonOpen()Tracks open/closed lifecycle.voidonShutdown()Tracks start/shutdown lifecycle.voidonStartup(org.uberfire.mvp.PlaceRequest place)Tracks start/shutdown lifecycle.StringtoString()
-
-
-
Field Detail
-
placeManager
protected PlaceManager placeManager
-
place
protected org.uberfire.mvp.PlaceRequest place
-
open
protected boolean open
-
-
Constructor Detail
-
AbstractActivity
public AbstractActivity(PlaceManager placeManager)
-
-
Method Detail
-
onStartup
public void onStartup(org.uberfire.mvp.PlaceRequest place)
Tracks start/shutdown lifecycle. Subclasses should always call super.onStartup() in methods that override this one.
-
onOpen
public void onOpen()
Tracks open/closed lifecycle. Subclasses should always call super.onOpen() in methods that override this one.
-
onClose
public void onClose()
Tracks open/closed lifecycle. Subclasses should always call super.onClose() in methods that override this one.
-
onShutdown
public void onShutdown()
Tracks start/shutdown lifecycle. Subclasses should always call super.onShutdown() in methods that override this one.- Specified by:
onShutdownin interfaceActivity
-
getPlace
public org.uberfire.mvp.PlaceRequest getPlace()
Description copied from interface:ActivityReturns the PlaceRequest that this Activity is currently tied to.
-
-