|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object bibliothek.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 CDockable
s.
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)
EclipseThemeConnector
listener
to this connector.
addEclipseThemeConnectorListener
in interface EclipseThemeConnector
addEclipseThemeConnectorListener
in class DefaultEclipseThemeConnector
listener
- the listener, not null
public void removeEclipseThemeConnectorListener(EclipseThemeConnectorListener listener)
EclipseThemeConnector
listener
from this connector.
removeEclipseThemeConnectorListener
in interface EclipseThemeConnector
removeEclipseThemeConnectorListener
in class DefaultEclipseThemeConnector
listener
- the listener to removeprotected EclipseTabDockActionLocation getLocation(DockAction action, EclipseTabStateInfo tab)
DefaultEclipseThemeConnector
action
.
getLocation
in class DefaultEclipseThemeConnector
action
- 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 locationpublic EclipseThemeConnector.TitleBar getTitleBarKind(DockStation parent, Dockable dockable)
EclipseThemeConnector
DockableDisplayer
should be
shown for dockable
assuming everything can be chosen
freely.
getTitleBarKind
in interface EclipseThemeConnector
getTitleBarKind
in class DefaultEclipseThemeConnector
parent
- 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 |