public class ModelDependencyProviderRegistryListener extends AbstractRegistryEventListener
AbstractRegistryEventListener.Action
Constructor and Description |
---|
ModelDependencyProviderRegistryListener(String pluginID,
String extensionPointID,
ILog log,
ModelDependencyProviderRegistry registry)
Initialize a registry event listener for our handlers.
|
Modifier and Type | Method and Description |
---|---|
protected boolean |
addedValid(IConfigurationElement element)
Process the given element as the addition of a valid element extension.
|
protected boolean |
removedValid(IConfigurationElement element)
Process the given element as the removal of a valid element extension.
|
protected boolean |
validateExtensionElement(IConfigurationElement element)
Validates if the given element is an element for the given extension and is well constructed.
|
added, added, log, log, log, logMissingAttribute, readElement, readRegistry, removed, removed
public ModelDependencyProviderRegistryListener(String pluginID, String extensionPointID, ILog log, ModelDependencyProviderRegistry registry)
pluginID
- ID of the plugin contributing the extension point to monitor.extensionPointID
- Actual id of the extension point to monitor.log
- Log in which errors/warning should be logged.registry
- The actual store of handlers this registry will alter.protected boolean validateExtensionElement(IConfigurationElement element)
validateExtensionElement
in class AbstractRegistryEventListener
element
- the element to validate.protected boolean addedValid(IConfigurationElement element)
addedValid
in class AbstractRegistryEventListener
element
- the element to be added.protected boolean removedValid(IConfigurationElement element)
removedValid
in class AbstractRegistryEventListener
element
- the element to be removed.
Copyright (c) 2006, 2014 Obeo and others. All rights reserved.