Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMF (Graphical Modeling Framework) » Using graphical ecore editor 3.2 -> 3.3M / Incrementally create DSL GMF Editor
Using graphical ecore editor 3.2 -> 3.3M / Incrementally create DSL GMF Editor [message #126764] Wed, 16 May 2007 12:37 Go to next message
Stefan Kuhn is currently offline Stefan KuhnFriend
Messages: 355
Registered: July 2009
Senior Member
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 create DSLGMF Editor [message #127132 is a reply to message #126764] Thu, 17 May 2007 11:58 Go to previous messageGo to next message
Alexander Shatalin is currently offline Alexander ShatalinFriend
Messages: 2928
Registered: July 2009
Senior Member
Hello SKuhn,

> 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,
Do you have org.eclipse.gmf.bridge.trace plugin in your workspace? It can
help you a little bit.

> and how I can incrementally build a graphical editor without forcing
> the "customers" to throw there old models away each "release"?
If you are changing diagram elemetns from version to version in a way that
you are adding some more graphical elements (compartments, labels, ...) you
should take care on updating old diagram before openning it in a new diagram
editor.

-----------------
Alex Shatalin
Re: Using graphical ecore editor 3.2 -> 3.3M / Incrementally create DSLGMF Editor [message #129525 is a reply to message #127132] Thu, 24 May 2007 14:59 Go to previous messageGo to next message
Stefan Kuhn is currently offline Stefan KuhnFriend
Messages: 355
Registered: July 2009
Senior Member
Hey Alex,

> Do you have org.eclipse.gmf.bridge.trace plugin in your workspace? It
> can help you a little bit.
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.

> you should take care on updating old diagram before openning it in
> a new diagram editor.
How do I do these updates?

-stefan


Alex Shatalin schrieb:
> Hello SKuhn,
>
>> 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,
> Do you have org.eclipse.gmf.bridge.trace plugin in your workspace? It
> can help you a little bit.
>
>> and how I can incrementally build a graphical editor without forcing
>> the "customers" to throw there old models away each "release"?
> If you are changing diagram elemetns from version to version in a way
> that you are adding some more graphical elements (compartments, labels,
> ...) you should take care on updating old diagram before openning it in
> a new diagram editor.
>
> -----------------
> Alex Shatalin
>
>
Re: Using graphical ecore editor 3.2 -> 3.3M / Incrementally createDSLGMF Editor [message #129859 is a reply to message #129525] Fri, 25 May 2007 09:16 Go to previous message
Alexander Shatalin is currently offline Alexander ShatalinFriend
Messages: 2928
Registered: July 2009
Senior Member
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
Previous Topic:Changing Figure on Selection?
Next Topic:Problems displaying diagrams with >= 2^12 elements
Goto Forum:
  


Current Time: Fri Aug 16 19:38:19 GMT 2024

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

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

Back to the top