public class MatchEngineFactoryRegistryListener extends AbstractRegistryEventListener
AbstractRegistryEventListener.Action
Modifier and Type | Field and Description |
---|---|
static String |
ATT_CLASS
Attribute name for the factory implementation.
|
Constructor and Description |
---|
MatchEngineFactoryRegistryListener(String pluginID,
String extensionPointID,
org.eclipse.core.runtime.ILog log,
IItemRegistry<IMatchEngine.Factory> registry)
Creates a new registry listener with the given match engine factory 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 MatchEngineFactoryRegistryListener(String pluginID, String extensionPointID, org.eclipse.core.runtime.ILog log, IItemRegistry<IMatchEngine.Factory> registry)
registry
- the match engine factory registry to which extension will be registered.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.protected boolean validateExtensionElement(org.eclipse.core.runtime.IConfigurationElement element)
validateExtensionElement
in class AbstractRegistryEventListener
element
- the element to validate.AbstractRegistryEventListener.validateExtensionElement(org.eclipse.core.runtime.IConfigurationElement)
protected boolean addedValid(org.eclipse.core.runtime.IConfigurationElement element)
addedValid
in class AbstractRegistryEventListener
element
- the element to be added.AbstractRegistryEventListener.addedValid(org.eclipse.core.runtime.IConfigurationElement)
protected boolean removedValid(org.eclipse.core.runtime.IConfigurationElement element)
removedValid
in class AbstractRegistryEventListener
element
- the element to be removed.AbstractRegistryEventListener.removedValid(org.eclipse.core.runtime.IConfigurationElement)
Copyright (c) 2006, 2015 Obeo and others. All rights reserved.