Diagram Runtime Class must be a notation::Diagram or sub-class [message #235279] |
Sun, 05 July 2009 15:45 |
Bill Hinge Messages: 156 Registered: July 2009 |
Senior Member |
|
|
Hi
I developed my DSL originally using the Amalgam toolkit, latest version.
However, when I import my projects from Amalgam to Galileo and run the
genmodel I get an error straight away
Source generator model is not completely ok, would you like to proceed?
Reason
Diagnosos of Gen Editor ...
In the details there is a lot of validation fails unexpectedly for 'Gen
Diagram ..'
Diagram Runtime Class must be a notation::Diagram or sub-class
for every node & container.
This works in Amalgam, if I generate plugins in Amalgam and load them in
Galileo they work. I developed my UI on Galileo since I used m2t Xpand
and MWE and I couldn't install m2t xpand on amalgam. If I run the
imported projects in the Galileo runtime, no problem. Only regenerating
causes a problem. All validations are OK.
From my use of mwe & xpand I recognise notation::Diagram as something
from notation.ecore in the GMF runtime. Any idea whats wrong - config?
regards
Steve
|
|
|
|
|
|
|
|
|
Re: Diagram Runtime Class must be a notation::Diagram or sub-class [message #235908 is a reply to message #235868] |
Fri, 10 July 2009 09:43 |
Bill Hinge Messages: 156 Registered: July 2009 |
Senior Member |
|
|
Alex Shatalin wrote:
> Hello Bill,
>
>> href=" ../../../plugin/org.eclipse.gmf.runtime.notation/model/notat ion.
>> genmodel#//notation/Node"/>
> it's relative reference from the URI of the current file to
> platform:/plugin...
>
> -----------------
> Alex Shatalin
>
>
Thanks Alex
I think I may have found something.
I noticed that when I imported on a clean copy of amalgam everything
works fine.
But I have two projects which use the same ecore,genmodel but have
different names and ID's etc. When only one set of projects is open
everything is fine, but if I open both my editors show errors. (both
are based on the EMF-GMF joint domain). It seems if I stay on amalgam
and only keep one open then I'm OK. Presumably a config issue?
One project was the original, the other was refactored from the other
(I changed the id's etc)
regards
Steve
|
|
|
Powered by
FUDForum. Page generated in 0.02388 seconds