Package org.uberfire.client.mvp
Class AbstractPopupActivity
- java.lang.Object
-
- org.uberfire.client.mvp.AbstractActivity
-
- org.uberfire.client.mvp.AbstractPopupActivity
-
- All Implemented Interfaces:
Activity,PopupActivity,org.uberfire.security.authz.RuntimeFeatureResource,org.uberfire.security.authz.RuntimeResource,org.uberfire.security.Resource
- Direct Known Subclasses:
ActivityNotFoundPresenter
public abstract class AbstractPopupActivity extends AbstractActivity implements PopupActivity
Implementation of behaviour common to all popup activities. Concrete implementations are typically not written by hand; rather, they are generated from classes annotated withWorkbenchPopup.
-
-
Field Summary
-
Fields inherited from class org.uberfire.client.mvp.AbstractActivity
open, place, placeManager
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedAbstractPopupActivity(PlaceManager placeManager, PopupView popupView)MVP constructor that allows caller to provide the PopupView instance.
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description org.uberfire.security.ResourceTypegetResourceType()org.uberfire.client.annotations.WorkbenchPopup.WorkbenchPopupSizegetSize()abstract StringgetTitle()com.google.gwt.user.client.ui.IsWidgetgetTitleDecoration()abstract com.google.gwt.user.client.ui.IsWidgetgetWidget()voidonClose()Tracks open/closed lifecycle.booleanonMayClose()voidonOpen()Tracks open/closed lifecycle.-
Methods inherited from class org.uberfire.client.mvp.AbstractActivity
getPlace, onShutdown, onStartup, toString
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Constructor Detail
-
AbstractPopupActivity
protected AbstractPopupActivity(PlaceManager placeManager, PopupView popupView)
MVP constructor that allows caller to provide the PopupView instance.
-
-
Method Detail
-
getResourceType
public org.uberfire.security.ResourceType getResourceType()
- Specified by:
getResourceTypein interfaceorg.uberfire.security.Resource
-
getTitle
public abstract String getTitle()
- Specified by:
getTitlein interfacePopupActivity
-
getSize
public org.uberfire.client.annotations.WorkbenchPopup.WorkbenchPopupSize getSize()
- Specified by:
getSizein interfacePopupActivity
-
getTitleDecoration
public com.google.gwt.user.client.ui.IsWidget getTitleDecoration()
- Specified by:
getTitleDecorationin interfacePopupActivity
-
getWidget
public abstract com.google.gwt.user.client.ui.IsWidget getWidget()
- Specified by:
getWidgetin interfacePopupActivity
-
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
-
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
-
onMayClose
public boolean onMayClose()
- Specified by:
onMayClosein interfacePopupActivity
-
-