|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface EclipseThemeConnector
The EclipseThemeConnector
tells the EclipseTheme
where to paint tabs and borders. It
also tells which DockAction
s to show on tabs and which actions to hide.
Nested Class Summary | |
---|---|
static class |
EclipseThemeConnector.TitleBar
Describes which kind of title, and which kind of DockableDisplayer
should be used for a Dockable or a DockStation . |
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. |
Method Detail |
---|
void addEclipseThemeConnectorListener(EclipseThemeConnectorListener listener)
listener
to this connector.
listener
- the listener, not null
void removeEclipseThemeConnectorListener(EclipseThemeConnectorListener listener)
listener
from this connector.
listener
- the listener to removeEclipseThemeConnector.TitleBar getTitleBarKind(DockStation parent, Dockable dockable)
DockableDisplayer
should be
shown for dockable
assuming everything can be chosen
freely.
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
boolean isTabAction(Dockable dockable, DockAction action)
action
should be displayed on the tab
of dockable
or on the right side.
dockable
- the owner of action
action
- the action to display
true
if action
should be child of
the tab
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |