Package org.uberfire.mvp
Interface PlaceRequest
-
- All Known Implementing Classes:
ConditionalPlaceRequest,DefaultPlaceRequest,ExternalPathPlaceRequest,ForcedPlaceRequest,PathPlaceRequest
@JsType public interface PlaceRequestA request to navigate to a particular UberFire Workbench Place (a WorkbenchPerspective, a WorkbenchScreen, or a WorkbenchEditor). Can include optional state parameters that are made available to the requested place.Place requests can be serialized to and created from a valid URL fragment identifier (the string that goes after the
#in the browser's location bar).
-
-
Field Summary
Fields Modifier and Type Field Description static PlaceRequestNOWHERE
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description PlaceRequestaddParameter(String name, String value)default StringasString()Invokes#toString()but exported to JavaScript so it can be invoked from different scripts.PlaceRequestclone()StringgetFullIdentifier()StringgetIdentifier()StringgetParameter(String key, String defaultValue)Set<String>getParameterNames()Map<String,String>getParameters()default PathgetPath()Returns the path associated with thisPlaceRequest.booleanisUpdateLocationBarAllowed()Indicates whether or not the Workbench framework should add a browser history item when navigating to this place.voidsetIdentifier(String identifier)voidsetUpdateLocationBar(boolean updateLocationBar)
-
-
-
Field Detail
-
NOWHERE
static final PlaceRequest NOWHERE
-
-
Method Detail
-
getIdentifier
String getIdentifier()
-
setIdentifier
void setIdentifier(String identifier)
-
getFullIdentifier
String getFullIdentifier()
-
addParameter
PlaceRequest addParameter(String name, String value)
-
clone
PlaceRequest clone()
-
isUpdateLocationBarAllowed
boolean isUpdateLocationBarAllowed()
Indicates whether or not the Workbench framework should add a browser history item when navigating to this place.
-
setUpdateLocationBar
void setUpdateLocationBar(boolean updateLocationBar)
-
getPath
default Path getPath()
Returns the path associated with thisPlaceRequest.
-
asString
default String asString()
Invokes#toString()but exported to JavaScript so it can be invoked from different scripts.
-
-