Package | Description |
---|---|
org.eclipse.core.commands |
Application programming interfaces for commands and handlers.
|
org.eclipse.e4.ui.model.application.ui.menu |
Application programming interfaces describing the Eclipse 4 menu and toolbar model elements.
|
org.eclipse.jface.bindings |
Provides support for bindings between commands and various user input events
(e.g., keyboard shortcuts).
|
org.eclipse.jface.bindings.keys |
Provides support for bindings between commands and keys.
|
org.eclipse.ui.commands |
Provides support for retrieving information on Commands from the workbench.
|
org.eclipse.ui.handlers |
Provides support for integrating handlers into the Eclipse workbench.
|
org.eclipse.ui.keys |
Provides support for integrating keys into the Eclipse workbench.
|
org.eclipse.ui.menus |
Provides the public API and default implementation for contributing menu
and toolbars to the menu service.
|
Modifier and Type | Method and Description |
---|---|
ParameterizedCommand |
CommandManager.deserialize(String serializedParameterizedCommand)
Returns a
ParameterizedCommand with a command and
parameterizations as specified in the provided
serializedParameterizedCommand string. |
static ParameterizedCommand |
ParameterizedCommand.generateCommand(Command command,
Map parameters)
Take a command and a map of parameter IDs to values, and generate the
appropriate parameterized command.
|
Modifier and Type | Method and Description |
---|---|
ParameterizedCommand |
MHandledItem.getWbCommand()
Returns the value of the 'Wb Command' attribute
|
Modifier and Type | Method and Description |
---|---|
void |
MHandledItem.setWbCommand(ParameterizedCommand value)
Sets the value of the '
Wb Command ' attribute |
Modifier and Type | Method and Description |
---|---|
ParameterizedCommand |
Binding.getParameterizedCommand()
Returns the parameterized command to which this binding applies.
|
Modifier and Type | Method and Description |
---|---|
TriggerSequence[] |
BindingManager.getActiveBindingsDisregardingContextFor(ParameterizedCommand parameterizedCommand)
Returns the active bindings for a particular command identifier, but
discounting the current contexts.
|
TriggerSequence[] |
BindingManager.getActiveBindingsFor(ParameterizedCommand parameterizedCommand)
Returns the active bindings for a particular command identifier.
|
TriggerSequence |
BindingManager.getBestActiveBindingFor(ParameterizedCommand command) |
boolean |
BindingManagerEvent.isActiveBindingsChangedFor(ParameterizedCommand parameterizedCommand)
Computes whether the active bindings have changed for a given command
identifier.
|
Constructor and Description |
---|
Binding(ParameterizedCommand command,
String schemeId,
String contextId,
String locale,
String platform,
String windowManager,
int type)
Constructs a new instance of
Binding . |
Constructor and Description |
---|
KeyBinding(KeySequence keySequence,
ParameterizedCommand command,
String schemeId,
String contextId,
String locale,
String platform,
String windowManager,
int type)
Constructs a new instance of
KeyBinding . |
Modifier and Type | Method and Description |
---|---|
ParameterizedCommand |
ICommandService.deserialize(String serializedParameterizedCommand)
Returns a
ParameterizedCommand with a command and
parameterizations as specified in the provided
serializedParameterizedCommand string. |
Modifier and Type | Method and Description |
---|---|
IElementReference |
ICommandService.registerElementForCommand(ParameterizedCommand command,
UIElement element)
Register that this element accepts callbacks for this parameterized
command.
|
Modifier and Type | Method and Description |
---|---|
ExecutionEvent |
IHandlerService.createExecutionEvent(ParameterizedCommand command,
Event event)
Creates a parameterized execution event based on an SWT event and a
parameterized command.
|
Object |
IHandlerService.executeCommand(ParameterizedCommand command,
Event event)
Executes the given parameterized command.
|
Object |
IHandlerService.executeCommandInContext(ParameterizedCommand command,
Event event,
IEvaluationContext context)
Executes the given parameterized command in the provided context.
|
Modifier and Type | Method and Description |
---|---|
TriggerSequence[] |
IBindingService.getActiveBindingsFor(ParameterizedCommand parameterizedCommand)
Gets the active bindings for a given parameterized command.
|
TriggerSequence |
IBindingService.getBestActiveBindingFor(ParameterizedCommand command)
Gets the best active binding for a command.
|
Modifier and Type | Method and Description |
---|---|
ParameterizedCommand |
CommandContributionItem.getCommand()
Returns the ParameterizedCommand for this contribution.
|
Copyright (c) 2000, 2014 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.