Package org.eclipse.ui.activities
Class IdentifierEvent
- java.lang.Object
-
- org.eclipse.ui.activities.IdentifierEvent
-
public final class IdentifierEvent extends Object
An instance of this class describes changes to an instance ofIIdentifier
. 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:
IIdentifierListener.identifierChanged(IdentifierEvent)
-
-
Constructor Summary
Constructors Constructor Description IdentifierEvent(IIdentifier identifier, boolean activityIdsChanged, boolean enabledChanged)
Creates a new instance of this class.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IIdentifier
getIdentifier()
Returns the instance of the interface that changed.boolean
hasActivityIdsChanged()
Returns whether or not the activityIds property changed.boolean
hasEnabledChanged()
Returns whether or not the enabled property changed.
-
-
-
Constructor Detail
-
IdentifierEvent
public IdentifierEvent(IIdentifier identifier, boolean activityIdsChanged, boolean enabledChanged)
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 Detail
-
getIdentifier
public IIdentifier 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.
-
-