Class PlaceHistoryHandler


  • @ApplicationScoped
    public class PlaceHistoryHandler
    extends Object
    • Constructor Detail

      • PlaceHistoryHandler

        public PlaceHistoryHandler()
        Create a new PlaceHistoryHandler.
    • Method Detail

      • handleCurrentHistory

        public void handleCurrentHistory()
        Handle the current history token. Typically called at application start, to ensure bookmark launches work.
      • initialize

        public com.google.web.bindery.event.shared.HandlerRegistration initialize​(PlaceManager placeManager,
                                                                                  com.google.web.bindery.event.shared.EventBus eventBus,
                                                                                  org.uberfire.mvp.PlaceRequest defaultPlaceRequest)
        Initialize this place history handler.
        Returns:
        a registration object to de-register the handler
      • getCurrentBookmarkableURLStatus

        public String getCurrentBookmarkableURLStatus()
      • getPerspectiveFromPlace

        public org.uberfire.mvp.PlaceRequest getPerspectiveFromPlace​(org.uberfire.mvp.PlaceRequest place)
        Extract a perspective from a place
        Parameters:
        place -
        Returns:
      • registerOpen

        public void registerOpen​(Activity activity,
                                 org.uberfire.mvp.PlaceRequest place)
        register opened screen of perspective
        Parameters:
        activity -
        place -
      • registerClose

        public void registerClose​(Activity activity,
                                  org.uberfire.mvp.PlaceRequest place)
      • flush

        public void flush()
      • getToken

        public String getToken()