|
Eclipse Platform Release 3.0 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
An instance of this interface is an activity as defined by the extension point org.eclipse.ui.activities.
An instance of this interface can be obtained from an instance of IActivityManager for any identifier, whether or not an activity with that identifier is defined in the extension registry.
The handle-based nature of this API allows it to work well with runtime plugin activation and deactivation, which can cause dynamic changes to the extension registry. A client may get an IActivity handle that is currently undefined (isDefined() equals false) and listen for it to become defined.
This interface is not intended to be extended or implemented by clients.
Method Summary | |
void | addActivityListener(IActivityListener activityListener)
Registers an instance of IActivityListener to listen for changes to properties of this instance. |
Set | getActivityPatternBindings()
Returns the set of activity pattern bindings for this instance. |
Set | getActivityRequirementBindings()
Returns the set of activity activity bindings for this instance. |
String | getDescription()
Returns the description of this instance suitable for display to the user. |
String | getId()
Returns the identifier of this instance. |
String | getName()
Returns the name of this instance suitable for display to the user. |
boolean | isDefined()
Returns whether or not this instance is defined. |
boolean | isEnabled()
Returns whether or not this instance is enabled. |
void | removeActivityListener(IActivityListener activityListener)
Removes an instance of IActivityListener listening for changes to properties of this instance. |
Methods inherited from interface java.lang.Comparable |
compareTo |
Method Detail |
public void addActivityListener(IActivityListener activityListener)
public Set getActivityRequirementBindings()
This method will return all activity activity bindings for this instance, whether or not this instance is defined.
Notification is sent to all registered listeners if this property changes.
public Set getActivityPatternBindings()
This method will return all activity pattern bindings for this instance, whether or not this instance is defined.
Notification is sent to all registered listeners if this property changes.
public String getId()
public String getName() throws NotDefinedException
Notification is sent to all registered listeners if this property changes.
public String getDescription() throws NotDefinedException
Notification is sent to all registered listeners if this property changes.
public boolean isDefined()
Notification is sent to all registered listeners if this property changes.
public boolean isEnabled()
Notification is sent to all registered listeners if this property changes.
public void removeActivityListener(IActivityListener activityListener)
|
Eclipse Platform Release 3.0 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Guidelines for using Eclipse APIs.
Copyright (c) IBM Corp. and others 2000, 2004. All rights reserved.