public class ToolbarMode<T extends StationModeArea> extends DefaultLocationMode<T>
LocationMode describing items that are part of a toolbar.AbstractLocationMode.DockableHandle| Modifier and Type | Field and Description |
|---|---|
static Path |
IDENTIFIER
the unique identifier of this mode
|
static ExtendedMode |
TOOLBAR
the mode described by
ToolbarMode |
| Constructor and Description |
|---|
ToolbarMode(DockController controller)
Creates the new mode.
|
| Modifier and Type | Method and Description |
|---|---|
void |
ensureNotHidden(Dockable dockable) |
ExtendedMode |
getExtendedMode() |
ModeSettingFactory<Location> |
getSettingFactory() |
Path |
getUniqueIdentifier() |
boolean |
isDefaultMode(Dockable dockable) |
void |
readSetting(ModeSetting<Location> setting) |
void |
writeSetting(ModeSetting<Location> setting) |
current, isCurrentMode, runApplyadd, addLocationModeListener, apply, aside, createHandle, get, get, get, get, getActionsFor, getController, getDefaultArea, getManager, getRepresentation, getRepresentationIds, isModeAvailable, isModeHidden, isRepresenting, iterator, listeners, remove, removeLocationModeListener, setActionProvider, setController, setDefaultArea, setManager, setShouldAutoFocus, shouldAutoFocusclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEach, spliteratorpublic static final Path IDENTIFIER
public static final ExtendedMode TOOLBAR
ToolbarModepublic ToolbarMode(DockController controller)
controller - the controller in whose realm this mode is usedpublic ExtendedMode getExtendedMode()
public void ensureNotHidden(Dockable dockable)
public Path getUniqueIdentifier()
public boolean isDefaultMode(Dockable dockable)
public void writeSetting(ModeSetting<Location> setting)
public void readSetting(ModeSetting<Location> setting)
public ModeSettingFactory<Location> getSettingFactory()
Copyright © 2018. All rights reserved.