public class EqualityHelperExtensionProviderDescriptorRegistryListener extends AbstractRegistryEventListener
AbstractRegistryEventListener.Action
Modifier and Type | Field and Description |
---|---|
static String |
ATT_CLASS
Attribute name for the equality helper extension provider implementation.
|
Constructor and Description |
---|
EqualityHelperExtensionProviderDescriptorRegistryListener(String pluginID,
String extensionPointID,
org.eclipse.core.runtime.ILog log,
EqualityHelperExtensionProvider.Descriptor.Registry registry)
Creates a new registry listener with the given equality helper extension provider registry to which
extension will be registered.
|
Modifier and Type | Method and Description |
---|---|
protected boolean |
addedValid(org.eclipse.core.runtime.IConfigurationElement element)
Process the given element as the addition of a valid element extension.
|
protected boolean |
removedValid(org.eclipse.core.runtime.IConfigurationElement element)
Process the given element as the removal of a valid element extension.
|
protected boolean |
validateExtensionElement(org.eclipse.core.runtime.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 static final String ATT_CLASS
public EqualityHelperExtensionProviderDescriptorRegistryListener(String pluginID, String extensionPointID, org.eclipse.core.runtime.ILog log, EqualityHelperExtensionProvider.Descriptor.Registry registry)
pluginID
- The pluginID of the extension point to be monitored.extensionPointID
- The extension point ID to be monitored.log
- The log object to be used to log error and/or warning.registry
- the equality helper extension provider registry to which extension will be registered.protected boolean validateExtensionElement(org.eclipse.core.runtime.IConfigurationElement element)
validateExtensionElement
in class AbstractRegistryEventListener
element
- the element to validate.protected boolean addedValid(org.eclipse.core.runtime.IConfigurationElement element)
addedValid
in class AbstractRegistryEventListener
element
- the element to be added.protected boolean removedValid(org.eclipse.core.runtime.IConfigurationElement element)
removedValid
in class AbstractRegistryEventListener
element
- the element to be removed.
Copyright (c) 2006, 2015 Obeo and others. All rights reserved.