|
||||||||||
| 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 DockActions 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. |
void |
removeEclipseThemeConnectorListener(EclipseThemeConnectorListener listener)
Removes listener from this connector. |
boolean |
shouldShowOnSide(DockAction action,
EclipseTabStateInfo tab)
Tells whether action should be shown on the right side of the
tab of dockable.Note that #shouldShowOnSide(DockAction, Dockable) and shouldShowOnTab(DockAction, EclipseTabStateInfo)
are independent of each other. |
boolean |
shouldShowOnTab(DockAction action,
EclipseTabStateInfo tab)
Tells whether action should be shown on the tab of dockable.Note that #shouldShowOnSide(DockAction, Dockable) and shouldShowOnTab(DockAction, EclipseTabStateInfo)
are independent of each other. |
| Method Detail |
|---|
void addEclipseThemeConnectorListener(EclipseThemeConnectorListener listener)
listener to this connector.
listener - the listener, not nullvoid removeEclipseThemeConnectorListener(EclipseThemeConnectorListener listener)
listener from this connector.
listener - the listener to remove
EclipseThemeConnector.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 shouldShowOnSide(DockAction action,
EclipseTabStateInfo tab)
action should be shown on the right side of the
tab of dockable.#shouldShowOnSide(DockAction, Dockable) and shouldShowOnTab(DockAction, EclipseTabStateInfo)
are independent of each other.
action - the action to showtab - information about the tab that shows the Dockable
action should be shown on the right side
boolean shouldShowOnTab(DockAction action,
EclipseTabStateInfo tab)
action should be shown on the tab of dockable.#shouldShowOnSide(DockAction, Dockable) and shouldShowOnTab(DockAction, EclipseTabStateInfo)
are independent of each other.
action - the action to showtab - information about the tab that shows the Dockable
action should be shown on the tab
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||