|
Eclipse Platform Release 3.6 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.ui.activities.ActivityManagerEvent
public final class ActivityManagerEvent
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.
IActivityManagerListener.activityManagerChanged(ActivityManagerEvent)| Constructor Summary | |
|---|---|
ActivityManagerEvent(IActivityManager activityManager,
boolean definedActivityIdsChanged,
boolean definedCategoryIdsChanged,
boolean enabledActivityIdsChanged,
java.util.Set previouslyDefinedActivityIds,
java.util.Set previouslyDefinedCategoryIds,
java.util.Set previouslyEnabledActivityIds)
Creates a new instance of this class. |
|
| Method Summary | |
|---|---|
IActivityManager |
getActivityManager()
Returns the instance of the interface that changed. |
java.util.Set |
getPreviouslyDefinedActivityIds()
Returns the activity identifiers that were previously defined. |
java.util.Set |
getPreviouslyDefinedCategoryIds()
Returns the category identifiers that were previously defined. |
java.util.Set |
getPreviouslyEnabledActivityIds()
Returns the activity identifiers that were previously enabled. |
boolean |
haveDefinedActivityIdsChanged()
Returns whether or not the definedActivityIds property changed. |
boolean |
haveDefinedCategoryIdsChanged()
Returns whether or not the definedCategoryIds property changed. |
boolean |
haveEnabledActivityIdsChanged()
Returns whether or not the enabledActivityIds property changed. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ActivityManagerEvent(IActivityManager activityManager,
boolean definedActivityIdsChanged,
boolean definedCategoryIdsChanged,
boolean enabledActivityIdsChanged,
java.util.Set previouslyDefinedActivityIds,
java.util.Set previouslyDefinedCategoryIds,
java.util.Set previouslyEnabledActivityIds)
activityManager - the instance of the interface that changed.definedActivityIdsChanged - true, iff the definedActivityIds property
changed.definedCategoryIdsChanged - true, iff the definedCategoryIds property
changed.enabledActivityIdsChanged - true, iff the enabledActivityIds property
changed.previouslyDefinedActivityIds - the set of identifiers to previously defined activities. This
set may be empty. If this set is not empty, it must only
contain instances of String. This set must be
null if definedActivityIdsChanged is
false and must not be null if
definedActivityIdsChanged is true.previouslyDefinedCategoryIds - the set of identifiers to previously defined category. This
set may be empty. If this set is not empty, it must only
contain instances of String. This set must be
null if definedCategoryIdsChanged is
false and must not be null if
definedCategoryIdsChanged is true.previouslyEnabledActivityIds - the set of identifiers to previously enabled activities. This
set may be empty. If this set is not empty, it must only
contain instances of String. This set must be
null if enabledActivityIdsChanged is
false and must not be null if
enabledActivityIdsChanged is true.| Method Detail |
|---|
public IActivityManager getActivityManager()
null.public final java.util.Set getPreviouslyDefinedActivityIds()
null. This set will only
contain strings.public final java.util.Set getPreviouslyDefinedCategoryIds()
null. This set will only
contain strings.public final java.util.Set getPreviouslyEnabledActivityIds()
null. This set will only
contain strings.public boolean haveDefinedActivityIdsChanged()
true, iff the definedActivityIds property changed.public boolean haveDefinedCategoryIdsChanged()
true, iff the definedCategoryIds property changed.public boolean haveEnabledActivityIdsChanged()
true, iff the enabledActivityIds property changed.
|
Eclipse Platform Release 3.6 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Guidelines for using Eclipse APIs.
Copyright (c) Eclipse contributors and others 2000, 2010. All rights reserved.