|
||||||||||
| 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. |
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. |
boolean |
isTabAction(Dockable dockable,
DockAction action)
Tells whether action should be displayed on the tab
of dockable or on the right side. |
void |
removeEclipseThemeConnectorListener(EclipseThemeConnectorListener listener)
Removes listener from this connector. |
| Methods inherited from class bibliothek.extension.gui.dock.theme.eclipse.DefaultEclipseThemeConnector |
|---|
hasListeners, listeners |
| 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
public boolean isTabAction(Dockable dockable,
DockAction action)
EclipseThemeConnectoraction should be displayed on the tab
of dockable or on the right side.
isTabAction in interface EclipseThemeConnectorisTabAction in class DefaultEclipseThemeConnectordockable - the owner of actionaction - the action to display
true if action should be child of
the tab
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 | |||||||||