public class LoadOnDemandPolicyRegistryListener extends AbstractRegistryEventListener
AbstractRegistryEventListener.Action| Constructor and Description |
|---|
LoadOnDemandPolicyRegistryListener(ILoadOnDemandPolicy.Registry registry,
String pluginID,
String extensionPointID,
ILog log)
Creates a new listener for the given
pluginID and extensionPointID. |
| 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, removedpublic LoadOnDemandPolicyRegistryListener(ILoadOnDemandPolicy.Registry registry, String pluginID, String extensionPointID, ILog log)
pluginID and extensionPointID.registry - the registry to which contributed policies will be added and removed.pluginID - the plugin id of the registering extension point.extensionPointID - the id of the extension point to listen to.log - the log in which to report errors.protected boolean validateExtensionElement(IConfigurationElement element)
validateExtensionElement in class AbstractRegistryEventListenerelement - the element to validate.AbstractRegistryEventListener.validateExtensionElement(org.eclipse.core.runtime.IConfigurationElement)protected boolean addedValid(IConfigurationElement element)
addedValid in class AbstractRegistryEventListenerelement - the element to be added.AbstractRegistryEventListener.addedValid(org.eclipse.core.runtime.IConfigurationElement)protected boolean removedValid(IConfigurationElement element)
removedValid in class AbstractRegistryEventListenerelement - the element to be removed.AbstractRegistryEventListener.removedValid(org.eclipse.core.runtime.IConfigurationElement)
Copyright (c) 2006, 2014 Obeo and others. All rights reserved.