T - one descriptor typepublic class DescriptorRegistryEventListener<T> extends AbstractRegistryEventListener
AbstractRegistryEventListener.Action| Modifier and Type | Field and Description |
|---|---|
static String |
DESCRITPION_DESCRIPTOR_ATTR
Description attribute of extension point.
|
static String |
ID_DESCRIPTOR_ATTR
Id attribute of the extension point.
|
static String |
IMPL_CLASS_DESCRIPTOR_ATTR
Engine implementation class attribute of extension point.
|
static String |
LABEL_DESCRIPTOR_ATTR
Label attribute of extension point.
|
static String |
RANK_DESCRIPTOR_ATTR
Rank attribute of extension point.
|
static String |
TAG_DESCRIPTOR
Descriptor tag of extension point.
|
| Constructor and Description |
|---|
DescriptorRegistryEventListener(String namespace,
String extensionPointID,
ILog log,
IItemRegistry<T> registry)
Constructor.
|
| 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 static final String LABEL_DESCRIPTOR_ATTR
public static final String DESCRITPION_DESCRIPTOR_ATTR
public static final String IMPL_CLASS_DESCRIPTOR_ATTR
public static final String RANK_DESCRIPTOR_ATTR
public static final String ID_DESCRIPTOR_ATTR
public static final String TAG_DESCRIPTOR
public DescriptorRegistryEventListener(String namespace, String extensionPointID, ILog log, IItemRegistry<T> registry)
namespace - namespace of the extension pointextensionPointID - id of the extension pointlog - Loggerregistry - IItemRegistry where
IItemDescriptor will be storedprotected 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.