Creating an Instance on ModelPackage; Extension Point [message #431660] |
Tue, 21 July 2009 04:29  |
Eclipse User |
|
|
|
Hi,
I defined an Extension Point which I would like to use for EPackage
(attribute "class"). I think the EP is ok. But if I want to create an
instance of an EPackage, in this case ModelPackage, using this statement
Object o = e.createExecutableExtension("class");
the following Exception appears
org.eclipse.core.runtime.CoreException: Plug-in "org.xxx.yyy.model" was
unable to instantiate class "org.xxx.yyy.model.impl.ModelPackageImpl".
The class ModelPackageImpl is a EPackageIml and is generated by EMF.
I used this EP for other classes, for example EFactory, and it works. But
I can not instanciate EPackage.
Can somebody please tell me what is the problem? Or am I doing something
wrong?
Thank you very much,
RCH
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.05016 seconds