Skip to main content



      Home
Home » Modeling » GMF (Graphical Modeling Framework) » Re-generation of gmfgen when gmfmap has changed
Re-generation of gmfgen when gmfmap has changed [message #151761] Thu, 20 September 2007 04:30
Eclipse UserFriend
Originally posted by: mat.loo.gmail.com

Hi,

My old gmfmap looks like that :
TopNodeReference TNR1
- NodeMapping NM1
- ChildReference CR1
- ChildReference CR2
- NodeMapping NM2
- ChildReference CR3
- ChildReference CR4

I changed it to add new objects under NM1, like that
TopNodeReference TNR1
- NodeMapping NM1
- ChildReference CR1
- ChildReference CR2
- ChildReference CR5 *
- ChildReference CR6 *
TopNodeReference TNR2
- NodeMapping NM2
- ChildReference CR3
- ChildReference CR4

When I re-generate my gmfgen, the new file is unconsistent : CR3/CR5 and
CR4/CR6 are mixed, I mean, properties of one are used by the other and
everything is mixed (in particular, ID of GenChildNode in gmfgen are
switched)

When I do a copy of TNR1 (I mean, it targets the same EMF feature), not to
change the order of old objects, everything works "almost" properly ; the
parent of new GenChildNode is not shared...
TopNodeReference TNR1
- NodeMapping NM1
- ChildReference CR1
- ChildReference CR2
TopNodeReference TNR2
- NodeMapping NM2
- ChildReference CR3
- ChildReference CR4
TopNodeReference TNR2_bis *
- NodeMapping NM2_bis *
- ChildReference CR5 *
- ChildReference CR6 *

Am I doing the right way ? Is it a problem to duplicate TNR2 ?

thx
Previous Topic:Programmatically select diagram elements
Next Topic:Make a node fill another nodes compartment
Goto Forum:
  


Current Time: Thu Jul 24 02:25:37 EDT 2025

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

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

Back to the top