[acceleo 3.1] editor doesn't see inheritance [message #725703] |
Thu, 15 September 2011 10:49  |
Eclipse User |
|
|
|
Hi,
I have a class called MetaModel located in b.ecore. it extends Artifact located in a.ecore.
The acceleo editor code assist suggests the attributes from MetaModel class but not from Artifact. If I type one of these manually, then the editor shows an error marker.
Any idea what could be the problem?
Here is how my template looks like:
[module genmodelGen('/plugina/model/a.ecore','/pluginb/model/b.ecore','http://www.eclipse.org/emf/2002/Ecore')/]
[template public genmodelGenComponent(c : MetaModel)]
modelPluginID="[c.id/]"
modelName="[c.emfPackage/]"
[/template]
c.id is not recognized and is part of Artifact class. c.emfPackage is recognized and is part of MetaModel.
Max
|
|
|
|
|
|
|
|
Re: [acceleo 3.1] editor doesn't see inheritance [message #729485 is a reply to message #729442] |
Mon, 26 September 2011 05:54  |
Eclipse User |
|
|
|
Hi Laurent and Stephane.
First, thanks for your replies.
No particular reasons for staying on the 3.0 stream. My main constraint is to use Eclipse 3.5.2 as target platform. When I installed my development platform, Acceleo 3.0.1 came with it ! Actually, I was not aware about the compliance between Acceleo 3.1.X and Eclipse 3.5.X. So, it's a great news for me !!!
Ok, update done to Acceleo 3.1.1. Behavior is better. My problem of cast is solved.
Thanks !
Sébastien
[Updated on: Mon, 26 September 2011 05:55] by Moderator
|
|
|
Powered by
FUDForum. Page generated in 0.03689 seconds