public class PVPUpdateManager
extends AbstractADEPT2Service
ChangeListeners
for an object which are notified when properties of that object
change.
| Modifier and Type | Class and Description |
|---|---|
protected class |
PVPUpdateManager.UpdateRequest
The UpdateRequest is attached to the SWT Default thread responsible for UI
updates.
|
| Constructor and Description |
|---|
PVPUpdateManager(Configuration configuration,
Registry registry)
The update manager could be called as an ADEPT2Service
|
| Modifier and Type | Method and Description |
|---|---|
void |
addListener(java.lang.Object what,
ChangeListener callback) |
void |
addListener(java.lang.Object what,
ChangeListener callback,
int priority) |
protected void |
asyncSendPropertyChanges()
Property change events are published asynchronous.
|
void |
firePropertyChange(java.lang.Object procElement,
java.lang.Object prop)
Notify all interested parties of changes to a Process element
|
void |
firePropertyChange(java.lang.Object procElement,
java.lang.Object prop,
java.lang.Object newValue)
Notify all interested parties of changes to a Process element
|
void |
firePropertyChange(java.lang.Object procElement,
java.lang.Object prop,
java.lang.Object oldValue,
java.lang.Object newValue)
Notify all interested parties of changes to a Process element
|
protected void |
queuePropertyChanges(java.lang.Object procElement,
PropertyChangeEvent pce)
Send PropertyChangeEvent pce to all listeners for object procElement
|
void |
removeListener(java.lang.Object what,
ChangeListener callback) |
void |
sendPropertyChanges() |
public PVPUpdateManager(Configuration configuration,
Registry registry)
configuration - the configuration of the update managerregistry - the registry of the update managerpublic void addListener(java.lang.Object what,
ChangeListener callback)
public void addListener(java.lang.Object what,
ChangeListener callback,
int priority)
public void removeListener(java.lang.Object what,
ChangeListener callback)
public void firePropertyChange(java.lang.Object procElement,
java.lang.Object prop)
procElement - The altered Process elementprop - The altered propertypublic void firePropertyChange(java.lang.Object procElement,
java.lang.Object prop,
java.lang.Object newValue)
procElement - The altered Process elementprop - The altered propertynewValue - The new value of the propertypublic void firePropertyChange(java.lang.Object procElement,
java.lang.Object prop,
java.lang.Object oldValue,
java.lang.Object newValue)
procElement - The altered Process elementprop - The altered propertyoldValue - the old value of the propertynewValue - The new value of the propertyprotected void queuePropertyChanges(java.lang.Object procElement,
PropertyChangeEvent pce)
procElement - the keypce - the eventpublic void sendPropertyChanges()
protected void asyncSendPropertyChanges()