public class PanelDropDownGenerator extends Object implements ViewGenerator<CPanelPopup.PanelPopup,DropDownViewItem>
CPanelPopup
as child of a dropdown-action.Constructor and Description |
---|
PanelDropDownGenerator() |
Modifier and Type | Method and Description |
---|---|
DropDownViewItem |
create(ActionViewConverter converter,
CPanelPopup.PanelPopup action,
Dockable dockable)
Converts
action into a view. |
public DropDownViewItem create(ActionViewConverter converter, CPanelPopup.PanelPopup action, Dockable dockable)
ViewGenerator
action
into a view. The result of this method
can be null
if no view should be shown for the given action.create
in interface ViewGenerator<CPanelPopup.PanelPopup,DropDownViewItem>
converter
- the converter that invoked this methodaction
- the action to convertdockable
- the Dockable for which the action will be usednull
if nothing should
be displayed