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