Package | Description |
---|---|
org.eclipse.core.commands |
Application programming interfaces for commands and handlers.
|
org.eclipse.ui.commands | |
org.eclipse.ui.handlers |
Provides support for integrating handlers into the Eclipse workbench.
|
Modifier and Type | Method and Description |
---|---|
Command[] |
CommandManager.getAllCommands()
Returns all of the commands known by this manager -- defined and
undefined.
|
Command |
ExecutionEvent.getCommand()
Returns the command being executed.
|
Command |
ParameterizedCommand.getCommand()
Returns the base command.
|
Command |
CommandEvent.getCommand()
Returns the instance of the interface that changed.
|
Command |
CommandManager.getCommand(String commandId)
Gets the command with the given identifier.
|
Command[] |
CommandManager.getDefinedCommands()
Returns the commands that are defined.
|
Modifier and Type | Method and Description |
---|---|
static Collection |
ParameterizedCommand.generateCombinations(Command command)
Generates all the possible combinations of command parameterizations for
the given command.
|
String |
CommandManager.getHelpContextId(Command command)
Gets the help context identifier for a particular command.
|
Constructor and Description |
---|
CommandEvent(Command command,
boolean categoryChanged,
boolean definedChanged,
boolean descriptionChanged,
boolean handledChanged,
boolean nameChanged,
boolean parametersChanged)
Creates a new instance of this class.
|
CommandEvent(Command command,
boolean categoryChanged,
boolean definedChanged,
boolean descriptionChanged,
boolean handledChanged,
boolean nameChanged,
boolean parametersChanged,
boolean returnTypeChanged)
Creates a new instance of this class.
|
CommandEvent(Command command,
boolean categoryChanged,
boolean definedChanged,
boolean descriptionChanged,
boolean handledChanged,
boolean nameChanged,
boolean parametersChanged,
boolean returnTypeChanged,
boolean helpContextIdChanged)
Creates a new instance of this class.
|
ExecutionEvent(Command command,
Map parameters,
Object trigger,
Object applicationContext)
Constructs a new instance of
ExecutionEvent . |
ParameterizedCommand(Command command,
Parameterization[] parameterizations)
Constructs a new instance of
ParameterizedCommand with
specific values for zero or more of its parameters. |
Modifier and Type | Method and Description |
---|---|
Command |
ICommandService.getCommand(String commandId)
Retrieves the command with the given identifier.
|
Command[] |
ICommandService.getDefinedCommands()
Returns the collection of all of the defined commands in the workbench.
|
Modifier and Type | Method and Description |
---|---|
String |
ICommandService.getHelpContextId(Command command)
Gets the help context identifier for a particular command.
|
Modifier and Type | Method and Description |
---|---|
ExecutionEvent |
IHandlerService.createExecutionEvent(Command command,
Event event)
Creates an execution event based on an SWT event.
|
Guidelines for using Eclipse APIs. Copyright (c) IBM Corp. and others 2000, 2006. All rights reserved.