Bug 390319 - Allow DI-based customization of the generated code
Summary: Allow DI-based customization of the generated code
Status: NEW
Alias: None
Product: GMF-Tooling (ARCHIVED)
Classification: Modeling
Component: Generation / Templates (show other bugs)
Version: 3.1   Edit
Hardware: PC Mac OS X
: P2 normal (vote)
Target Milestone: 3.1M4   Edit
Assignee: Michael Golubev CLA
QA Contact:
URL:
Whiteboard: Extensibility
Keywords: plan
Depends on:
Blocks:
 
Reported: 2012-09-25 06:26 EDT by Michael Golubev CLA
Modified: 2013-06-06 06:38 EDT (History)
1 user (show)

See Also:
borlander: kepler-


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Golubev CLA 2012-09-25 06:26:41 EDT
Actually the main intended way of tweaking of the generated diagram code is the using of the @generated NOT tags for custom code. 

Additionally there is a way of using GMF-Runtime providers extension points for replacing the big chunks of the generated functionality, but experience shows that it is too high level and allows to replace/tweak only big chunks of the generated functionality. 

While GMFT recognizes @generated NOT as a sometimes inevitable escape for toolsmith, we should consider using the DI-based way of the customization targeting complete separation between the generated and customized code, similar to how it is done in XText.
Comment 1 Michael Golubev CLA 2012-11-14 08:10:57 EST
Not ready for M3, moving to M4 now
Comment 2 Michael Golubev CLA 2013-06-06 06:38:26 EDT
Deferred to 4.0