Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF » Dynamically extending a non-dynamic abstract EClass
Dynamically extending a non-dynamic abstract EClass [message #1105126] Mon, 09 September 2013 11:56 Go to next message
Felix Dorner is currently offline Felix DornerFriend
Messages: 295
Registered: March 2012
Senior Member
Hi,

I do have an EPackage APackage, which contains an abstract class A. For
this package I have code generated.

Now, at runtime I create a package with another class which extends the
abstract class A from the other package.

Now I try to create an instance for this, but it throws an exception in
APackageFactory: 'The class A is not a valid classifier'

I thought (optimistically as always with EMF, it can do anything ...)
that this should be possible, but maybe not?

Thanks for comments,
Felix
Re: Dynamically extending a non-dynamic abstract EClass [message #1105129 is a reply to message #1105126] Mon, 09 September 2013 12:05 Go to previous message
Felix Dorner is currently offline Felix DornerFriend
Messages: 295
Registered: March 2012
Senior Member
On 09/09/2013 13:56, Felix Dorner wrote:
> I thought (optimistically as always with EMF, it can do anything ...)
> that this should be possible, but maybe not?

Found something here, http://www.eclipse.org/forums/index.php/t/128121/
and here https://bugs.eclipse.org/bugs/show_bug.cgi?id=105931

So not possible. Well, Eike Stepper wanted it some time, at least I'm
not completely crazy (Or maybe I'm just as crazy as him :p)

Felix
Previous Topic:Xcore referencing another xcore => Same name URI for Ecore.ecore
Next Topic:[xcore] Error loading xcore resource in generated editor
Goto Forum:
  


Current Time: Thu May 09 20:51:09 GMT 2024

Powered by FUDForum. Page generated in 0.02731 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top