Package org.eclipse.ui.activities
Class IdentifierEvent
java.lang.Object
org.eclipse.ui.activities.IdentifierEvent
An instance of this class describes changes to an instance of
IIdentifier
. This class does not give details as to the
specifics of a change, only that the given property on the source object has
changed.
This class is not intended to be extended by clients.
- Since:
- 3.0
- See Also:
-
Constructor Summary
ConstructorDescriptionIdentifierEvent
(IIdentifier identifier, boolean activityIdsChanged, boolean enabledChanged) Creates a new instance of this class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the instance of the interface that changed.boolean
Returns whether or not the activityIds property changed.boolean
Returns whether or not the enabled property changed.
-
Constructor Details
-
IdentifierEvent
Creates a new instance of this class.- Parameters:
identifier
- the instance of the interface that changed.activityIdsChanged
-true
, iff the activityIds property changed.enabledChanged
-true
, iff the enabled property changed.
-
-
Method Details
-
getIdentifier
Returns the instance of the interface that changed.- Returns:
- the instance of the interface that changed. Guaranteed not to be
null
.
-
hasActivityIdsChanged
public boolean hasActivityIdsChanged()Returns whether or not the activityIds property changed.- Returns:
true
, iff the activityIds property changed.
-
hasEnabledChanged
public boolean hasEnabledChanged()Returns whether or not the enabled property changed.- Returns:
true
, iff the enabled property changed.
-