|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.weaver.core.WeaverExtensionManager
This class is a manager of extensions for the weaver
Constructor Summary | |
WeaverExtensionManager(WeaverModelManager manager)
Create a new WeaverExtensions |
Method Summary | |
void |
addExtensionToDescriptor(int EXTENSION_POINT_LOCAL_ID,
IExtension extension)
Adds a new extension into the selected extensions list from this extension point descriptor An extension point has N extensions that use it. |
static IExtension[] |
getAllExtensions(java.lang.String extensionPointID)
Returns all the extensions based on this id that the registry has found |
void |
getAllProviderImplementationIcon()
gets map of icon and element |
java.util.List |
getInitializingClasses()
Returns the classes extended and used for initializing a new model |
java.util.Collection |
getPluginMetamodelPath()
Returns a List of file Path with all km3 files declared in the extension the file path is in a array : {extension path, file} |
java.lang.Object |
getProviderImplementationClass(EObject eObj)
Gets the first item provider adapter declared in the extensions points for this class |
java.lang.Object |
getWeavingPanelImplementationClass(java.lang.String id)
Gets the weaving panel declared in the extensions points for this class |
java.lang.Object |
getWovenPanelImplementationClass(java.lang.String id)
Gets the woven panel declared in the extensions points for this class |
void |
loadExtension(java.lang.String extension,
java.lang.String extensionPointID)
Loads a extension in the associated extension point descriptor |
void |
loadExtensions(java.util.List extensions,
java.lang.String extensionPointID)
Loads list of extensions in the associated extension point descriptor |
void |
removeExtensionFromDescriptor(int EXTENSION_POINT_LOCAL_ID,
IExtension extension)
Removes a extension from this extension point descriptor |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public WeaverExtensionManager(WeaverModelManager manager)
Method Detail |
public void addExtensionToDescriptor(int EXTENSION_POINT_LOCAL_ID, IExtension extension)
extension
- the extensionpublic void removeExtensionFromDescriptor(int EXTENSION_POINT_LOCAL_ID, IExtension extension)
extension
- the extensionpublic java.util.Collection getPluginMetamodelPath()
WeaverException
public void loadExtensions(java.util.List extensions, java.lang.String extensionPointID)
extensionPointID
- the identifier of the extension point idpublic void loadExtension(java.lang.String extension, java.lang.String extensionPointID)
extensionPointID
- the identifier of the extension point idpublic static IExtension[] getAllExtensions(java.lang.String extensionPointID)
extensionPointID
-
public java.lang.Object getProviderImplementationClass(EObject eObj) throws WeaverException
WeaverException
public void getAllProviderImplementationIcon() throws WeaverException
WeaverException
public java.util.List getInitializingClasses() throws WeaverException
WeaverException
public java.lang.Object getWovenPanelImplementationClass(java.lang.String id) throws WeaverException
WeaverException
public java.lang.Object getWeavingPanelImplementationClass(java.lang.String id) throws WeaverException
WeaverException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |