Package | Description |
---|---|
org.eclipse.core.commands |
Application programming interfaces for commands and handlers.
|
org.eclipse.ui.commands |
Provides support for retrieving information on Commands from the workbench.
|
Modifier and Type | Method and Description |
---|---|
ParameterType[] |
CommandManager.getDefinedParameterTypes()
Returns the command parameter types that are defined.
|
ParameterType |
ParameterTypeEvent.getParameterType()
Returns the instance of the parameter type that changed.
|
ParameterType |
ITypedParameter.getParameterType()
Returns the
ParameterType associated with a command parameter or
null if the parameter does not declare a type. |
ParameterType |
Command.getParameterType(String parameterId)
Returns the
ParameterType for the parameter with the provided id
or null if this command does not have a parameter type
with the id. |
ParameterType |
CommandManager.getParameterType(String parameterTypeId)
Gets the command
ParameterType with the given identifier. |
ParameterType |
Command.getReturnType()
Returns the
ParameterType for the return value of this command or
null if this command does not declare a return value
parameter type. |
Modifier and Type | Method and Description |
---|---|
void |
Command.define(String name,
String description,
Category category,
IParameter[] parameters,
ParameterType returnType)
Defines this command by giving it a name, and possibly a description as
well.
|
void |
Command.define(String name,
String description,
Category category,
IParameter[] parameters,
ParameterType returnType,
String helpContextId)
Defines this command by giving it a name, and possibly a description as
well.
|
Modifier and Type | Method and Description |
---|---|
ParameterType[] |
ICommandService.getDefinedParameterTypes()
Returns the collection of all of the defined command parameter types in
the workbench.
|
ParameterType |
ICommandService.getParameterType(String parameterTypeId)
Retrieves the command parameter type with the given identifier.
|
Copyright (c) 2000, 2014 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.