| org.eclipse.ui.activities.IActivityManager
All known Subclasses: org.eclipse.ui.internal.activities.AbstractActivityManager,
IActivityManager | public interface IActivityManager (Code) | | An instance of this interface allows clients to manage activities, as
defined by the extension point org.eclipse.ui.activities .
This interface is not intended to be extended or implemented by clients.
since: 3.0 |
Method Summary | |
void | addActivityManagerListener(IActivityManagerListener activityManagerListener) Registers an instance of IActivityManagerListener to
listen for changes to properties of this instance.
Parameters: activityManagerListener - the instance to register. | IActivity | getActivity(String activityId) Returns an instance of IActivity given an identifier.
Parameters: activityId - an identifier. | ICategory | getCategory(String categoryId) Returns an instance of ICategory given an identifier.
Parameters: categoryId - an identifier. | Set | getDefinedActivityIds() Returns the set of identifiers to defined activities.
Notification is sent to all registered listeners if this property
changes.
the set of identifiers to defined activities. | Set | getDefinedCategoryIds() Returns the set of identifiers to defined categories.
Notification is sent to all registered listeners if this property
changes.
the set of identifiers to defined categories. | Set | getEnabledActivityIds() Returns the set of identifiers to enabled activities.
Notification is sent to all registered listeners if this property
changes.
the set of identifiers to enabled activities. | IIdentifier | getIdentifier(String identifierId) Returns an instance of IIdentifier given an identifier.
Parameters: identifierId - an identifier. | void | removeActivityManagerListener(IActivityManagerListener activityManagerListener) Removes an instance of IActivityManagerListener
listening for changes to properties of this instance.
Parameters: activityManagerListener - the instance to remove. |
addActivityManagerListener | void addActivityManagerListener(IActivityManagerListener activityManagerListener)(Code) | | Registers an instance of IActivityManagerListener to
listen for changes to properties of this instance.
Parameters: activityManagerListener - the instance to register. Must not be null .If an attempt is made to register an instance which isalready registered with this instance, no operation isperformed. |
getActivity | IActivity getActivity(String activityId)(Code) | | Returns an instance of IActivity given an identifier.
Parameters: activityId - an identifier. Must not be null an instance of IActivity . |
getCategory | ICategory getCategory(String categoryId)(Code) | | Returns an instance of ICategory given an identifier.
Parameters: categoryId - an identifier. Must not be null an instance of ICategory . |
getDefinedActivityIds | Set getDefinedActivityIds()(Code) | | Returns the set of identifiers to defined activities.
Notification is sent to all registered listeners if this property
changes.
the set of identifiers to defined activities. This set may beempty, but is guaranteed not to be null . If thisset is not empty, it is guaranteed to only contain instances ofString . |
getDefinedCategoryIds | Set getDefinedCategoryIds()(Code) | | Returns the set of identifiers to defined categories.
Notification is sent to all registered listeners if this property
changes.
the set of identifiers to defined categories. This set may beempty, but is guaranteed not to be null . If thisset is not empty, it is guaranteed to only contain instances ofString . |
getEnabledActivityIds | Set getEnabledActivityIds()(Code) | | Returns the set of identifiers to enabled activities.
Notification is sent to all registered listeners if this property
changes.
the set of identifiers to enabled activities. This set may beempty, but is guaranteed not to be null . If thisset is not empty, it is guaranteed to only contain instances ofString . |
getIdentifier | IIdentifier getIdentifier(String identifierId)(Code) | | Returns an instance of IIdentifier given an identifier.
Parameters: identifierId - an identifier. Must not be null an instance of IIdentifier . |
removeActivityManagerListener | void removeActivityManagerListener(IActivityManagerListener activityManagerListener)(Code) | | Removes an instance of IActivityManagerListener
listening for changes to properties of this instance.
Parameters: activityManagerListener - the instance to remove. Must not be null .If an attempt is made to remove an instance which is notalready registered with this instance, no operation isperformed. |
|
|