com.vlsolutions.swing.docking.ws
public class WorkspaceMenuItem extends JMenuItem
Since: 2.1.3
Constructor Summary | |
---|---|
WorkspaceMenuItem() Default constructor | |
WorkspaceMenuItem(String text) constructor with a menu text | |
WorkspaceMenuItem(String text, Icon icon) constructor with a menu text and an icon |
Method Summary | |
---|---|
void | applyWorkspace() Invoked when the button is pressed : applies the workspace to the associated context |
DockingContext | getDockingContext() Returns the docking context used by this menu item |
Workspace | getWorkspace() Returns the workspace used by this menu item |
void | setDockingContext(DockingContext ctx) Updates the docking context used by this menu item |
void | setWorkspace(Workspace workspace) updates the workspace to be used by this menu item |