Class BindingServiceImpl
java.lang.Object
org.eclipse.e4.ui.bindings.internal.BindingServiceImpl
- All Implemented Interfaces:
EBindingService
-
Field Summary
Fields inherited from interface org.eclipse.e4.ui.bindings.EBindingService
ACTIVE_SCHEME_TAG, DEFAULT_SCHEME_ID, DELETED_BINDING_TAG, DIALOG_CONTEXT_ID, LOCALE_ATTR_TAG, MODEL_TO_BINDING_KEY, PLATFORM_ATTR_TAG, SCHEME_ID_ATTR_TAG, TYPE_ATTR_TAG
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
activateBinding
(Binding binding) createBinding
(TriggerSequence sequence, ParameterizedCommand command, String contextId, Map<String, String> attributes) createSequence
(String sequence) void
deactivateBinding
(Binding binding) getBestSequenceFor
(ParameterizedCommand command) getBindingsFor
(ParameterizedCommand command) getConflictsFor
(TriggerSequence sequence) getPartialMatches
(TriggerSequence sequence) getPerfectMatch
(TriggerSequence trigger) getSequencesFor
(ParameterizedCommand command) boolean
isPartialMatch
(TriggerSequence keySequence) boolean
isPerfectMatch
(TriggerSequence sequence)
-
Constructor Details
-
BindingServiceImpl
public BindingServiceImpl()
-
-
Method Details
-
createBinding
public Binding createBinding(TriggerSequence sequence, ParameterizedCommand command, String contextId, Map<String, String> attributes) - Specified by:
createBinding
in interfaceEBindingService
-
activateBinding
- Specified by:
activateBinding
in interfaceEBindingService
-
deactivateBinding
- Specified by:
deactivateBinding
in interfaceEBindingService
-
createSequence
- Specified by:
createSequence
in interfaceEBindingService
-
getConflictsFor
- Specified by:
getConflictsFor
in interfaceEBindingService
-
getAllConflicts
- Specified by:
getAllConflicts
in interfaceEBindingService
-
getPerfectMatch
- Specified by:
getPerfectMatch
in interfaceEBindingService
-
isPartialMatch
- Specified by:
isPartialMatch
in interfaceEBindingService
-
getBestSequenceFor
- Specified by:
getBestSequenceFor
in interfaceEBindingService
-
getSequencesFor
- Specified by:
getSequencesFor
in interfaceEBindingService
-
getBindingsFor
- Specified by:
getBindingsFor
in interfaceEBindingService
-
isPerfectMatch
- Specified by:
isPerfectMatch
in interfaceEBindingService
-
getPartialMatches
- Specified by:
getPartialMatches
in interfaceEBindingService
-
getContext
- Returns:
- the context for this service.
-
getActiveBindings
- Specified by:
getActiveBindings
in interfaceEBindingService
-