Package docking
Class GlobalMenuAndToolBarManager
- java.lang.Object
-
- docking.GlobalMenuAndToolBarManager
-
- All Implemented Interfaces:
DockingWindowListener
public class GlobalMenuAndToolBarManager extends java.lang.Object implements DockingWindowListener
Class to manage all the global actions that show up on the main tool menubar or toolbar
-
-
Constructor Summary
Constructors Constructor Description GlobalMenuAndToolBarManager(DockingWindowManager windowManager, MenuHandler menuHandler, MenuGroupMap menuGroupMap)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addAction(DockingActionIf action)
void
contextChanged()
void
dispose()
void
dockingWindowAdded(WindowNode windowNode)
void
dockingWindowChanged(WindowNode windowNode)
void
dockingWindowFocusChanged(WindowNode windowNode)
void
dockingWindowRemoved(WindowNode windowNode)
DockingActionIf
getToolbarAction(java.lang.String actionName)
void
removeAction(DockingActionIf action)
void
update()
-
-
-
Constructor Detail
-
GlobalMenuAndToolBarManager
public GlobalMenuAndToolBarManager(DockingWindowManager windowManager, MenuHandler menuHandler, MenuGroupMap menuGroupMap)
-
-
Method Detail
-
addAction
public void addAction(DockingActionIf action)
-
removeAction
public void removeAction(DockingActionIf action)
-
update
public void update()
-
getToolbarAction
public DockingActionIf getToolbarAction(java.lang.String actionName)
-
dispose
public void dispose()
-
dockingWindowAdded
public void dockingWindowAdded(WindowNode windowNode)
- Specified by:
dockingWindowAdded
in interfaceDockingWindowListener
-
dockingWindowRemoved
public void dockingWindowRemoved(WindowNode windowNode)
- Specified by:
dockingWindowRemoved
in interfaceDockingWindowListener
-
dockingWindowChanged
public void dockingWindowChanged(WindowNode windowNode)
- Specified by:
dockingWindowChanged
in interfaceDockingWindowListener
-
dockingWindowFocusChanged
public void dockingWindowFocusChanged(WindowNode windowNode)
- Specified by:
dockingWindowFocusChanged
in interfaceDockingWindowListener
-
contextChanged
public void contextChanged()
-
-