public class LogicalModelViewHandlerRegistryListener extends AbstractRegistryEventListener
AbstractRegistryEventListener.Action
Constructor and Description |
---|
LogicalModelViewHandlerRegistryListener(String pluginID,
String extensionPointID,
ILog log,
LogicalModelViewHandlerRegistry registry)
Initialize a registry event listener for our handlers.
|
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 LogicalModelViewHandlerRegistryListener(String pluginID, String extensionPointID, ILog log, LogicalModelViewHandlerRegistry registry)
pluginID
- ID of the plugin contributing the extension point to monitor.extensionPointID
- Actual id of the extension point to monitor.log
- Log in which errors/warning should be logged.registry
- The actual store of handlers this registry will alter.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)
protected boolean validateExtensionElement(IConfigurationElement element)
validateExtensionElement
in class AbstractRegistryEventListener
element
- the element to validate.AbstractRegistryEventListener.validateExtensionElement(org.eclipse.core.runtime.IConfigurationElement)
Copyright (c) 2006, 2014 Obeo and others. All rights reserved.