public class BasicPanelPopupGenerator extends Object implements ViewGenerator<CPanelPopup.PanelPopup,BasicTitleViewItem<JComponent>>
CPanelPopup
.Constructor and Description |
---|
BasicPanelPopupGenerator() |
Modifier and Type | Method and Description |
---|---|
BasicTitleViewItem<JComponent> |
create(ActionViewConverter converter,
CPanelPopup.PanelPopup action,
Dockable dockable)
Converts
action into a view. |
public BasicTitleViewItem<JComponent> 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,BasicTitleViewItem<JComponent>>
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