Class BindingTableManager
java.lang.Object
org.eclipse.e4.ui.bindings.internal.BindingTableManager
manage tables of bindings that can be used to look up commands from keys.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidaddTable(BindingTable table) createContextSet(Collection<Context> contexts) getBestSequenceFor(ContextSet contextSet, ParameterizedCommand parameterizedCommand) getBindingsFor(ContextSet contextSet, ParameterizedCommand cmd) getConflictsFor(ContextSet contextSet, TriggerSequence triggerSequence) getPartialMatches(ContextSet contextSet, TriggerSequence sequence) getPerfectMatch(ContextSet contextSet, TriggerSequence triggerSequence) getSequencesFor(ContextSet contextSet, ParameterizedCommand parameterizedCommand) booleanisPartialMatch(ContextSet contextSet, TriggerSequence sequence) voidremoveTable(BindingTable table) voidsetActiveSchemes(String[] activeSchemeIds)
-
Constructor Details
-
BindingTableManager
public BindingTableManager()
-
-
Method Details
-
addTable
-
removeTable
-
getTable
-
getActiveBindings
-
createContextSet
-
getConflictsFor
-
getAllConflicts
-
getPerfectMatch
-
getBestSequenceFor
-
getSequencesFor
public Collection<Binding> getSequencesFor(ContextSet contextSet, ParameterizedCommand parameterizedCommand) -
getBindingsFor
-
isPartialMatch
-
getPartialMatches
-
setActiveSchemes
-
activitiesChanged
public void activitiesChanged()
-