bibliothek.extension.gui.dock.theme.eclipse
Interface EclipseThemeConnector

All Known Implementing Classes:
DefaultEclipseThemeConnector

public interface EclipseThemeConnector

Author:
Janni Kovacs

Nested Class Summary
static class EclipseThemeConnector.TitleBar
          Describes which kind of title, and which kind of DockableDisplayer should be used for a Dockable or a DockStation.
 
Method Summary
 EclipseThemeConnector.TitleBar getTitleBarKind(Dockable dockable)
          Tells which kind of title and DockableDisplayer should be shown for dockable assuming everything can be chosen freely.
 boolean isTabAction(Dockable dockable, DockAction action)
          Tells whether action should be displayed on the tab of dockable or on the right side.
 

Method Detail

getTitleBarKind

EclipseThemeConnector.TitleBar getTitleBarKind(Dockable dockable)
Tells which kind of title and DockableDisplayer should be shown for dockable assuming everything can be chosen freely.

Parameters:
dockable - the element that stands alone on a DockStation
Returns:
which kind of title and displayer should be used

isTabAction

boolean isTabAction(Dockable dockable,
                    DockAction action)
Tells whether action should be displayed on the tab of dockable or on the right side.

Parameters:
dockable - the owner of action
action - the action to display
Returns:
true if action should be child of the tab