ELEMENT
- public abstract class ExtensionParser<ELEMENT extends InternalRegistryElement>
extends org.eclipse.net4j.util.lifecycle.Lifecycle
implements org.eclipse.core.runtime.IRegistryChangeListener
Modifier and Type | Class and Description |
---|---|
static class |
ExtensionParser.ExtensionDescriptor<ELEMENT extends InternalRegistryElement> |
Constructor and Description |
---|
ExtensionParser(ElementRegistry<ELEMENT,?> elementRegistry,
String namespace,
String name) |
Modifier and Type | Method and Description |
---|---|
protected void |
addExtension(org.eclipse.core.runtime.IExtension extension,
Set<ELEMENT> result) |
protected abstract ELEMENT |
createElement(String name,
org.eclipse.core.runtime.IConfigurationElement configurationElement) |
protected void |
doActivate() |
protected void |
doDeactivate() |
ElementRegistry<ELEMENT,?> |
getElementRegistry() |
String |
getName() |
String |
getNamespace() |
void |
registryChanged(org.eclipse.core.runtime.IRegistryChangeEvent event) |
protected void |
removeExtension(org.eclipse.core.runtime.IExtension extension,
Set<String> result) |
activate, checkActive, checkArg, checkArg, checkInactive, checkNull, checkState, checkState, deactivate, deferredActivate, doAfterActivate, doBeforeActivate, doBeforeDeactivate, dump, getLifecycleState, isActive, isDeferredActivation, toString
addListener, fireEvent, fireEvent, fireEvent, fireThrowable, firstListenerAdded, getListeners, getNotificationService, hasListeners, lastListenerRemoved, removeListener
public ExtensionParser(ElementRegistry<ELEMENT,?> elementRegistry, String namespace, String name)
public final ElementRegistry<ELEMENT,?> getElementRegistry()
public final String getNamespace()
public final String getName()
public void registryChanged(org.eclipse.core.runtime.IRegistryChangeEvent event)
registryChanged
in interface org.eclipse.core.runtime.IRegistryChangeListener
protected void doActivate() throws Exception
doActivate
in class org.eclipse.net4j.util.lifecycle.Lifecycle
Exception
protected void doDeactivate() throws Exception
doDeactivate
in class org.eclipse.net4j.util.lifecycle.Lifecycle
Exception
protected void addExtension(org.eclipse.core.runtime.IExtension extension, Set<ELEMENT> result)
protected void removeExtension(org.eclipse.core.runtime.IExtension extension, Set<String> result)
Copyright © 2019. All rights reserved.