bibliothek.extension.gui.dock.theme.eclipse.stack
Class EclipseTabInfo

java.lang.Object
  extended by bibliothek.gui.dock.station.stack.tab.AbstractTabPaneComponent
      extended by bibliothek.gui.dock.station.stack.DockActionCombinedInfoComponent
          extended by bibliothek.extension.gui.dock.theme.eclipse.stack.EclipseTabInfo
All Implemented Interfaces:
CombinedInfoComponent, LayoutBlock, LonelyTabPaneComponent, TabPaneComponent

public class EclipseTabInfo
extends DockActionCombinedInfoComponent

This component shows a subset of DockActions 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.

Author:
Benjamin Sigg

Constructor Summary
EclipseTabInfo(EclipseTabPane pane)
          Creates a new component.
 
Method Summary
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.
 
Methods inherited from class bibliothek.gui.dock.station.stack.DockActionCombinedInfoComponent
destroy, getComponent, getSelection, getSizes, getZOrder, isPaneVisible, setBounds, setController, setLayout, setOrientation, setPaneVisible, setSelection, setZOrder, toLayoutBlock
 
Methods inherited from class bibliothek.gui.dock.station.stack.tab.AbstractTabPaneComponent
getBounds, getMaximumSize, getMinimumSize, getOrientation, getOverlap, getPreferredSize, getTabParent, setBounds
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface bibliothek.gui.dock.station.stack.tab.TabPaneComponent
getBounds, getMaximumSize, getMinimumSize, getOverlap, getPreferredSize, getTabParent, setBounds
 

Constructor Detail

EclipseTabInfo

public EclipseTabInfo(EclipseTabPane pane)
Creates a new component.

Parameters:
pane - the owner of this info
Method Detail

createActionSource

protected DockActionSource createActionSource(Dockable dockable)
Description copied from class: DockActionCombinedInfoComponent
Creates a new DockActionSource for dockable.

Specified by:
createActionSource in class DockActionCombinedInfoComponent
Parameters:
dockable - the element for which the actions are required
Returns:
the new source of actions

updateContent

protected void updateContent()
Description copied from class: DockActionCombinedInfoComponent
Using the current DockController and Dockable, this method updates the DockActionSource which selects the actions of this info.

Overrides:
updateContent in class DockActionCombinedInfoComponent

refreshActions

public void refreshActions()
Refreshes the list of actions that are shown on this panel.