public interface Command
extends com.softwareag.cis.plugin.interfaces.Component
Modifier and Type | Method and Description |
---|---|
void |
execute(CommandContext commandContext)
Execute command for given CommandContext
|
void |
executeWrapped(CommandContext commandContext)
Execute command for given ActionContext.
|
int |
getCategory()
The value returned by this command may be used for
command ordering and grouping (for example in a context menu)
|
java.lang.String |
getImageURL()
Get URL of icon to be used for rendering of command.
|
java.util.Locale |
getLocale()
Obtain Locale for this command
|
java.lang.String |
getName()
Get localized name of command - may be used e.g.
|
java.util.List |
getSubCommands() |
boolean |
isEnabled(CommandContext context)
Is this command enabled?
|
boolean |
isSameGroup(Command other)
Check whether this command belongs to same group as other
|
boolean |
isToBeVisualized(CommandContext context)
Test whether this command is to be visualized in the current context
|
void |
setLocale(java.util.Locale lc)
Set Locale for this command
|
static final java.lang.String rcs_id
static final int CATEGORY_MIN
static final int CATEGORY_OPEN
static final int CATEGORY_EDIT
static final int CATEGORY_SAVE
static final int CATEGORY_NEW
static final int CATEGORY_DELETE
static final int CATEGORY_UPDATE
static final int CATEGORY_UPDATE_EXT
static final int CATEGORY_COPY
static final int CATEGORY_LCM
static final int CATEGORY_OBJECT
static final int CATEGORY_DOCUMENT
static final int CATEGORY_FAVORITES
static final int CATEGORY_IMPORT_EXPORT
static final int CATEGORY_APPLICATION_HIGH_PRIO
static final int CATEGORY_EXECUTE
static final int CATEGORY_LINK
static final int CATEGORY_PREFERENCES
static final int CATEGORY_SHOW
static final int CATEGORY_VIEW
static final int CATEGORY_SEARCH
static final int CATEGORY_APPLICATION_LOW_PRIO
static final int CATEGORY_MISC
static final int COMMAND_SHOW_DETAILS
static final int COMMAND_EDIT_DETAILS
static final int COMMAND_RENAME
static final int COMMAND_PERMISSIONS
static final int COMMAND_DELETE
static final int COMMAND_CHANGE_LIFEC_STATE
static final int COMMAND_LC_CREATE_NEW_VERS
static final int COMMAND_ADD_TYPE
static final int COMMAND_ADD_CATEGORY
static final int COMMAND_REGISTER_CONS
static final int COMMAND_IMPORT_ASSET
static final int COMMAND_EXPORT
static final int COMMAND_IMPACT_ANALYSIS
static final int COMMAND_GENERATE_REPORT
static final int COMMAND_ATTACH_WSDL
static final int COMMAND_COMPARE
static final int COMMAND_ADD_VERSION
static final int COMMAND_ADD_COPY
static final int COMMAND_CHECK_CONN
static final int COMMAND_ACTIVATE_DEACTIVATE
static final int COMMAND_NOTIFY_ME
static final int COMMAND_EXPORT_CONTENTS
static final int COMMAND_COPY_SHORTCUT
static final int COMMAND_ADD_TO_LIST
static final int COMMAND_DOWNLOAD
static final int COMMAND_DOCUMENTATION
static final int COMMAND_ADD_FOLDER
static final int COMMAND_ADD_DOCUMENT
static final int COMMAND_ADD_TO_FAVORITES
static final int COMMAND_REMOVE_FROM_FAVORITES
static final int COMMAND_RENAME_LIST
static final int COMMAND_EXPORT_FAVORITE
static final int COMMAND_VIRTUALIZE
static final int COMMAND_REGISTER_AS_CONSUMER
static final int COMMAND_ATTACH_WS_POLICY
static final int COMMAND_CHANGE_PROVIDING_ORG
static final int COMMAND_DOWNLOAD_WSDL
static final int COMMAND_DOWNLOAD_BPEL
static final int COMMAND_DOWNLOAD_XMLSCHEMA
java.lang.String getName()
java.lang.String getImageURL()
int getCategory()
boolean isSameGroup(Command other)
other
- java.util.List getSubCommands()
void setLocale(java.util.Locale lc)
lc
- java.util.Locale getLocale()
boolean isEnabled(CommandContext context)
context
- boolean isToBeVisualized(CommandContext context)
context
- void execute(CommandContext commandContext)
commandContext
- the CommandContextvoid executeWrapped(CommandContext commandContext)
commandContext
- the CommandContext