bibliothek.gui.dock.common.intern.action.panel
Class PanelDropDownGenerator
java.lang.Object
bibliothek.gui.dock.common.intern.action.panel.PanelDropDownGenerator
- All Implemented Interfaces:
- ViewGenerator<CPanelPopup.PanelPopup,DropDownViewItem>
public class PanelDropDownGenerator
- extends Object
- implements ViewGenerator<CPanelPopup.PanelPopup,DropDownViewItem>
A generator for handling CPanelPopup
as child of a drowdown-action.
- Author:
- Benjamin Sigg
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PanelDropDownGenerator
public PanelDropDownGenerator()
create
public DropDownViewItem create(ActionViewConverter converter,
CPanelPopup.PanelPopup action,
Dockable dockable)
- Description copied from interface:
ViewGenerator
- Converts
action
into a view. The result of this method
can be null
if no view should be shown for the given action.
- Specified by:
create
in interface ViewGenerator<CPanelPopup.PanelPopup,DropDownViewItem>
- Parameters:
converter
- the converter that invoked this methodaction
- the action to convertdockable
- the Dockable for which the action will be used
- Returns:
- the view of the action or
null
if nothing should
be displayed