protected class AbstractLocationMode.DockableHandle extends Object
| Constructor and Description |
|---|
DockableHandle(Dockable dockable)
Creates a new handle.
|
| Modifier and Type | Method and Description |
|---|---|
void |
destroy()
Called when this handle is no longer of any use
|
DockActionSource |
getActions(Mode<Location> mode)
Called by
AbstractLocationMode.getActionsFor(Dockable, Mode)
to the actions related to this dockable. |
Dockable |
getDockable()
Gets the element of this handle.
|
public DockableHandle(Dockable dockable)
dockable - the new element, not nullpublic Dockable getDockable()
nullpublic void destroy()
public DockActionSource getActions(Mode<Location> mode)
AbstractLocationMode.getActionsFor(Dockable, Mode)
to the actions related to this dockable. The default implementation
is to return a source returned by the current LocationModeActionProvider.mode - the current mode of this elementnullCopyright © 2018. All rights reserved.