Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 361848

Summary: GMF Bridge generates wrong number of GenCompartment from CompartmentMapping in gmfgen
Product: [Modeling] GMF-Tooling Reporter: Guillaume Hillairet <g.hillairet>
Component: Generation / TemplatesAssignee: Guillaume Hillairet <g.hillairet>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: borlander
Version: unspecified   
Target Milestone: 3.0   
Hardware: Macintosh   
OS: Mac OS X   
Whiteboard:
Attachments:
Description Flags
Test map model
none
Test genmodel
none
Test domain model
none
Test tool model
none
Test graph model
none
Test output gmfgen model
none
Patch that fixes the number of GenCompartment created from CompartmentMapping
none
Patch that fixes the number of GenCompartment created from CompartmentMapping
none
mylyn/context/zip none

Description Guillaume Hillairet CLA 2011-10-24 14:26:57 EDT
The java version of the gmf bridge (gmfgraph -> gmfgen) generates wrong number of GenCompartment from CompartmentMapping.
Comment 1 Guillaume Hillairet CLA 2011-10-24 14:27:51 EDT
Created attachment 205853 [details]
Test map model
Comment 2 Guillaume Hillairet CLA 2011-10-24 14:28:24 EDT
Created attachment 205854 [details]
Test genmodel
Comment 3 Guillaume Hillairet CLA 2011-10-24 14:28:59 EDT
Created attachment 205855 [details]
Test domain model
Comment 4 Guillaume Hillairet CLA 2011-10-24 14:29:22 EDT
Created attachment 205856 [details]
Test tool model
Comment 5 Guillaume Hillairet CLA 2011-10-24 14:29:54 EDT
Created attachment 205857 [details]
Test graph model
Comment 6 Guillaume Hillairet CLA 2011-10-24 14:32:38 EDT
Created attachment 205858 [details]
Test output gmfgen model
Comment 7 Guillaume Hillairet CLA 2011-10-24 14:34:21 EDT
Test model showing that the java version of gmf bridge creates 4 GenCompartments from 3 CompartmentMapping.
Comment 8 Guillaume Hillairet CLA 2011-10-25 10:07:44 EDT
Created attachment 205918 [details]
Patch that fixes the number of GenCompartment created from CompartmentMapping
Comment 9 Guillaume Hillairet CLA 2011-10-25 10:36:34 EDT
Created attachment 205921 [details]
Patch that fixes the number of GenCompartment created from CompartmentMapping

Creates map of CM -> GC. Check if CompartmentMapping has not already been created, if not, creates a GenCompartment and update the map.
Comment 10 Guillaume Hillairet CLA 2011-10-25 10:36:36 EDT
Created attachment 205922 [details]
mylyn/context/zip
Comment 11 Michael Golubev CLA 2012-05-30 01:27:44 EDT
batch update: Verified in RC2
Comment 12 Michael Golubev CLA 2012-05-30 01:33:42 EDT
verified in RC2