@EclipseTabDockAction public class DockFrontend.Hider extends SimpleButtonAction implements ActionGuard
ActionGuard at the same time. The
action is always to invoke hide of
the enclosing a DockFrontend. The guard reacts on all
Dockables which are known to the enclosing frontend.BUTTON_CONTENT_FILTER| Constructor and Description |
|---|
Hider()
Creates a new action/guard.
|
| Modifier and Type | Method and Description |
|---|---|
void |
action(Dockable dockable)
Invoked when this action is triggered by the user.
|
DockActionSource |
getSource(Dockable dockable)
Gets a list of actions for the
Dockable |
void |
iconChanged(String key,
Icon icon) |
boolean |
react(Dockable dockable)
|
addActionListener, createView, getCommand, removeActionListener, setCommand, triggerisDropDownSelectable, isDropDownSelectable, isDropDownTriggerable, isDropDownTriggerableNotSelected, isDropDownTriggerableSelected, setDropDownSelectable, setDropDownTriggerableNotSelected, setDropDownTriggerableSelectedbound, getAccelerator, getDisabledIcon, getDockableRepresentation, getDockableRepresentation, getIcon, getIcon, getIcon, getIconContexts, getText, getText, getTooltip, getTooltipText, getTooltipText, isAcceleratorGlobal, isEnabled, isEnabled, setAccelerator, setAcceleratorIsGlobal, setDisabledIcon, setDockableRepresentation, setEnabled, setIcon, setIcon, setText, setTooltip, trigger, unboundaddDockActionListener, bind, fireActionEnabledChanged, fireActionIconChanged, fireActionRepresentativeChanged, fireActionTextChanged, fireActionTooltipTextChanged, getBoundDockables, isBound, removeDockActionListener, unbindclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitisDropDownSelectable, isDropDownTriggerableaddDockActionListener, getDockableRepresentation, getIcon, getIconContexts, getText, getTooltipText, isEnabled, removeDockActionListenerbind, unbindgetAccelerator, getDisabledIcon, getDockableRepresentation, getIcon, getIcon, getText, getTooltip, getTooltipText, isAcceleratorGlobal, isEnabled, setAccelerator, setAcceleratorIsGlobal, setDisabledIcon, setDockableRepresentation, setEnabled, setIcon, setIcon, setText, setTooltippublic DockActionSource getSource(Dockable dockable)
ActionGuardDockablegetSource in interface ActionGuarddockable - The Dockable for which ActionGuard.react(Dockable)
is truedockable.public boolean react(Dockable dockable)
ActionGuardDockable and tells whether this
ActionGuard is interested in it and wants to add some additional
actions to it, or if this guard
is not made for the dockable.react in interface ActionGuarddockable - The Dockable to testtrue if the ActionGuard.getSource(Dockable)-method
should be invoked, false otherwisepublic void action(Dockable dockable)
ButtonDockActionaction in interface ButtonDockActionaction in class SimpleButtonActiondockable - The Dockable which is associated with
this DockAction, and which shall be used for the current action.Copyright © 2017 Docking Frames. All rights reserved.