Modifier and Type | Interface and Description |
---|---|
static interface |
Mode.Xml
Extension to provide exposure of XML configuration.
|
Modifier and Type | Method and Description |
---|---|
Mode |
Workspace.createMode(String name,
String displayName,
URL icon)
Deprecated.
Do no use. It is redundant. Currently it returns default predefined
Mode instance. |
Mode |
WindowManager.createModeFromXml(String xml)
Given some XML, attempts to create a Mode that can
subsequently be used to dock a TopComponent into.
|
Mode |
Workspace.findMode(String name)
Deprecated.
Use
WindowManager.findMode(String) instead. |
abstract Mode |
WindowManager.findMode(String name)
Finds mode of specified name.
|
Mode |
Workspace.findMode(TopComponent c)
Deprecated.
Use
WindowManager.findMode(TopComponent) instead. |
abstract Mode |
WindowManager.findMode(TopComponent tc)
Finds mode which contains specified
TopComponent . |
Mode |
ModeSelector.selectModeForOpen(TopComponent tc,
Mode preselectedMode)
Choose a suitable Mode to open the TopComponent in.
|
Modifier and Type | Method and Description |
---|---|
TopComponent[] |
WindowManager.getOpenedTopComponents(Mode mode)
Convenience method to retrieve the list of all opened TopComponents for
given mode.
|
boolean |
WindowManager.isEditorMode(Mode mode)
Check whether the given Mode holds editor windows.
|
boolean |
WindowManager.removeMode(Mode mode)
Before restoring a whole bunch of Modes (for example with XML that has been
previously saved somewhere and now loaded), it is useful to remove the
anonymous modes from the system.
|
Mode |
ModeSelector.selectModeForOpen(TopComponent tc,
Mode preselectedMode)
Choose a suitable Mode to open the TopComponent in.
|
static String |
ModeUtilities.toXml(Mode mode)
Expose the Mode's configuration as XML.
|