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