public class EclipseTabInfo extends DockActionCombinedInfoComponent
DockAction
s of the currently selected
Dockable
of its parent TabPane
. The global EclipseThemeConnector
is used to determine which actions to show, only non-tab actions are shown.Constructor and Description |
---|
EclipseTabInfo(EclipseTabPane pane)
Creates a new component.
|
Modifier and Type | Method and Description |
---|---|
protected DockActionSource |
createActionSource(Dockable dockable)
Creates a new
DockActionSource for dockable . |
void |
refreshActions()
Refreshes the list of actions that are shown on this panel.
|
protected void |
updateContent()
Using the current
DockController and Dockable , this
method updates the DockActionSource which selects the
actions of this info. |
destroy, getComponent, getSelection, getSizes, getZOrder, isPaneVisible, setBounds, setController, setLayout, setOrientation, setPaneVisible, setSelection, setZOrder, toLayoutBlock
getBounds, getMaximumSize, getMinimumSize, getOrientation, getOverlap, getPreferredSize, getTabParent, setBounds
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getBounds, getMaximumSize, getMinimumSize, getOverlap, getPreferredSize, getTabParent, setBounds
public EclipseTabInfo(EclipseTabPane pane)
pane
- the owner of this infoprotected DockActionSource createActionSource(Dockable dockable)
DockActionCombinedInfoComponent
DockActionSource
for dockable
.createActionSource
in class DockActionCombinedInfoComponent
dockable
- the element for which the actions are requiredprotected void updateContent()
DockActionCombinedInfoComponent
DockController
and Dockable
, this
method updates the DockActionSource
which selects the
actions of this info.updateContent
in class DockActionCombinedInfoComponent
public void refreshActions()