T - plug-in interfacepublic abstract class AbstractPluginRegistryBase<T>
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
protected class |
AbstractPluginRegistryBase.RegistryListener
The listener interface for receiving registry events.
|
| Modifier and Type | Field and Description |
|---|---|
protected IRegistryChangeListener |
_listener
The _listener.
|
protected java.lang.Object |
_mutex
The _mutex.
|
| Constructor and Description |
|---|
AbstractPluginRegistryBase()
Instantiates a new abstract plug-in registry base.
|
| Modifier and Type | Method and Description |
|---|---|
protected T |
createInstance(IExtension extension)
Creates the instance.
|
protected abstract void |
extensionAdded(java.lang.String id,
IExtension extension)
Extension added.
|
protected abstract void |
extensionRemoved(java.lang.String id)
Extension removed.
|
protected abstract void |
finalizeExtensionChanges()
Finalize extension changes.
|
protected java.lang.String |
getExtensionPointFullName()
Gets the extension point full name.
|
protected abstract java.lang.String |
getExtensionPointLocalName()
Gets the extension point local name.
|
protected abstract java.lang.String |
getExtensionPointNameSpace()
Gets the extention point name space.
|
protected void |
initialize()
Initialize.
|
protected IRegistryChangeListener _listener
protected java.lang.Object _mutex
public AbstractPluginRegistryBase()
protected abstract java.lang.String getExtensionPointNameSpace()
protected abstract java.lang.String getExtensionPointLocalName()
protected void initialize()
protected abstract void extensionAdded(java.lang.String id,
IExtension extension)
throws CoreException
id - the idextension - the extensionCoreException - the core exceptionprotected abstract void extensionRemoved(java.lang.String id)
throws CoreException
id - the idCoreException - the core exceptionprotected abstract void finalizeExtensionChanges()
protected java.lang.String getExtensionPointFullName()
protected T createInstance(IExtension extension) throws CoreException
extension - the extensionCoreException - the core exception