public final class ActivityEvent extends Object
IActivity. 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.
IActivityListener.activityChanged(ActivityEvent)| Constructor and Description |
|---|
ActivityEvent(IActivity activity,
boolean activityRequirementBindingsChanged,
boolean activityPatternBindingsChanged,
boolean definedChanged,
boolean descriptionChanged,
boolean enabledChanged,
boolean nameChanged)
Creates a new instance of this class.
|
ActivityEvent(IActivity activity,
boolean activityRequirementBindingsChanged,
boolean activityPatternBindingsChanged,
boolean definedChanged,
boolean descriptionChanged,
boolean enabledChanged,
boolean nameChanged,
boolean defaultEnabledChanged)
Creates a new instance of this class.
|
| Modifier and Type | Method and Description |
|---|---|
IActivity |
getActivity()
Returns the instance of the interface that changed.
|
boolean |
hasDefaultEnabledChanged()
Returns whether or not the default enabled property changed.
|
boolean |
hasDefinedChanged()
Returns whether or not the defined property changed.
|
boolean |
hasDescriptionChanged()
Returns whether or not the description property changed.
|
boolean |
hasEnabledChanged()
Returns whether or not the enabled property changed.
|
boolean |
hasNameChanged()
Returns whether or not the name property changed.
|
boolean |
haveActivityPatternBindingsChanged()
Returns whether or not the activityPatternBindings property changed.
|
boolean |
haveActivityRequirementBindingsChanged()
Returns whether or not the activityRequirementBindings property changed.
|
public ActivityEvent(IActivity activity, boolean activityRequirementBindingsChanged, boolean activityPatternBindingsChanged, boolean definedChanged, boolean descriptionChanged, boolean enabledChanged, boolean nameChanged)
activity - the instance of the interface that changed.activityRequirementBindingsChanged - true, iff the activityRequirementBindings
property changed.activityPatternBindingsChanged - true, iff the activityPatternBindings property
changed.definedChanged - true, iff the defined property changed.descriptionChanged - true, iff the description property changed.enabledChanged - true, iff the enabled property changed.nameChanged - true, iff the name property changed.public ActivityEvent(IActivity activity, boolean activityRequirementBindingsChanged, boolean activityPatternBindingsChanged, boolean definedChanged, boolean descriptionChanged, boolean enabledChanged, boolean nameChanged, boolean defaultEnabledChanged)
activity - the instance of the interface that changed.activityRequirementBindingsChanged - true, iff the activityRequirementBindings property changed.activityPatternBindingsChanged - true, iff the activityPatternBindings property changed.definedChanged - true, iff the defined property changed.descriptionChanged - true, iff the description property changed.enabledChanged - true, iff the enabled property changed.nameChanged - true, iff the name property changed.defaultEnabledChanged - true, iff the default enabled property changed.public IActivity getActivity()
null.public boolean hasDefinedChanged()
true, iff the defined property changed.public boolean hasEnabledChanged()
true, iff the enabled property changed.public boolean hasDefaultEnabledChanged()
true, iff the default enabled property changed.public boolean hasNameChanged()
true, iff the name property changed.public boolean hasDescriptionChanged()
true, iff the description property changed.public boolean haveActivityRequirementBindingsChanged()
true, iff the activityRequirementBindings property changed.public boolean haveActivityPatternBindingsChanged()
true, iff the activityPatternBindings property changed.Guidelines for using Eclipse APIs. Copyright (c) IBM Corp. and others 2000, 2006. All rights reserved.