public interface CloseActionFactory
CAction that is shown on a CDockable
which is CDockable.isCloseable(). The action should call CDockable.setVisible(boolean)
when invoked (to close the dockable).| Modifier and Type | Field and Description |
|---|---|
static CloseActionFactory |
DEFAULT
A default implementation of
CloseActionFactory, always returns a new
CCloseAction. |
| Modifier and Type | Method and Description |
|---|---|
CAction |
create(CControl control,
CDockable dockable)
Creates a new action.
|
static final CloseActionFactory DEFAULT
CloseActionFactory, always returns a new
CCloseAction.CAction create(CControl control, CDockable dockable)
control - the control in whose realm the action is useddockable - the item which is going to show the actionnull, but may be an action that is already used
at other placesCopyright © 2018. All rights reserved.