ca.sqlpower.wabit.swingui
Interface ServerListMenuItemFactory


public interface ServerListMenuItemFactory

A factory interface used by the ServerListMenu.


Method Summary
 javax.swing.JMenuItem createMenuEntry(ca.sqlpower.enterprise.client.SPServerInfo si, java.awt.Component dialogOwner)
          Creates a JMenuItem or JMenu which is the entry corresponding to the given service info object.
 

Method Detail

createMenuEntry

javax.swing.JMenuItem createMenuEntry(ca.sqlpower.enterprise.client.SPServerInfo si,
                                      java.awt.Component dialogOwner)
Creates a JMenuItem or JMenu which is the entry corresponding to the given service info object.

Parameters:
si - The server this menu or menu item is for
dialogOwner - The component that should own any dialogs generated when the menu item's action is invoked.
Returns:
A new menu or menu item


Copyright © 2009. All Rights Reserved.