Using graphical ecore editor 3.2 -> 3.3M / Incrementally create DSL GMF Editor [message #126764] |
Wed, 16 May 2007 08:37  |
Eclipse User |
|
|
|
hey folks,
this is basically the same problem I noticed in some GMF Tutorials.
Example:
I made an Ecore model in Eclipse 3.2 using the shipped graphical ecore
editor (GEE). Afterwards I opened the same metamodel (*.ecore_diagram)
in the GEE from eclipse 3.3M-something, draw a new association and
realized that it shows the multiplicity of the edge. So far so good.
Here's the problem:
it just shows the multiplicity for the new associations, not for the old
ones. (in this case I can simply create a new ecore_diagram and
rearrange everything)
I guess the reason is the same like following example I noticed from the
GMF Tutorials:
I created a mini-Domain Specific Modeling (DSM) tool with a container.
When I tested it, I created a diagram with a Container C1. Happy, I
added a compartment to the Container class to take Actions. Again, I've
re-build my editor, opened the same file as before and tried to add
actions to C1 ... impossible. Quite a while later I realized that when I
add another container C2 it accepts my actions (because I created C2
with my new Editor). Can someone explain to me what's going on there,
and how I can incrementally build a graphical editor without forcing the
"customers" to throw there old models away each "release"?
P.S. If I open the new ecore_diagram in the old 3.2 GEE, instead of the
correct association I find a label "Invalid View- remove from Diagram".
Thanks so far
stefan
|
|
|
|
|
Re: Using graphical ecore editor 3.2 -> 3.3M / Incrementally createDSLGMF Editor [message #129859 is a reply to message #129525] |
Fri, 25 May 2007 05:16  |
Eclipse User |
|
|
|
Hello SKuhn,
> yes, got it now (at least I see some .trace files after I changed
> something). But I've got no idea what to do with them.
If you have .trace file created by gmfmap -> gmfgen transformation (diagram
editor version-1) then next transformation (diagram editor verison-2) should
not break anything ie most of the existing diagrams created by version-1
should be opennable in version-2 still to some extent.
>> you should take care on updating old diagram before openning it in a
>> new diagram editor.
> How do I do these updates?
Correct diagram structure before openning the diagram in new editor. This
should be manually written code..
-----------------
Alex Shatalin
|
|
|
Powered by
FUDForum. Page generated in 0.03938 seconds