Package org.eclipse.ui.commands
Class HandlerEvent
java.lang.Object
org.eclipse.ui.commands.HandlerEvent
Deprecated.
Please use the "org.eclipse.core.commands" plug-in instead. This
API is scheduled for deletion, see Bug 431177 for details
An instance of this class describes changes to an instance of
IHandler
.
This class is not intended to be extended by clients.
- Since:
- 3.0
- See Also:
- Restriction:
- This class is scheduled for deletion.
-
Constructor Summary
ConstructorDescriptionHandlerEvent
(IHandler handler, boolean attributeValuesByNameChanged, Map previousAttributeValuesByName) Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionDeprecated.Deprecated.boolean
Deprecated.
-
Constructor Details
-
HandlerEvent
@Deprecated public HandlerEvent(IHandler handler, boolean attributeValuesByNameChanged, Map previousAttributeValuesByName) Deprecated.Creates a new instance of this class.- Parameters:
handler
- the instance of the interface that changed.attributeValuesByNameChanged
- true, iff the attributeValuesByName property changed.previousAttributeValuesByName
- the map of previous attribute values by name. This map may be empty. If this map is not empty, it's collection of keys must only contain instances ofString
. This map must benull
if attributeValuesByNameChanged isfalse
and must not be null if attributeValuesByNameChanged istrue
.
-
-
Method Details
-
getHandler
Deprecated.Returns the instance of the interface that changed.- Returns:
- the instance of the interface that changed. Guaranteed not to be
null
.
-
getPreviousAttributeValuesByName
Deprecated.Returns the map of previous attribute values by name.- Returns:
- the map of previous attribute values by name. This map may be empty.
If this map is not empty, it's collection of keys is guaranteed to
only contain instances of
String
. This map is guaranteed to benull
if haveAttributeValuesByNameChanged() isfalse
and is guaranteed to not be null if haveAttributeValuesByNameChanged() istrue
.
-
haveAttributeValuesByNameChanged
Deprecated.Returns whether or not the attributeValuesByName property changed.- Returns:
- true, iff the attributeValuesByName property changed.
-