* @author Benjamin Sigg
*/
public class BasicPanelPopupGenerator implements ViewGenerator<PanelPopup, BasicTitleViewItem<JComponent>>{
public BasicTitleViewItem<JComponent> create( ActionViewConverter converter, PanelPopup action, Dockable dockable ){
BasicPanelPopupHandler handler = new BasicPanelPopupHandler( action, dockable );
BasicMiniButton button = new BasicMiniButton( handler, handler );
handler.setModel( button.getModel() );
return handler;
}