|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface CommandDefinition
Description of a command defined in a MAD configuration.
WidgetConfiguration,
QueryDefinition,
UICommandDefinition| Nested Class Summary | |
|---|---|
static class |
CommandDefinition.COMMAND_CATEGORY
Categories of CommandDefinitions that can be used in a MAD configuration. |
| Method Summary | |
|---|---|
CommandDefinition.COMMAND_CATEGORY |
getCommandCategory()
Returns the command's category. |
java.lang.String |
getCommandId()
Returns the ID of the command. |
java.lang.String |
getCommandLabel()
Returns the command's label. |
com.sysord.eclipse.tools.swt.ImageResource |
getIconDescriptor()
Returns the image resource of the icon used by the command,
or null if the command doesn't use any icon. |
java.util.List<UICommandDefinition> |
getOnErrorPostActionCommands()
Returns the list of UI commands to execute after this
command if it fails. |
java.util.List<UICommandDefinition> |
getOnSuccessPostActionCommands()
Returns the list of UI commands to execute after this
command if it succeeds. |
QueryDefinition<?> |
getQueryAction()
Returns the query launched by the command. |
boolean |
useIcon()
Indicates if the command uses an icon image. |
| Method Detail |
|---|
java.lang.String getCommandId()
CommandDefinition.COMMAND_CATEGORY getCommandCategory()
category.
category.java.lang.String getCommandLabel()
QueryDefinition<?> getQueryAction()
query launched by the command.
query launched by the command.boolean useIcon()
true if the command uses an icon image;false otherwise.getIconDescriptor()com.sysord.eclipse.tools.swt.ImageResource getIconDescriptor()
resource of the icon used by the command,
or null if the command doesn't use any icon.
resource or null.useIcon()java.util.List<UICommandDefinition> getOnSuccessPostActionCommands()
commands to execute after this
command if it succeeds.
commands to execute.java.util.List<UICommandDefinition> getOnErrorPostActionCommands()
commands to execute after this
command if it fails.
commands to execute.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||