public class CButtonContentFilter extends AbstractButtonContentFilter
ButtonContentFilter
searches for CDecorateableAction
s and decides
whether their text is shownALWAYS, NEVER
Constructor and Description |
---|
CButtonContentFilter() |
Modifier and Type | Method and Description |
---|---|
protected void |
installed(DockAction action)
Called the first time
action is installed. |
boolean |
showText(Dockable dockable,
DockAction action)
Tells whether the text of
action , that is associated with dockable , is to be shown. |
protected void |
uninstalled(DockAction action)
Called after
action was uninstalled the last time. |
addListener, fire, install, installed, removeListener, uninstall, uninstalled
public boolean showText(Dockable dockable, DockAction action)
ButtonContentFilter
action
, that is associated with dockable
, is to be shown.dockable
- the Dockable
with which action
is connectedaction
- the action whose text may be showntrue
if the text is to be shown, false
otherwiseprotected void installed(DockAction action)
AbstractButtonContentFilter
action
is installed.installed
in class AbstractButtonContentFilter
action
- the newly installed actionprotected void uninstalled(DockAction action)
AbstractButtonContentFilter
action
was uninstalled the last time.uninstalled
in class AbstractButtonContentFilter
action
- the action that has been uninstalled