Class 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 with WorkbenchPopup.
    • 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:
        getResourceType in interface org.uberfire.security.Resource
      • getSize

        public org.uberfire.client.annotations.WorkbenchPopup.WorkbenchPopupSize getSize()
        Specified by:
        getSize in interface PopupActivity
      • getWidget

        public abstract com.google.gwt.user.client.ui.IsWidget getWidget()
        Specified by:
        getWidget in interface PopupActivity
      • onOpen

        public void onOpen()
        Description copied from class: AbstractActivity
        Tracks open/closed lifecycle. Subclasses should always call super.onOpen() in methods that override this one.
        Specified by:
        onOpen in interface Activity
        Overrides:
        onOpen in class AbstractActivity
      • onClose

        public void onClose()
        Description copied from class: AbstractActivity
        Tracks open/closed lifecycle. Subclasses should always call super.onClose() in methods that override this one.
        Specified by:
        onClose in interface Activity
        Overrides:
        onClose in class AbstractActivity