|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectbibliothek.extension.gui.dock.theme.eclipse.DefaultEclipseThemeConnector
bibliothek.gui.dock.common.theme.eclipse.CommonEclipseThemeConnector
public class CommonEclipseThemeConnector
This EclipseThemeConnector pays attention to features only
present in CDockables.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface bibliothek.extension.gui.dock.theme.eclipse.EclipseThemeConnector |
|---|
EclipseThemeConnector.TitleBar |
| Constructor Summary | |
|---|---|
CommonEclipseThemeConnector(CControl control)
Creates a new connector. |
|
| Method Summary | |
|---|---|
void |
addEclipseThemeConnectorListener(EclipseThemeConnectorListener listener)
Adds listener to this connector. |
protected EclipseTabDockActionLocation |
getLocation(CAction action,
EclipseTabStateInfo tab)
Gets the location of action depending on the state of tab. |
protected EclipseTabDockActionLocation |
getLocation(DockAction action,
EclipseTabStateInfo tab)
Gets the location of action. |
EclipseThemeConnector.TitleBar |
getTitleBarKind(DockStation parent,
Dockable dockable)
Tells which kind of title and DockableDisplayer should be
shown for dockable assuming everything can be chosen
freely. |
void |
removeEclipseThemeConnectorListener(EclipseThemeConnectorListener listener)
Removes listener from this connector. |
| Methods inherited from class bibliothek.extension.gui.dock.theme.eclipse.DefaultEclipseThemeConnector |
|---|
getLocation, hasListeners, listeners, shouldShowOnSide, shouldShowOnTab |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CommonEclipseThemeConnector(CControl control)
control - the control in whose realm this connector works, not null| Method Detail |
|---|
public void addEclipseThemeConnectorListener(EclipseThemeConnectorListener listener)
EclipseThemeConnectorlistener to this connector.
addEclipseThemeConnectorListener in interface EclipseThemeConnectoraddEclipseThemeConnectorListener in class DefaultEclipseThemeConnectorlistener - the listener, not nullpublic void removeEclipseThemeConnectorListener(EclipseThemeConnectorListener listener)
EclipseThemeConnectorlistener from this connector.
removeEclipseThemeConnectorListener in interface EclipseThemeConnectorremoveEclipseThemeConnectorListener in class DefaultEclipseThemeConnectorlistener - the listener to remove
protected EclipseTabDockActionLocation getLocation(DockAction action,
EclipseTabStateInfo tab)
DefaultEclipseThemeConnectoraction.
getLocation in class DefaultEclipseThemeConnectoraction - the action whose location is searchedtab - the state of a tab
action, not null
protected EclipseTabDockActionLocation getLocation(CAction action,
EclipseTabStateInfo tab)
action depending on the state of tab.
action - the action whose location is searchedtab - the state of a tab
null to select the default location
public EclipseThemeConnector.TitleBar getTitleBarKind(DockStation parent,
Dockable dockable)
EclipseThemeConnectorDockableDisplayer should be
shown for dockable assuming everything can be chosen
freely.
getTitleBarKind in interface EclipseThemeConnectorgetTitleBarKind in class DefaultEclipseThemeConnectorparent - the future or current parent of dockable that will
show the DockableDisplayer. May be null.dockable - the element that stands alone on a DockStation
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||