|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.softwareag.cis.plugin.command.AbstractCommand
com.centrasite.control.AbstractCommandExt
public abstract class AbstractCommandExt
An abstract class describing a command which may be rendered in a menu or tool bar
Field Summary |
---|
Fields inherited from class com.softwareag.cis.plugin.command.AbstractCommand |
---|
rcs_id |
Fields inherited from interface com.softwareag.cis.plugin.command.Command |
---|
CATEGORY_APPLICATION_HIGH_PRIO, CATEGORY_APPLICATION_LOW_PRIO, CATEGORY_COPY, CATEGORY_DELETE, CATEGORY_DOCUMENT, CATEGORY_EDIT, CATEGORY_EXECUTE, CATEGORY_FAVORITES, CATEGORY_IMPORT_EXPORT, CATEGORY_LCM, CATEGORY_LINK, CATEGORY_MIN, CATEGORY_MISC, CATEGORY_NEW, CATEGORY_OBJECT, CATEGORY_OPEN, CATEGORY_PREFERENCES, CATEGORY_SAVE, CATEGORY_SEARCH, CATEGORY_SHOW, CATEGORY_UPDATE, CATEGORY_UPDATE_EXT, CATEGORY_VIEW, COMMAND_ACTIVATE_DEACTIVATE, COMMAND_ADD_CATEGORY, COMMAND_ADD_COPY, COMMAND_ADD_DOCUMENT, COMMAND_ADD_FOLDER, COMMAND_ADD_TO_FAVORITES, COMMAND_ADD_TO_LIST, COMMAND_ADD_TYPE, COMMAND_ADD_VERSION, COMMAND_ATTACH_WS_POLICY, COMMAND_ATTACH_WSDL, COMMAND_CHANGE_LIFEC_STATE, COMMAND_CHANGE_PROVIDING_ORG, COMMAND_CHECK_CONN, COMMAND_COMPARE, COMMAND_COPY_SHORTCUT, COMMAND_DELETE, COMMAND_DOCUMENTATION, COMMAND_DOWNLOAD, COMMAND_DOWNLOAD_BPEL, COMMAND_DOWNLOAD_WSDL, COMMAND_DOWNLOAD_XMLSCHEMA, COMMAND_EDIT_DETAILS, COMMAND_EXPORT, COMMAND_EXPORT_CONTENTS, COMMAND_EXPORT_FAVORITE, COMMAND_GENERATE_REPORT, COMMAND_IMPACT_ANALYSIS, COMMAND_IMPORT_ASSET, COMMAND_LC_CREATE_NEW_VERS, COMMAND_NOTIFY_ME, COMMAND_PERMISSIONS, COMMAND_REGISTER_AS_CONSUMER, COMMAND_REGISTER_CONS, COMMAND_REMOVE_FROM_FAVORITES, COMMAND_RENAME, COMMAND_RENAME_LIST, COMMAND_SHOW_DETAILS, COMMAND_VIRTUALIZE |
Constructor Summary | |
---|---|
AbstractCommandExt()
|
Method Summary | |
---|---|
abstract void |
execute(ActionContext actionContext)
Execute command for given ActionContext |
void |
execute(com.softwareag.cis.plugin.command.context.CommandContext context)
Execute command within given context |
void |
executeWrapped(ActionContext actionContext)
Execute command for given ActionContext |
abstract 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 |
getId()
|
abstract java.lang.String |
getImageURL()
Obtain the image url for this command |
java.util.Locale |
getLocale()
Obtain locale for this command |
abstract java.lang.String |
getName()
Obtain the name for this command |
java.util.List |
getSubCommands()
If this method returns a non-empty collection, this command will be rendered with respective commands in a sub-menu. |
boolean |
isEnabled(ActionContext actionContext)
Is this command enabled? |
boolean |
isEnabled(com.softwareag.cis.plugin.command.context.CommandContext context)
Is this command enabled? |
boolean |
isImplemented()
This method is provided for commands which are not yet implemented but are to be shown (for example in the context menu). |
boolean |
isSameGroup(AbstractCommandExt other)
Check whether this command belongs to same group as other |
boolean |
isToBeVisualized(com.softwareag.cis.plugin.command.context.CommandContext commandContext)
Deprecated. use AbstractCommand.isVisible() |
void |
setLocale(java.util.Locale locale)
Set locale for this command |
Methods inherited from class com.softwareag.cis.plugin.command.AbstractCommand |
---|
execute, executeWrapped, getComparator, getSelectable, isEnabled, isSameGroup, isVisible, setEnabled, setSelectable, setVisible, toString |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public AbstractCommandExt()
Method Detail |
---|
public abstract java.lang.String getName()
getName
in interface com.softwareag.cis.plugin.command.Command
getName
in class com.softwareag.cis.plugin.command.AbstractCommand
public abstract java.lang.String getImageURL()
getImageURL
in interface com.softwareag.cis.plugin.command.Command
getImageURL
in class com.softwareag.cis.plugin.command.AbstractCommand
public abstract int getCategory()
getCategory
in interface com.softwareag.cis.plugin.command.Command
getCategory
in class com.softwareag.cis.plugin.command.AbstractCommand
public abstract void execute(ActionContext actionContext)
actionContext
- the ActionContextpublic java.lang.String getId()
getId
in interface com.softwareag.cis.plugin.interfaces.Component
getId
in class com.softwareag.cis.plugin.command.AbstractCommand
public boolean isSameGroup(AbstractCommandExt other)
public java.util.List getSubCommands()
getSubCommands
in interface com.softwareag.cis.plugin.command.Command
getSubCommands
in class com.softwareag.cis.plugin.command.AbstractCommand
public void setLocale(java.util.Locale locale)
setLocale
in interface com.softwareag.cis.plugin.command.Command
setLocale
in class com.softwareag.cis.plugin.command.AbstractCommand
public java.util.Locale getLocale()
getLocale
in interface com.softwareag.cis.plugin.command.Command
getLocale
in class com.softwareag.cis.plugin.command.AbstractCommand
public boolean isEnabled(com.softwareag.cis.plugin.command.context.CommandContext context)
isEnabled
in interface com.softwareag.cis.plugin.command.Command
isEnabled
in class com.softwareag.cis.plugin.command.AbstractCommand
public boolean isEnabled(ActionContext actionContext)
public boolean isToBeVisualized(com.softwareag.cis.plugin.command.context.CommandContext commandContext)
AbstractCommand.isVisible()
isToBeVisualized
in interface com.softwareag.cis.plugin.command.Command
isToBeVisualized
in class com.softwareag.cis.plugin.command.AbstractCommand
commandContext
- context used for command invocation
public boolean isImplemented()
public final void execute(com.softwareag.cis.plugin.command.context.CommandContext context)
execute
in interface com.softwareag.cis.plugin.command.Command
execute
in class com.softwareag.cis.plugin.command.AbstractCommand
public final void executeWrapped(ActionContext actionContext)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |