|
Eclipse Platform Release 3.6 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IActivityManager
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.
| Method Summary | |
|---|---|
void |
addActivityManagerListener(IActivityManagerListener activityManagerListener)
Registers an instance of IActivityManagerListener to
listen for changes to properties of this instance. |
IActivity |
getActivity(java.lang.String activityId)
Returns an instance of IActivity given an identifier. |
ICategory |
getCategory(java.lang.String categoryId)
Returns an instance of ICategory given an identifier. |
java.util.Set |
getDefinedActivityIds()
Returns the set of identifiers to defined activities. |
java.util.Set |
getDefinedCategoryIds()
Returns the set of identifiers to defined categories. |
java.util.Set |
getEnabledActivityIds()
Returns the set of identifiers to enabled activities. |
IIdentifier |
getIdentifier(java.lang.String identifierId)
Returns an instance of IIdentifier given an identifier. |
void |
removeActivityManagerListener(IActivityManagerListener activityManagerListener)
Removes an instance of IActivityManagerListener
listening for changes to properties of this instance. |
| Method Detail |
|---|
void addActivityManagerListener(IActivityManagerListener activityManagerListener)
IActivityManagerListener to
listen for changes to properties of this instance.
activityManagerListener - the instance to register. Must not be null.
If an attempt is made to register an instance which is
already registered with this instance, no operation is
performed.IActivity getActivity(java.lang.String activityId)
IActivity given an identifier.
activityId - an identifier. Must not be null
IActivity.ICategory getCategory(java.lang.String categoryId)
ICategory given an identifier.
categoryId - an identifier. Must not be null
ICategory.java.util.Set getDefinedActivityIds()
Notification is sent to all registered listeners if this property changes.
null. If this
set is not empty, it is guaranteed to only contain instances of
String.java.util.Set getDefinedCategoryIds()
Notification is sent to all registered listeners if this property changes.
null. If this
set is not empty, it is guaranteed to only contain instances of
String.java.util.Set getEnabledActivityIds()
Notification is sent to all registered listeners if this property changes.
null. If this
set is not empty, it is guaranteed to only contain instances of
String.IIdentifier getIdentifier(java.lang.String identifierId)
IIdentifier given an identifier.
identifierId - an identifier. Must not be null
IIdentifier.void removeActivityManagerListener(IActivityManagerListener activityManagerListener)
IActivityManagerListener
listening for changes to properties of this instance.
activityManagerListener - the instance to remove. Must not be null.
If an attempt is made to remove an instance which is not
already registered with this instance, no operation is
performed.
|
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.