|
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 can be obtained from an instance of IActivityManagerfor any identifier.
An IIdentifier is an object that offers an easy means to determine if a given string matches the pattern bindings of any IActivity objects. Additionaly, one may query if an identifier is enabled. An identifier is always considered enabled unless it matches only disabled activities.
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.
This interface is not intended to be extended or implemented by clients.
Method Summary | |
void | addIdentifierListener(IIdentifierListener identifierListener)
Registers an instance of IIdentifierListener to listen for changes to properties of this instance. |
Set | getActivityIds()
Returns the set of activity ids that this instance matches. |
String | getId()
Returns the identifier of this instance. |
boolean | isEnabled()
Returns whether or not this instance is enabled. |
void | removeIdentifierListener(IIdentifierListener identifierListener)
Removes an instance of IIdentifierListener listening for changes to properties of this instance. |
Methods inherited from interface java.lang.Comparable |
compareTo |
Method Detail |
public void addIdentifierListener(IIdentifierListener identifierListener)
public Set getActivityIds()
Notification is sent to all registered listeners if this property changes.
public String getId()
public boolean isEnabled()
Notification is sent to all registered listeners if this property changes.
public void removeIdentifierListener(IIdentifierListener identifierListener)
|
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.