Class CommonEclipseThemeConnector
java.lang.Object
bibliothek.extension.gui.dock.theme.eclipse.DefaultEclipseThemeConnector
bibliothek.gui.dock.common.theme.eclipse.CommonEclipseThemeConnector
- All Implemented Interfaces:
EclipseThemeConnector
This
EclipseThemeConnector pays attention to features only
present in CDockables.- Author:
- Benjamin Sigg
-
Nested Class Summary
Nested classes/interfaces inherited from interface bibliothek.extension.gui.dock.theme.eclipse.EclipseThemeConnector
EclipseThemeConnector.TitleBar -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidprotected EclipseTabDockActionLocationgetLocation(DockAction action, EclipseTabStateInfo tab) protected EclipseTabDockActionLocationgetLocation(CAction action, EclipseTabStateInfo tab) Gets the location ofactiondepending on the state oftab.getTitleBarKind(DockStation parent, Dockable dockable) voidMethods inherited from class bibliothek.extension.gui.dock.theme.eclipse.DefaultEclipseThemeConnector
getLocation, hasListeners, listeners, shouldShowOnSide, shouldShowOnTab
-
Constructor Details
-
CommonEclipseThemeConnector
Creates a new connector.- Parameters:
control- the control in whose realm this connector works, notnull
-
-
Method Details
-
addEclipseThemeConnectorListener
- Specified by:
addEclipseThemeConnectorListenerin interfaceEclipseThemeConnector- Overrides:
addEclipseThemeConnectorListenerin classDefaultEclipseThemeConnector
-
removeEclipseThemeConnectorListener
- Specified by:
removeEclipseThemeConnectorListenerin interfaceEclipseThemeConnector- Overrides:
removeEclipseThemeConnectorListenerin classDefaultEclipseThemeConnector
-
getLocation
- Overrides:
getLocationin classDefaultEclipseThemeConnector
-
getLocation
Gets the location ofactiondepending on the state oftab.- Parameters:
action- the action whose location is searchedtab- the state of a tab- Returns:
- the location or
nullto select the default location
-
getTitleBarKind
- Specified by:
getTitleBarKindin interfaceEclipseThemeConnector- Overrides:
getTitleBarKindin classDefaultEclipseThemeConnector
-