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 Details

  • Method Details

    • create

      CAction create(CControl control, CDockable dockable)
      Creates a new action.
      Parameters:
      control - the control in whose realm the action is used
      dockable - 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