Interface CloseActionFactory
public interface CloseActionFactory
This factory is responsible for creating a
CAction that is shown on a CDockable
which is CDockable.isCloseable(). The action should call CDockable.setVisible(boolean)
when invoked (to close the dockable).- Author:
- Benjamin Sigg
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final CloseActionFactoryA default implementation ofCloseActionFactory, always returns a newCCloseAction. -
Method Summary
-
Field Details
-
DEFAULT
A default implementation ofCloseActionFactory, always returns a newCCloseAction.
-
-
Method Details
-
create
Creates a new action.- Parameters:
control- the control in whose realm the action is useddockable- the item which is going to show the action- Returns:
- the action, must not be
null, but may be an action that is already used at other places
-