IBM DB2 UDB
Plugin Interface
for Extending the Control Center

com.ibm.db2.tools.cc.navigator
Interface SubMenuParent


public interface SubMenuParent

The SubMenuParent interface is to be used by implementers of CCMenuAction to specify that the plugin menu item is the parent of a submenu.

To have a CCMenuAction contain sub-menus, it must implement this interface. Then create an implementation of CCMenuAction for each submenu item and return them in an array from the getSubMenuActions method.

Note: SubMenuParent objects do NOT receive calls to actionPerformed(ActionEvent) from the Control Center.

Note: Adding menu items to non-plugin submenus is not supported.

See Also:
CCMenuAction

Method Summary
 CCMenuAction[] getSubMenuActions()
          Specifies a list of actions to display on a sub-menu attached to this menu item.
 

Method Detail

getSubMenuActions

public CCMenuAction[] getSubMenuActions()
Specifies a list of actions to display on a sub-menu attached to this menu item.

Returns:
a array of sub-menu CCMenuActions

IBM DB2 UDB
Plugin Interface
for Extending the Control Center

(C)Copyright IBM Corp. 2002, 2004. All rights reserved.

Links on this page are made available for your convenience and may take you to non-IBM sites. IBM does not warrant any sample code provided on these sites.