bibliothek.extension.gui.dock.theme.eclipse
Class DefaultEclipseThemeConnector

java.lang.Object
  extended by bibliothek.extension.gui.dock.theme.eclipse.DefaultEclipseThemeConnector
All Implemented Interfaces:
EclipseThemeConnector

public class DefaultEclipseThemeConnector
extends Object
implements EclipseThemeConnector


Nested Class Summary
 
Nested classes/interfaces inherited from interface bibliothek.extension.gui.dock.theme.eclipse.EclipseThemeConnector
EclipseThemeConnector.TitleBar
 
Constructor Summary
DefaultEclipseThemeConnector()
           
 
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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultEclipseThemeConnector

public DefaultEclipseThemeConnector()
Method Detail

getTitleBarKind

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

Specified by:
getTitleBarKind in interface EclipseThemeConnector
Parameters:
dockable - the element that stands alone on a DockStation
Returns:
which kind of title and displayer should be used

isTabAction

public boolean isTabAction(Dockable dockable,
                           DockAction action)
Description copied from interface: EclipseThemeConnector
Tells whether action should be displayed on the tab of dockable or on the right side.

Specified by:
isTabAction in interface EclipseThemeConnector
Parameters:
dockable - the owner of action
action - the action to display
Returns:
true if action should be child of the tab