Bug 129328 - GMFGraph codegeneration to handle IMapMode using configurable way
Summary: GMFGraph codegeneration to handle IMapMode using configurable way
Status: RESOLVED FIXED
Alias: None
Product: GMF-Tooling (ARCHIVED)
Classification: Modeling
Component: Core (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Michael Golubev CLA
QA Contact:
URL:
Whiteboard:
Keywords: contributed
Depends on:
Blocks:
 
Reported: 2006-02-24 07:25 EST by Michael Golubev CLA
Modified: 2010-07-19 22:17 EDT (History)
0 users

See Also:


Attachments
It should fix the subj (25.72 KB, patch)
2006-02-24 08:50 EST, Michael Golubev CLA
no flags Details | Diff
Tests for subj (5.82 KB, patch)
2006-03-23 12:52 EST, Michael Golubev CLA
no flags Details | Diff
Tests for subj (6.18 KB, patch)
2006-03-24 11:35 EST, Michael Golubev CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Golubev CLA 2006-02-24 07:25:49 EST
The handling of the runtime mapping mode (IMapMode) should be configurable during code-generation of the figures code. 

Currently, figures are generated as inner classes and the generator inserts "getMapMode()" calls into generated code in hope that this method is declared somehwere in the outer class.
 
This should be configurable -- in addition to current one, possible other strategies are :
1. Convert between device and logical units during codegeneration, 
2. Delegate conversion in runtime to some MapMode instance explictly stored somewhere, 
etc
Comment 1 Michael Golubev CLA 2006-02-24 08:50:56 EST
Created attachment 35297 [details]
It should fix the subj
Comment 2 Michael Golubev CLA 2006-03-23 12:52:36 EST
Created attachment 36822 [details]
Tests for subj

Please note that this patch may be applied ONLY after the patch for #131366. 
This patch contains manually created diff against revision described by the patch for #131366
Comment 3 Michael Golubev CLA 2006-03-24 11:35:02 EST
Created attachment 36892 [details]
Tests for subj

Updated version due to changes in the fix for #131366
Comment 4 Artem Tikhomirov CLA 2006-03-30 08:50:56 EST
reviewed and committed
Comment 5 Eclipse Webmaster CLA 2010-07-19 22:17:42 EDT
[GMF Restructure] Bug 319140 : product GMF and component
Generation was the original product and component for this bug