Class AbstractActivity

    • Field Detail

      • 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.
        Specified by:
        onStartup in interface Activity
        Parameters:
        place - The place that resolved to this activity
      • onOpen

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

        public void onClose()
        Tracks open/closed lifecycle. Subclasses should always call super.onClose() in methods that override this one.
        Specified by:
        onClose in interface Activity
      • onShutdown

        public void onShutdown()
        Tracks start/shutdown lifecycle. Subclasses should always call super.onShutdown() in methods that override this one.
        Specified by:
        onShutdown in interface Activity
      • getPlace

        public org.uberfire.mvp.PlaceRequest getPlace()
        Description copied from interface: Activity
        Returns the PlaceRequest that this Activity is currently tied to.
        Specified by:
        getPlace in interface Activity
        Returns:
        the PlaceRequest that this activity was started for, or null if this activity is not in the started state.