|
Commons | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.topcased.facilities.extensions.AbstractExtensionManager
public abstract class AbstractExtensionManager
An abstract implementation of en extension manager.
This manager can initialize itself iterating on all the registered extensions
of a given extension point id.
It also listens to the platform extension registry changes and makes the
appropriate modifications.
Clients must implements the addExtension()
and the
removeExtension()
methods in order to define the subclassing
manager behavior.
Creation : 24 nov. 2005
Constructor Summary | |
---|---|
protected |
AbstractExtensionManager(java.lang.String extensionPointId)
Constructor. |
Method Summary | |
---|---|
protected abstract void |
addExtension(org.eclipse.core.runtime.IExtension extension)
Adds the given extension to this manager. |
void |
dispose()
Disposes this manager. |
protected void |
readRegistry()
Reads the extension registry and add all the registered extensions for the managed extension point. |
void |
registryChanged(org.eclipse.core.runtime.IRegistryChangeEvent event)
|
protected abstract void |
removeExtension(org.eclipse.core.runtime.IExtension extension)
Removes the given extension from this manager. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected AbstractExtensionManager(java.lang.String extensionPointId)
extensionPointId
- the unique id of the managed extension point
(e.g., "org.eclipse.core.resources.builders"
)Method Detail |
---|
public void dispose()
protected abstract void addExtension(org.eclipse.core.runtime.IExtension extension)
extension
- a registered extensionprotected abstract void removeExtension(org.eclipse.core.runtime.IExtension extension)
extension
- a unregistered extensionpublic void registryChanged(org.eclipse.core.runtime.IRegistryChangeEvent event)
registryChanged
in interface org.eclipse.core.runtime.IRegistryChangeListener
IRegistryChangeListener.registryChanged(org.eclipse.core.runtime.IRegistryChangeEvent)
protected void readRegistry()
|
Commons | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright (c) 2005 TOPCASED Contributors 2005 - 2007. All rights reserved.