public class GlobalMediator
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
java.lang.String |
workbenchId |
| Modifier and Type | Method and Description |
|---|---|
void |
clearToolbar(org.jacpfx.api.component.SubComponent<javafx.event.EventHandler<javafx.event.Event>,javafx.event.Event,java.lang.Object> subComponent,
java.lang.String parentId) |
int |
countVisibleButtons() |
static GlobalMediator |
getInstance() |
JACPToolBar |
getRegisteredToolbar(org.jacpfx.api.util.ToolbarPosition position,
java.lang.String parentId,
java.lang.String componentId) |
java.util.Map<org.jacpfx.api.util.ToolbarPosition,JACPToolBar> |
getRegisteredToolBars(java.lang.String parentId,
java.lang.String componentId) |
java.lang.String |
getWorkbenchId() |
void |
handleToolBarButtons(org.jacpfx.api.component.Perspective<javafx.scene.Node,javafx.event.EventHandler<javafx.event.Event>,javafx.event.Event,java.lang.Object> perspective,
boolean visible) |
void |
handleToolBarButtons(org.jacpfx.api.component.SubComponent<javafx.event.EventHandler<javafx.event.Event>,javafx.event.Event,java.lang.Object> subComponent,
java.lang.String parentId,
boolean visible) |
void |
handleWorkbenchToolBarButtons(java.lang.String id,
boolean visible) |
void |
hideAllHideables(javafx.scene.input.MouseEvent event)
Notifies all Hideables to hide its children or itself
|
void |
registerHideAble(org.jacpfx.api.component.ui.Hideable hideable) |
void |
registerToolbar(org.jacpfx.api.util.ToolbarPosition position,
JACPToolBar toolBar) |
void |
setWorkbenchId(java.lang.String workbenchId) |
public static GlobalMediator getInstance()
public void registerHideAble(org.jacpfx.api.component.ui.Hideable hideable)
public void registerToolbar(org.jacpfx.api.util.ToolbarPosition position,
JACPToolBar toolBar)
public java.util.Map<org.jacpfx.api.util.ToolbarPosition,JACPToolBar> getRegisteredToolBars(java.lang.String parentId, java.lang.String componentId)
public JACPToolBar getRegisteredToolbar(org.jacpfx.api.util.ToolbarPosition position, java.lang.String parentId, java.lang.String componentId)
public void clearToolbar(org.jacpfx.api.component.SubComponent<javafx.event.EventHandler<javafx.event.Event>,javafx.event.Event,java.lang.Object> subComponent,
java.lang.String parentId)
public void hideAllHideables(javafx.scene.input.MouseEvent event)
event - - the MouseEventpublic void handleToolBarButtons(org.jacpfx.api.component.Perspective<javafx.scene.Node,javafx.event.EventHandler<javafx.event.Event>,javafx.event.Event,java.lang.Object> perspective,
boolean visible)
public void handleToolBarButtons(org.jacpfx.api.component.SubComponent<javafx.event.EventHandler<javafx.event.Event>,javafx.event.Event,java.lang.Object> subComponent,
java.lang.String parentId,
boolean visible)
public void handleWorkbenchToolBarButtons(java.lang.String id,
boolean visible)
public int countVisibleButtons()
public java.lang.String getWorkbenchId()
public void setWorkbenchId(java.lang.String workbenchId)