Package org.uberfire.workbench.model
Interface PerspectiveDefinition
-
- All Known Implementing Classes:
PerspectiveDefinitionImpl
@JsType public interface PerspectiveDefinitionMeta-data defining a Perspective. A Perspective is a set of Panels and Parts arranged within the Workbench. The Workbench has exactly one active Perspective at a time. The Perspective contains multiple Panels. Each Panel contains multiple Parts, one of which can be visible at a time. Panels can also contain child panels which are all visible at the same time are are physically located within the bounds of the parent panel. Each Part is associated with one PlaceRequest.Implementations of this interface must be marked with Errai's
@Portableannotation.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ContextDefinitiongetContextDefinition()ContextDisplayModegetContextDisplayMode()StringgetName()Get the name of the Perspective.PanelDefinitiongetRoot()Get the root Panel for this Perspective.voidsetContextDefinition(ContextDefinition contextDefinition)voidsetContextDisplayMode(ContextDisplayMode contextDisplayMode)voidsetName(String name)Set the name of the Perspective.
-
-
-
Method Detail
-
getName
String getName()
Get the name of the Perspective.- Returns:
- The name of the Perspective.
-
setName
void setName(String name)
Set the name of the Perspective.- Parameters:
name- The name of the Perspective.
-
getRoot
PanelDefinition getRoot()
Get the root Panel for this Perspective. The root Panel contains all child Panels. A Perspective is based on a single root Panel.- Returns:
- The root Panel.
-
getContextDefinition
ContextDefinition getContextDefinition()
-
setContextDefinition
void setContextDefinition(ContextDefinition contextDefinition)
-
getContextDisplayMode
ContextDisplayMode getContextDisplayMode()
-
setContextDisplayMode
void setContextDisplayMode(ContextDisplayMode contextDisplayMode)
-
-