public class ContextMenu
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
rcs_id |
Constructor and Description |
---|
ContextMenu()
Constructor for MFFunctionsTreeMenu
|
Modifier and Type | Method and Description |
---|---|
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() |
public static final java.lang.String rcs_id
public com.softwareag.cis.server.util.TREECollection getContextMenu()
public void createMenu(com.softwareag.cis.plugin.command.context.CommandContext commandContext, com.centrasite.control.Item item)
commandContext
- item
- public void createMenu(com.softwareag.cis.plugin.command.context.CommandContext commandContext, com.centrasite.control.Item item, com.softwareag.cis.plugin.command.Command defaultCommand)
commandContext
- item
- defaultCommand
- public void createMenu(com.softwareag.cis.plugin.command.context.CommandContext commandContext, java.util.Collection cmds, com.softwareag.cis.plugin.command.Command defaultCommand)
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