Package org.eclipse.jface.bindings
Class BindingManagerEvent
java.lang.Object
org.eclipse.core.commands.common.AbstractBitSetEvent
org.eclipse.jface.bindings.BindingManagerEvent
An instance of this class describes changes to an instance of
 
BindingManager.
 This class is not intended to be extended by clients.
- Since:
- 3.1
- See Also:
- 
Field SummaryFields inherited from class org.eclipse.core.commands.common.AbstractBitSetEventchangedValues
- 
Constructor SummaryConstructorsConstructorDescriptionBindingManagerEvent(BindingManager manager, boolean activeBindingsChanged, Map previousTriggersByParameterizedCommand, boolean activeSchemeChanged, Scheme scheme, boolean schemeDefined, boolean localeChanged, boolean platformChanged) Creates a new instance of this class.
- 
Method SummaryModifier and TypeMethodDescriptionfinal BindingManagerReturns the instance of the manager that changed.final SchemeReturns the scheme that changed.final booleanReturns whether the active bindings have changed.final booleanisActiveBindingsChangedFor(ParameterizedCommand parameterizedCommand) Computes whether the active bindings have changed for a given command identifier.final booleanReturns whether or not the active scheme changed.booleanReturns whether the locale has changedbooleanReturns whether the platform has changedfinal booleanReturns whether the list of defined scheme identifiers has changed.final booleanReturns whether or not the scheme became defined
- 
Constructor Details- 
BindingManagerEventpublic BindingManagerEvent(BindingManager manager, boolean activeBindingsChanged, Map previousTriggersByParameterizedCommand, boolean activeSchemeChanged, Scheme scheme, boolean schemeDefined, boolean localeChanged, boolean platformChanged) Creates a new instance of this class.- Parameters:
- manager- the instance of the binding manager that changed; must not be- null.
- activeBindingsChanged- Whether the active bindings have changed.
- previousTriggersByParameterizedCommand- The map of triggers (- TriggerSequence) by fully-parameterized command (- ParameterizedCommand) before the change occurred. This map may be- nullor empty.
- activeSchemeChanged- true, iff the active scheme changed.
- scheme- The scheme that became defined or undefined;- nullif no scheme changed state.
- schemeDefined-- trueif the given scheme became defined;- falseotherwise.
- localeChanged-- trueiff the active locale changed
- platformChanged-- trueiff the active platform changed
 
 
- 
- 
Method Details- 
getManagerReturns the instance of the manager that changed.- Returns:
- the instance of the manager that changed. Guaranteed not to be
         null.
 
- 
getSchemeReturns the scheme that changed.- Returns:
- The changed scheme
 
- 
isActiveBindingsChangedpublic final boolean isActiveBindingsChanged()Returns whether the active bindings have changed.- Returns:
- trueif the active bindings have changed;- falseotherwise.
 
- 
isActiveBindingsChangedForComputes whether the active bindings have changed for a given command identifier.- Parameters:
- parameterizedCommand- The fully-parameterized command whose bindings might have changed; must not be- null.
- Returns:
- trueif the active bindings have changed for the given command identifier;- falseotherwise.
 
- 
isActiveSchemeChangedpublic final boolean isActiveSchemeChanged()Returns whether or not the active scheme changed.- Returns:
- true, iff the active scheme property changed.
 
- 
isLocaleChangedpublic boolean isLocaleChanged()Returns whether the locale has changed- Returns:
- trueif the locale changed;- falseotherwise.
 
- 
isPlatformChangedpublic boolean isPlatformChanged()Returns whether the platform has changed- Returns:
- trueif the platform changed;- falseotherwise.
 
- 
isSchemeChangedpublic final boolean isSchemeChanged()Returns whether the list of defined scheme identifiers has changed.- Returns:
- trueif the list of scheme identifiers has changed;- falseotherwise.
 
- 
isSchemeDefinedpublic final boolean isSchemeDefined()Returns whether or not the scheme became defined- Returns:
- trueif the scheme became defined.
 
 
-