T
- The type of the Object describedpublic class DescriptorRegistryEventListener<T> extends AbstractRegistryEventListener
AbstractRegistryEventListener.Action
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
DESCRIPTION_DESCRIPTOR_ATTR
Description attribute of extension point.
|
static java.lang.String |
ID_DESCRIPTOR_ATTR
Id attribute of the extension point.
|
static java.lang.String |
IMPL_CLASS_DESCRIPTOR_ATTR
Implementation class attribute of extension point.
|
static java.lang.String |
LABEL_DESCRIPTOR_ATTR
Label attribute of extension point.
|
static java.lang.String |
TAG_DESCRIPTOR
Descriptor tag of extension point.
|
Constructor and Description |
---|
DescriptorRegistryEventListener(java.lang.String namespace,
java.lang.String extensionPointID,
IItemRegistry<T> itemRegistry)
The constructor.
|
Modifier and Type | Method and Description |
---|---|
protected boolean |
processAddition(org.eclipse.core.runtime.IConfigurationElement configurationElement)
Processes the addition of the given configuration element.
|
protected boolean |
processRemoval(org.eclipse.core.runtime.IConfigurationElement configurationElement)
Processes the removal of the given configuration element.
|
protected boolean |
validateConfigurationElement(org.eclipse.core.runtime.IConfigurationElement configurationElement)
Validates the given configuration element.
|
added, added, readRegistry, removed, removed
public static final java.lang.String ID_DESCRIPTOR_ATTR
public static final java.lang.String LABEL_DESCRIPTOR_ATTR
public static final java.lang.String DESCRIPTION_DESCRIPTOR_ATTR
public static final java.lang.String IMPL_CLASS_DESCRIPTOR_ATTR
public static final java.lang.String TAG_DESCRIPTOR
public DescriptorRegistryEventListener(java.lang.String namespace, java.lang.String extensionPointID, IItemRegistry<T> itemRegistry)
namespace
- The namespace of the extension pointextensionPointID
- The identifier of the extension pointitemRegistry
- The IItemRegistry
protected boolean validateConfigurationElement(org.eclipse.core.runtime.IConfigurationElement configurationElement)
validateConfigurationElement
in class AbstractRegistryEventListener
configurationElement
- The configuration elementtrue
if the configuration element is valid, false
otherwiseAbstractRegistryEventListener.validateConfigurationElement(org.eclipse.core.runtime.IConfigurationElement)
protected boolean processAddition(org.eclipse.core.runtime.IConfigurationElement configurationElement)
processAddition
in class AbstractRegistryEventListener
configurationElement
- The configuration elementtrue
if the configuration element has been properly added, false
otherwiseAbstractRegistryEventListener.processAddition(org.eclipse.core.runtime.IConfigurationElement)
protected boolean processRemoval(org.eclipse.core.runtime.IConfigurationElement configurationElement)
processRemoval
in class AbstractRegistryEventListener
configurationElement
- The configuration elementtrue
if the configuration element has been properly removed, false
otherwiseAbstractRegistryEventListener.processRemoval(org.eclipse.core.runtime.IConfigurationElement)