Home » Modeling » Epsilon » Method 'getContainmentReferences' not found (190:38)
Method 'getContainmentReferences' not found (190:38) [message #510493] |
Wed, 27 January 2010 11:19  |
Eclipse User |
|
|
|
hi all
i installed eugenia yesterday (from update site) and tried to follow the screencast for "GMF editor development with eugenia". besides the fact that the emfatic code seen in the example is wrong (as well as the code at the eugenia main page, finally found the working code here: http://www.eclipse.org/gmt/epsilon/doc/articles/eugenia-gmf- tutorial/), the example worked for me.
in the next step i tried eugenia on the model i'm currently working with. i already have both an .ecore and a .genmodel, so i tried to "generate tool graph and map models" from the .ecore file. at this point i got the following exception:
Method 'getContainmentReferences' not found (190:38)
at org.eclipse.epsilon.eol.execute.PointExecutor.executeOperati on(PointExecutor.java:190)
at org.eclipse.epsilon.eol.execute.PointExecutor.execute(PointE xecutor.java:67)
at org.eclipse.epsilon.eol.execute.PointExecutor.execute(PointE xecutor.java:37)
at org.eclipse.epsilon.eol.execute.PointExecutor.execute(PointE xecutor.java:123)
at org.eclipse.epsilon.eol.execute.ExecutorFactory.executeAST(E xecutorFactory.java:185)
at org.eclipse.epsilon.eol.execute.ForStatementExecutor.execute (ForStatementExecutor.java:44)
at org.eclipse.epsilon.eol.execute.ExecutorFactory.executeAST(E xecutorFactory.java:185)
at org.eclipse.epsilon.eol.execute.StatementBlockExecutor.execu te(StatementBlockExecutor.java:33)
at org.eclipse.epsilon.eol.execute.ExecutorFactory.executeAST(E xecutorFactory.java:185)
at org.eclipse.epsilon.eol.EolModule.execute(EolModule.java:57)
at org.eclipse.epsilon.eugenia.EolTransformationActionDelegate. runImpl(EolTransformationActionDelegate.java:124)
at org.eclipse.epsilon.eugenia.EolTransformationActionDelegate$ 1.run(EolTransformationActionDelegate.java:61)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
i have no idea what exactly is going wrong here, maybe someone can help me with that?
im running galileo, epsilon version is 0.8.8.200910281243.
thanks in advance
marco
|
|
| | | | | | | | |
Re: Method 'getContainmentReferences' not found (190:38) [message #521621 is a reply to message #521603] |
Thu, 18 March 2010 06:10   |
Eclipse User |
|
|
|
Hi Marin,
Unfortunately, we've not used Eugenia with XSD-generated Ecore models
before so you're breaking new ground here :) In any case, even if
something is not natively supported by the built-in annotations, if you
figure out how to do it in plain GMF, you can then use the approach
discussed in
http://eclipse.org/gmt/epsilon/doc/articles/eugenia-polishin g/ to
reproduce it within Eugenia.
Cheers,
Dimitris
Marin Orlić wrote:
> Hi Dimitrios,
>
> you're right, I was missing some annotations, now it's working.. There
> are some things I'm not sure how to specify - my model is created from
> XSD so the structure isn't what you'd normally expect. For instance, the
> model uses a separate class for labels and stores the labels in a mixed
> attribute which is a EFeatureMapEntry, to have it stored as XML element
> CDATA content.
>
> Do you have any pointers how to handle such stuff?
>
> Thanks,
> Marin
--
Spread the word: http://www.eclipse.org/gmt/epsilon/spreadtheword
Follow Epsilon on Twitter: http://twitter.com/epsilonews
|
|
|
Re: Method 'getContainmentReferences' not found (190:38) [message #521634 is a reply to message #521621] |
Thu, 18 March 2010 07:02   |
Eclipse User |
|
|
|
Dimitrios Kolovos wrote on Thu, 18 March 2010 06:10 | Unfortunately, we've not used Eugenia with XSD-generated Ecore models
before so you're breaking new ground here 
|
Ah, lovely 
Ok, thanks, I'll see what I can make of it! 
Cheers,
Marin.
Quote: |
Marin Orlić wrote:
> Hi Dimitrios,
>
> you're right, I was missing some annotations, now it's working.. There
> are some things I'm not sure how to specify - my model is created from
> XSD so the structure isn't what you'd normally expect. For instance, the
> model uses a separate class for labels and stores the labels in a mixed
> attribute which is a EFeatureMapEntry, to have it stored as XML element
> CDATA content.
>
> Do you have any pointers how to handle such stuff?
>
> Thanks,
> Marin
--
Spread the word: http://www.eclipse.org/gmt/epsilon/spreadtheword
Follow Epsilon on Twitter: http://twitter.com/epsilonews
|
|
|
| | | | | | | |
Re: Method 'getContainmentReferences' not found (190:38) [message #587555 is a reply to message #587550] |
Thu, 18 March 2010 06:10   |
Eclipse User |
|
|
|
Hi Marin,
Unfortunately, we've not used Eugenia with XSD-generated Ecore models
before so you're breaking new ground here :) In any case, even if
something is not natively supported by the built-in annotations, if you
figure out how to do it in plain GMF, you can then use the approach
discussed in
http://eclipse.org/gmt/epsilon/doc/articles/eugenia-polishin g/ to
reproduce it within Eugenia.
Cheers,
Dimitris
Marin Orlić wrote:
> Hi Dimitrios,
>
> you're right, I was missing some annotations, now it's working.. There
> are some things I'm not sure how to specify - my model is created from
> XSD so the structure isn't what you'd normally expect. For instance, the
> model uses a separate class for labels and stores the labels in a mixed
> attribute which is a EFeatureMapEntry, to have it stored as XML element
> CDATA content.
>
> Do you have any pointers how to handle such stuff?
>
> Thanks,
> Marin
--
Spread the word: http://www.eclipse.org/gmt/epsilon/spreadtheword
Follow Epsilon on Twitter: http://twitter.com/epsilonews
|
|
|
Re: Method 'getContainmentReferences' not found (190:38) [message #587565 is a reply to message #521621] |
Thu, 18 March 2010 07:02   |
Eclipse User |
|
|
|
Dimitrios Kolovos wrote on Thu, 18 March 2010 06:10
> Unfortunately, we've not used Eugenia with XSD-generated Ecore models
> before so you're breaking new ground here :)
Ah, lovely :)
Quote:
> In any case, even if something is not natively supported by the built-in annotations, if you
> figure out how to do it in plain GMF, you can then use the approach
> discussed in
> http://eclipse.org/gmt/epsilon/doc/articles/eugenia-polishin g/ to
> reproduce it within Eugenia.
Ok, thanks, I'll see what I can make of it! :)
Cheers,
Marin.
Quote:
> Marin Orlić wrote:
> > Hi Dimitrios,
> >
> > you're right, I was missing some annotations, now it's working.. There
> > are some things I'm not sure how to specify - my model is created from
> > XSD so the structure isn't what you'd normally expect. For instance, the
> > model uses a separate class for labels and stores the labels in a mixed
> > attribute which is a EFeatureMapEntry, to have it stored as XML element
> > CDATA content.
> >
> > Do you have any pointers how to handle such stuff?
> >
> > Thanks,
> > Marin
>
>
> --
> Spread the word: http://www.eclipse.org/gmt/epsilon/spreadtheword
> Follow Epsilon on Twitter: http://twitter.com/epsilonews
|
|
| | | | | | | | | | | |
Goto Forum:
Current Time: Wed Jul 23 19:48:51 EDT 2025
Powered by FUDForum. Page generated in 0.09052 seconds
|