C
- defines the base component where others extend frompublic interface IWorkbenchLayout<C> extends IBaseLayout<C>
Modifier and Type | Method and Description |
---|---|
<S extends java.lang.Enum> |
getStyle()
Returns the workbench style.
|
Tupel<java.lang.Integer,java.lang.Integer> |
getWorkbenchSize()
Returns a tuple defining the workbench size.
|
boolean |
isMenuEnabled()
Check if menus are enabled.
|
void |
registerToolBar(ToolbarPosition position)
Register a toolbar for the workbench
All toolbars are added with the same priority, thus the priority is given
by the order of registration.
|
void |
setMenuEnabled(boolean enabled)
Set menus to enabled state.
|
<S extends java.lang.Enum> |
setStyle(S style)
Set the workbench style.
|
void |
setWorkbenchXYSize(int x,
int y)
Set the size of the workbench.
|
getGlassPane, getMenu, getRegisteredToolBar
boolean isMenuEnabled()
void setMenuEnabled(boolean enabled)
enabled
- void setWorkbenchXYSize(int x, int y)
x
- y
- Tupel<java.lang.Integer,java.lang.Integer> getWorkbenchSize()
void registerToolBar(ToolbarPosition position)
position
- - NORTH, WEST, EAST, SOUTH<S extends java.lang.Enum> void setStyle(S style)
style
- , the style of workbench<S extends java.lang.Enum> S getStyle()