Bug 430676

Summary: Redistribute the diagram-specific code into the UI and non-UI plug-ins
Product: [Modeling] Sirius Reporter: Pierre-Charles David <pierre-charles.david>
Component: DiagramAssignee: Project Inbox <sirius.diagram-inbox>
Status: NEW --- QA Contact:
Severity: enhancement    
Priority: P3 CC: alex.lagarde
Version: 1.0.0M7Keywords: triaged
Target Milestone: ---   
Hardware: All   
OS: All   
See Also: https://bugs.eclipse.org/bugs/show_bug.cgi?id=431359
Whiteboard:

Description Pierre-Charles David CLA 2014-03-19 05:07:12 EDT
Now that the physical split of the diagram code out of the core plug-ins has been merged (see bug 427803), we have two diagram-specific plug-ins and 4 source folders (excluding the src-gen).

We should redistribute this code and refactor it properly, with the objective of:
1. removing all UI dependencies from the org.eclipse.sirius.diagram plug-in;
2. moving as much code (and thus functionalities) as possible into this non-UI plug-in.


Note that although the GMF-related parts were generated using GMF Tooling a long time ago (mostly for initialization purpose), the code has diverged significantly since then. We do not support regenerating it (the corresponding models were not even conttributed to Sirius). This means we should not refrain from aggressive refactorings in these parts of the code: we do not have to follow the patterns which come from the GMF Tooling generation. As long as the result works fine with GMF Runtime, do not hesitate to split/remove/move/factor common code, etc. in these parts.