com.centrasite.control.adapters.commands
Class ContextMenu
java.lang.Object
com.centrasite.control.adapters.commands.ContextMenu
public class ContextMenu
- extends java.lang.Object
Definition of Context menu handler for Registry items
Field Summary |
static java.lang.String |
rcs_id
|
Constructor Summary |
ContextMenu()
Constructor for MFFunctionsTreeMenu |
Method Summary |
void |
createMenu(com.softwareag.cis.plugin.command.context.CommandContext commandContext,
java.util.Collection cmds,
com.softwareag.cis.plugin.command.Command defaultCommand)
|
void |
createMenu(com.softwareag.cis.plugin.command.context.CommandContext commandContext,
com.centrasite.control.Item item)
|
void |
createMenu(com.softwareag.cis.plugin.command.context.CommandContext commandContext,
com.centrasite.control.Item item,
com.softwareag.cis.plugin.command.Command defaultCommand)
|
com.softwareag.cis.server.util.TREECollection |
getContextMenu()
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
rcs_id
public static final java.lang.String rcs_id
- See Also:
- Constant Field Values
ContextMenu
public ContextMenu()
- Constructor for MFFunctionsTreeMenu
getContextMenu
public com.softwareag.cis.server.util.TREECollection getContextMenu()
- Returns:
- Returns the contextMenu.
createMenu
public void createMenu(com.softwareag.cis.plugin.command.context.CommandContext commandContext,
com.centrasite.control.Item item)
- Parameters:
commandContext
- item
-
createMenu
public void createMenu(com.softwareag.cis.plugin.command.context.CommandContext commandContext,
com.centrasite.control.Item item,
com.softwareag.cis.plugin.command.Command defaultCommand)
- Parameters:
commandContext
- item
- defaultCommand
-
createMenu
public void createMenu(com.softwareag.cis.plugin.command.context.CommandContext commandContext,
java.util.Collection cmds,
com.softwareag.cis.plugin.command.Command defaultCommand)
- Parameters:
commandContext
- cmds
- the collection of commands to be shown in the menudefaultCommand
- the command to be shown in bold as the very first entry in the context menu,
may be null if none of the commands is a default command