| java.lang.Object org.eclipse.ui.activities.ActivityManagerEvent
ActivityManagerEvent | final public class ActivityManagerEvent (Code) | | An instance of this class describes changes to an instance of
IActivityManager . 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: IActivityManagerListener.activityManagerChanged(ActivityManagerEvent) |
Constructor Summary | |
public | ActivityManagerEvent(IActivityManager activityManager, boolean definedActivityIdsChanged, boolean definedCategoryIdsChanged, boolean enabledActivityIdsChanged, Set previouslyDefinedActivityIds, Set previouslyDefinedCategoryIds, Set previouslyEnabledActivityIds) Creates a new instance of this class.
Parameters: activityManager - the instance of the interface that changed. Parameters: definedActivityIdsChanged - true , iff the definedActivityIds propertychanged. Parameters: definedCategoryIdsChanged - true , iff the definedCategoryIds propertychanged. Parameters: enabledActivityIdsChanged - true , iff the enabledActivityIds propertychanged. Parameters: previouslyDefinedActivityIds - the set of identifiers to previously defined activities. |
ActivityManagerEvent | public ActivityManagerEvent(IActivityManager activityManager, boolean definedActivityIdsChanged, boolean definedCategoryIdsChanged, boolean enabledActivityIdsChanged, Set previouslyDefinedActivityIds, Set previouslyDefinedCategoryIds, Set previouslyEnabledActivityIds)(Code) | | Creates a new instance of this class.
Parameters: activityManager - the instance of the interface that changed. Parameters: definedActivityIdsChanged - true , iff the definedActivityIds propertychanged. Parameters: definedCategoryIdsChanged - true , iff the definedCategoryIds propertychanged. Parameters: enabledActivityIdsChanged - true , iff the enabledActivityIds propertychanged. Parameters: previouslyDefinedActivityIds - the set of identifiers to previously defined activities. Thisset may be empty. If this set is not empty, it must onlycontain instances of String . This set must benull if definedActivityIdsChanged isfalse and must not be null ifdefinedActivityIdsChanged is true . Parameters: previouslyDefinedCategoryIds - the set of identifiers to previously defined category. Thisset may be empty. If this set is not empty, it must onlycontain instances of String . This set must benull if definedCategoryIdsChanged isfalse and must not be null ifdefinedCategoryIdsChanged is true . Parameters: previouslyEnabledActivityIds - the set of identifiers to previously enabled activities. Thisset may be empty. If this set is not empty, it must onlycontain instances of String . This set must benull if enabledActivityIdsChanged isfalse and must not be null ifenabledActivityIdsChanged is true . |
getActivityManager | public IActivityManager getActivityManager()(Code) | | Returns the instance of the interface that changed.
the instance of the interface that changed. Guaranteed not to benull . |
getPreviouslyDefinedActivityIds | final public Set getPreviouslyDefinedActivityIds()(Code) | | Returns the activity identifiers that were previously defined.
The set of defined activity identifiers before the changed; maybe empty, but never null . This set will onlycontain strings. |
getPreviouslyDefinedCategoryIds | final public Set getPreviouslyDefinedCategoryIds()(Code) | | Returns the category identifiers that were previously defined.
The set of defined category identifiers before the changed; maybe empty, but never null . This set will onlycontain strings. |
getPreviouslyEnabledActivityIds | final public Set getPreviouslyEnabledActivityIds()(Code) | | Returns the activity identifiers that were previously enabled.
The set of enabled activity identifiers before the changed; maybe empty, but never null . This set will onlycontain strings. |
haveDefinedActivityIdsChanged | public boolean haveDefinedActivityIdsChanged()(Code) | | Returns whether or not the definedActivityIds property changed.
true , iff the definedActivityIds property changed. |
haveDefinedCategoryIdsChanged | public boolean haveDefinedCategoryIdsChanged()(Code) | | Returns whether or not the definedCategoryIds property changed.
true , iff the definedCategoryIds property changed. |
haveEnabledActivityIdsChanged | public boolean haveEnabledActivityIdsChanged()(Code) | | Returns whether or not the enabledActivityIds property changed.
true , iff the enabledActivityIds property changed. |
|
|