public class PostProcessorFactoryRegistryListener extends AbstractRegistryEventListener
AbstractRegistryEventListener.Action
Constructor and Description |
---|
PostProcessorFactoryRegistryListener(String pluginID,
String extensionPointID,
ILog log,
IItemRegistry<IPostProcessor.Descriptor> registry)
Creates a new registry listener with the given post processor registry to which extension will be
registered.
|
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 PostProcessorFactoryRegistryListener(String pluginID, String extensionPointID, ILog log, IItemRegistry<IPostProcessor.Descriptor> registry)
pluginID
- The pluginID of the extension point to be monitored.extensionPointID
- The extension point ID to be monitoredlog
- The log object to be used to log error and/or warning.registry
- the post processor registry to which extension will be registered.protected boolean validateExtensionElement(IConfigurationElement element)
validateExtensionElement
in class AbstractRegistryEventListener
element
- the element to validate.AbstractRegistryEventListener.validateExtensionElement(org.eclipse.core.runtime.IConfigurationElement)
protected boolean addedValid(IConfigurationElement element)
addedValid
in class AbstractRegistryEventListener
element
- the element to be added.AbstractRegistryEventListener.addedValid(org.eclipse.core.runtime.IConfigurationElement)
protected boolean removedValid(IConfigurationElement element)
removedValid
in class AbstractRegistryEventListener
element
- the element to be removed.AbstractRegistryEventListener.removedValid(org.eclipse.core.runtime.IConfigurationElement)
Copyright (c) 2006, 2014 Obeo and others. All rights reserved.