Package | Description |
---|---|
org.eclipse.jface.action |
Provides support for shared UI resources such as menus,
tool bars, and status lines.
|
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.keys |
Provides support for integrating keys into the Eclipse workbench.
|
Modifier and Type | Method and Description |
---|---|
TriggerSequence[] |
ExternalActionManager.CommandCallback.getActiveBindingsFor(String commandId)
Returns the active bindings for a particular command identifier.
|
TriggerSequence[] |
ExternalActionManager.IBindingManagerCallback.getActiveBindingsFor(String commandId)
Returns the active bindings for a particular command identifier.
|
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.getActiveBindingsFor(String commandId)
Returns the active bindings for a particular command identifier.
|
TriggerSequence |
BindingManager.getBestActiveBindingFor(ParameterizedCommand command) |
TriggerSequence |
BindingManager.getBestActiveBindingFor(String commandId)
Gets the best active binding for a command.
|
abstract TriggerSequence[] |
TriggerSequence.getPrefixes()
Returns a list of prefixes for the current sequence.
|
abstract TriggerSequence |
Binding.getTriggerSequence()
Returns the sequence of trigger for a given binding.
|
Modifier and Type | Method and Description |
---|---|
boolean |
TriggerSequence.endsWith(TriggerSequence triggerSequence,
boolean equals)
Returns whether or not this key sequence ends with the given key
sequence.
|
Collection |
BindingManager.getConflictsFor(TriggerSequence sequence)
Provides the current conflicts in the keybindings for the given
TriggerSequence as a
Collection of Binding |
Map |
BindingManager.getPartialMatches(TriggerSequence trigger)
Returns all of the possible bindings that start with the given trigger
(but are not equal to the given trigger).
|
Binding |
BindingManager.getPerfectMatch(TriggerSequence trigger)
Returns the command identifier for the active binding matching this
trigger, if any.
|
boolean |
BindingManager.isPartialMatch(TriggerSequence trigger)
Returns whether the given trigger sequence is a partial match for the
given sequence.
|
boolean |
BindingManager.isPerfectMatch(TriggerSequence trigger)
Returns whether the given trigger sequence is a perfect match for the
given sequence.
|
void |
BindingManager.removeBindings(TriggerSequence sequence,
String schemeId,
String contextId,
String locale,
String platform,
String windowManager,
int type)
Removes any binding that matches the given values -- regardless of
command identifier.
|
boolean |
TriggerSequence.startsWith(TriggerSequence triggerSequence,
boolean equals)
Returns whether or not this trigger sequence starts with the given
trigger sequence.
|
Modifier and Type | Class and Description |
---|---|
class |
KeySequence
A
KeySequence is defined as a list of zero or more
KeyStrokes , with the stipulation that all
KeyStroke objects must be complete, save for the last one,
whose completeness is optional. |
Modifier and Type | Method and Description |
---|---|
TriggerSequence[] |
KeySequence.getPrefixes() |
TriggerSequence |
KeyBinding.getTriggerSequence() |
Modifier and Type | Method and Description |
---|---|
TriggerSequence[] |
IBindingService.getActiveBindingsFor(ParameterizedCommand parameterizedCommand)
Gets the active bindings for a given parameterized command.
|
TriggerSequence[] |
IBindingService.getActiveBindingsFor(String commandId)
Gets the active bindings for a given command identifier.
|
TriggerSequence |
IBindingService.getBestActiveBindingFor(ParameterizedCommand command)
Gets the best active binding for a command.
|
TriggerSequence |
IBindingService.getBestActiveBindingFor(String commandId)
Gets the best active binding for a command.
|
TriggerSequence |
IBindingService.getBuffer()
Returns the current state of the key binding buffer.
|
Modifier and Type | Method and Description |
---|---|
Collection |
IBindingService.getConflictsFor(TriggerSequence sequence)
Provides the current conflicts in the keybindings for the given
TriggerSequence as a
Collection of Binding |
Map |
IBindingService.getPartialMatches(TriggerSequence trigger)
Returns all of the possible bindings that start with the given trigger
(but are not equal to the given trigger).
|
Binding |
IBindingService.getPerfectMatch(TriggerSequence trigger)
Returns the command identifier for the active binding matching this
trigger, if any.
|
boolean |
IBindingService.isPartialMatch(TriggerSequence trigger)
Returns whether the given trigger sequence is a partial match for the
given sequence.
|
boolean |
IBindingService.isPerfectMatch(TriggerSequence trigger)
Returns whether the given trigger sequence is a perfect match for the
given sequence.
|
Copyright (c) 2000, 2018 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.