@ApplicationScoped public class PlaceHistoryHandler extends Object
Modifier and Type | Class and Description |
---|---|
static class |
PlaceHistoryHandler.DefaultHistorian
Default implementation of
PlaceHistoryHandler.Historian , based on History . |
static interface |
PlaceHistoryHandler.Historian
Optional delegate in charge of History related events.
|
Constructor and Description |
---|
PlaceHistoryHandler()
Create a new PlaceHistoryHandler.
|
Modifier and Type | Method and Description |
---|---|
void |
flush() |
String |
getCurrentBookmarkableURLStatus() |
PlaceRequest |
getPerspectiveFromPlace(PlaceRequest place)
Extract a perspective from a place
|
String |
getToken() |
void |
handleCurrentHistory()
Handle the current history token.
|
com.google.web.bindery.event.shared.HandlerRegistration |
initialize(PlaceManager placeManager,
com.google.web.bindery.event.shared.EventBus eventBus,
PlaceRequest defaultPlaceRequest)
Initialize this place history handler.
|
void |
registerClose(Activity activity,
PlaceRequest place) |
void |
registerCloseDock(UberfireDocksInteractionEvent event) |
void |
registerOpen(Activity activity,
PlaceRequest place)
register opened screen of perspective
|
void |
registerOpenDock(UberfireDocksInteractionEvent event) |
public PlaceHistoryHandler()
public void handleCurrentHistory()
public com.google.web.bindery.event.shared.HandlerRegistration initialize(PlaceManager placeManager, com.google.web.bindery.event.shared.EventBus eventBus, PlaceRequest defaultPlaceRequest)
public String getCurrentBookmarkableURLStatus()
public PlaceRequest getPerspectiveFromPlace(PlaceRequest place)
place
- public void registerOpen(Activity activity, PlaceRequest place)
activity
- place
- public void registerClose(Activity activity, PlaceRequest place)
public void flush()
public String getToken()
public void registerOpenDock(@Observes UberfireDocksInteractionEvent event)
public void registerCloseDock(@Observes UberfireDocksInteractionEvent event)
Copyright © 2012–2020 JBoss by Red Hat. All rights reserved.