Package com.opencloud.rem.ext.client
Class DelegatingHistoryManager
- java.lang.Object
-
- com.opencloud.rem.ext.client.DelegatingHistoryManager
-
- All Implemented Interfaces:
ValueChangeHandler<String>
,EventHandler
,com.opencloud.rem.client.place.HistoryManager
public class DelegatingHistoryManager extends Object implements com.opencloud.rem.client.place.HistoryManager, ValueChangeHandler<String>
Implementation ofHistoryManager
that delegates calls from a REM plugin to REM itself.
-
-
Constructor Summary
Constructors Constructor Description DelegatingHistoryManager()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
back()
com.opencloud.rem.client.place.HistoryToken
currentToken()
void
exportJSMethods(JavaScriptObject jso)
void
goHome()
boolean
isNew()
boolean
isView(String view)
void
newHistoryItem(com.opencloud.rem.client.place.HistoryToken historyToken)
com.opencloud.rem.client.place.HistoryToken
newHistoryToken(int connectionId, String instanceId)
com.opencloud.rem.client.place.HistoryToken
newHistoryToken(String panelName)
com.opencloud.rem.client.place.HistoryToken
newHistoryToken(String panelName, String subPanel)
com.opencloud.rem.client.place.HistoryToken
newHistoryTokenView(String viewName)
void
onValueChange(ValueChangeEvent<String> event)
void
parseHistoryItem(String historyTokenString)
boolean
sameView(com.opencloud.rem.client.place.HistoryToken previousToken)
-
-
-
Method Detail
-
onValueChange
public void onValueChange(ValueChangeEvent<String> event)
- Specified by:
onValueChange
in interfaceValueChangeHandler<String>
-
parseHistoryItem
public void parseHistoryItem(String historyTokenString) throws IllegalArgumentException
- Specified by:
parseHistoryItem
in interfacecom.opencloud.rem.client.place.HistoryManager
- Throws:
IllegalArgumentException
-
newHistoryToken
public com.opencloud.rem.client.place.HistoryToken newHistoryToken(String panelName)
- Specified by:
newHistoryToken
in interfacecom.opencloud.rem.client.place.HistoryManager
-
newHistoryToken
public com.opencloud.rem.client.place.HistoryToken newHistoryToken(String panelName, String subPanel)
- Specified by:
newHistoryToken
in interfacecom.opencloud.rem.client.place.HistoryManager
-
newHistoryToken
public com.opencloud.rem.client.place.HistoryToken newHistoryToken(int connectionId, String instanceId)
- Specified by:
newHistoryToken
in interfacecom.opencloud.rem.client.place.HistoryManager
-
newHistoryItem
public void newHistoryItem(com.opencloud.rem.client.place.HistoryToken historyToken)
- Specified by:
newHistoryItem
in interfacecom.opencloud.rem.client.place.HistoryManager
-
newHistoryTokenView
public com.opencloud.rem.client.place.HistoryToken newHistoryTokenView(String viewName)
- Specified by:
newHistoryTokenView
in interfacecom.opencloud.rem.client.place.HistoryManager
-
isNew
public boolean isNew()
- Specified by:
isNew
in interfacecom.opencloud.rem.client.place.HistoryManager
-
isView
public boolean isView(String view)
- Specified by:
isView
in interfacecom.opencloud.rem.client.place.HistoryManager
-
sameView
public boolean sameView(com.opencloud.rem.client.place.HistoryToken previousToken)
- Specified by:
sameView
in interfacecom.opencloud.rem.client.place.HistoryManager
-
currentToken
public com.opencloud.rem.client.place.HistoryToken currentToken()
- Specified by:
currentToken
in interfacecom.opencloud.rem.client.place.HistoryManager
-
goHome
public void goHome()
- Specified by:
goHome
in interfacecom.opencloud.rem.client.place.HistoryManager
-
back
public void back()
- Specified by:
back
in interfacecom.opencloud.rem.client.place.HistoryManager
-
exportJSMethods
public void exportJSMethods(JavaScriptObject jso)
- Specified by:
exportJSMethods
in interfacecom.opencloud.rem.client.place.HistoryManager
-
-