Package org.eclipse.pde.core
Interface IModelProviderEvent
- 
 public interface IModelProviderEventThis event will be delivered to all model provider listeners when a model managed by the model provider changes in some way.- Since:
- 2.0
- Restriction:
- This interface is not intended to be implemented by clients.
- Restriction:
- This interface is not intended to be extended by clients.
 
- 
- 
Field SummaryFields Modifier and Type Field Description static intENVIRONMENT_CHANGEDDeprecated, for removal: This API element is subject to removal in a future version.Since the 4.4 Luna release, target platform changes are not tracked as model eventsstatic intMODELS_ADDEDEvent is sent after the models have been added.static intMODELS_CHANGEDEvent is sent after the models have been changed.static intMODELS_REMOVEDEvent is sent before the models will be removed.static intTARGET_CHANGEDDeprecated, for removal: This API element is subject to removal in a future version.Since the 4.4 Luna release, target platform changes are not tracked as model events
 - 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description IModel[]getAddedModels()Returns the models that are addedIModel[]getChangedModels()Returns the models that has changedObjectgetEventSource()Returns the object that fired this event.intgetEventTypes()Returns the combination of flags indicating type of event.IModel[]getRemovedModels()Returns the models that are removed
 
- 
- 
- 
Field Detail- 
MODELS_ADDEDstatic final int MODELS_ADDED Event is sent after the models have been added.- See Also:
- Constant Field Values
 
 - 
MODELS_REMOVEDstatic final int MODELS_REMOVED Event is sent before the models will be removed.- See Also:
- Constant Field Values
 
 - 
MODELS_CHANGEDstatic final int MODELS_CHANGED Event is sent after the models have been changed.- See Also:
- Constant Field Values
 
 - 
TARGET_CHANGED@Deprecated(forRemoval=true) static final int TARGET_CHANGED Deprecated, for removal: This API element is subject to removal in a future version.Since the 4.4 Luna release, target platform changes are not tracked as model eventsEvent is sent when the target platform changes- Since:
- 3.2
- See Also:
- Constant Field Values
 
 - 
ENVIRONMENT_CHANGED@Deprecated(forRemoval=true) static final int ENVIRONMENT_CHANGED Deprecated, for removal: This API element is subject to removal in a future version.Since the 4.4 Luna release, target platform changes are not tracked as model eventsEvent is sent when the target environment changes- Since:
- 3.5
- See Also:
- Constant Field Values
 
 
- 
 - 
Method Detail- 
getAddedModelsIModel[] getAddedModels() Returns the models that are added- Returns:
- the models that have been added or an empty array
 
 - 
getRemovedModelsIModel[] getRemovedModels() Returns the models that are removed- Returns:
- the models that have been removed or an empty array
 
 - 
getChangedModelsIModel[] getChangedModels() Returns the models that has changed- Returns:
- the models that has changed or an empty array
 
 - 
getEventTypesint getEventTypes() Returns the combination of flags indicating type of event. In case of multiple changes, flags are ORed together. (a combination of MODEL_CHANGED, MODEL_ADDED, MODEL_REMOVED)- Returns:
- the model change type
 
 - 
getEventSourceObject getEventSource() Returns the object that fired this event.- Returns:
- The object that fired this event
 
 
- 
 
-