bibliothek.extension.gui.dock.theme.eclipse
Class EclipseDockActionSource
java.lang.Object
bibliothek.gui.dock.action.AbstractDockActionSource
bibliothek.gui.dock.action.FilteredDockActionSource
bibliothek.extension.gui.dock.theme.eclipse.EclipseDockActionSource
- All Implemented Interfaces:
- DockActionSource, Iterable<DockAction>
public class EclipseDockActionSource
- extends FilteredDockActionSource
A list of DockActions
filtered by the
EclipseThemeConnector
, using EclipseThemeConnector#isTabAction(Dockable, DockAction)
.
- Author:
- Benjamin Sigg
Method Summary |
protected boolean |
include(DockAction action)
Tells whether action should be included in the list of
actions of this source, or not. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EclipseDockActionSource
public EclipseDockActionSource(EclipseTheme theme,
DockActionSource source,
EclipseTabStateInfo tab,
boolean showForTab)
- Creates a new source
- Parameters:
theme
- the theme for which this source is usedsource
- the source which is filteredtab
- the tab associated with the Dockable
showForTab
- whether this source is associated with the tab (or not)
include
protected boolean include(DockAction action)
- Description copied from class:
FilteredDockActionSource
- Tells whether
action
should be included in the list of
actions of this source, or not.
- Specified by:
include
in class FilteredDockActionSource
- Parameters:
action
- the action to test
- Returns:
true
if action
should be shown