|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.ibm.carma.ui.ResourceStateChangeListener
public class ResourceStateChangeListener
Utility to assist in notifying listeners of project configuration/deconfiguration events. Listeners can register with this class and then the class will send notifications to all registered listeners when the appropriate method is called.
| Field Summary | |
|---|---|
static java.lang.String |
COPYRIGHT
|
| Constructor Summary | |
|---|---|
ResourceStateChangeListener()
|
|
| Method Summary | |
|---|---|
void |
addListener(IResourceStateChangeListener listener)
Add a listener to the pool of objects to be notified when project association changes |
static ResourceStateChangeListener |
getListener()
Returns the state listener instance |
void |
projectConfigured(ICARMAResourceReference project)
Send out notifications that the given project has been configured to all listeners in the listener pool. |
void |
projectDeconfigured(ICARMAResourceReference project)
Send out notifications that the given project has been unconfigured to all listeners in the listener pool. |
void |
removeListener(IResourceStateChangeListener listener)
Removes a listener to the pool of objects to be notified when project association changes |
void |
resourceModified(ICARMAResourceReference[] references)
Sends out notifications that the given resources in a CARMA-associated project have been modified |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String COPYRIGHT
| Constructor Detail |
|---|
public ResourceStateChangeListener()
| Method Detail |
|---|
public static ResourceStateChangeListener getListener()
public void addListener(IResourceStateChangeListener listener)
listener - listener object to notify of changespublic void removeListener(IResourceStateChangeListener listener)
listener - listener object to remove from the list of items to notify of changespublic void projectConfigured(ICARMAResourceReference project)
project - the project configuredpublic void projectDeconfigured(ICARMAResourceReference project)
project - the project de-configuredpublic void resourceModified(ICARMAResourceReference[] references)
references - array references to project resources
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||