public class WeightProviderDescriptorRegistryListener extends AbstractRegistryEventListener
AbstractRegistryEventListener.Action| Modifier and Type | Field and Description | 
|---|---|
| static String | ATT_CLASSAttribute name for the weight provider implementation. | 
| Constructor and Description | 
|---|
| WeightProviderDescriptorRegistryListener(String pluginID,
                                        String extensionPointID,
                                        org.eclipse.core.runtime.ILog log,
                                        WeightProvider.Descriptor.Registry registry)Creates a new registry listener with the given weight 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, removedpublic static final String ATT_CLASS
public WeightProviderDescriptorRegistryListener(String pluginID, String extensionPointID, org.eclipse.core.runtime.ILog log, WeightProvider.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 weight provider registry to which extension will be registered.protected boolean validateExtensionElement(org.eclipse.core.runtime.IConfigurationElement element)
validateExtensionElement in class AbstractRegistryEventListenerelement - the element to validate.protected boolean addedValid(org.eclipse.core.runtime.IConfigurationElement element)
addedValid in class AbstractRegistryEventListenerelement - the element to be added.protected boolean removedValid(org.eclipse.core.runtime.IConfigurationElement element)
removedValid in class AbstractRegistryEventListenerelement - the element to be removed.
Copyright (c) 2006, 2015 Obeo and others. All rights reserved.