| org.eclipse.pde.core.IModelChangeProvider
IModelChangeProvider | public interface IModelChangeProvider (Code) | | Classes that implement this interface are capable of notifying listeners
about model changes. Interested parties should implement
IModelChangedListener and add as listeners to be able to
receive change notification.
since: 2.0 |
addModelChangedListener | public void addModelChangedListener(IModelChangedListener listener)(Code) | | Adds the listener to the list of listeners that will be notified on model
changes.
Parameters: listener - a model change listener to be added |
fireModelChanged | public void fireModelChanged(IModelChangedEvent event)(Code) | | Delivers change event to all the registered listeners.
Parameters: event - a change event that will be passed to all the listeners |
fireModelObjectChanged | public void fireModelObjectChanged(Object object, String property, Object oldValue, Object newValue)(Code) | | Notifies listeners that a property of a model object changed. This is a
utility method that will create a model event and fire it.
Parameters: object - an affected model object Parameters: property - name of the property that has changed Parameters: oldValue - the old value of the property Parameters: newValue - the new value of the property |
removeModelChangedListener | public void removeModelChangedListener(IModelChangedListener listener)(Code) | | Takes the listener off the list of registered change listeners.
Parameters: listener - a model change listener to be removed |
|
|