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

Bug 438074

Summary: Creation of Initializer to VSM
Product: [Modeling] Sirius Reporter: João Martins <joaomartins27396>
Component: DiagramAssignee: Project Inbox <sirius.diagram-inbox>
Status: RESOLVED WONTFIX QA Contact:
Severity: enhancement    
Priority: P3 CC: maxime.porhel, pierre-charles.david
Version: 1.0.0M7Keywords: triaged
Target Milestone: ---   
Hardware: PC   
OS: Windows 7   
Whiteboard:
Attachments:
Description Flags
Diagram Pattern
none
GSOC2014 Documentation none

Description João Martins CLA 2014-06-24 12:45:42 EDT
To this bug it will needed the creation of new action, command and wizard to help the specifier to initialize common representations descriptions.

The wizard could allow to select one identified pattern and configure the expected result: one common delete or edit tool for example.

The “Initializer” will produce a skeleton of representation description corresponding to the selected pattern (default id, default styles, relations between mappings and tools/other mappings).
Comment 1 João Martins CLA 2014-06-27 12:22:47 EDT
Created attachment 244612 [details]
Diagram Pattern

The file added is a Diagram Pattern with a mapping to display the package and class, Element and Relation Edge Mapping and tools with Delete Element, Direct Edit label, Node Creation and Container Creation.
Comment 2 João Martins CLA 2014-06-30 02:58:21 EDT
I don't want to say there is a "class" list mapping with an list element "attribute" and that there is one "inheritance" relation edge mapping and a "Reference" element based edge mapping. Node edge mappings are linked to the Class mapping.
On "package" where it reuse the "class mapping" to allowing to display another hierarchy level.
The pattern can correspond to a mapping of a ECoreTools or UML designer VSM.
Comment 3 Maxime Porhel CLA 2014-08-18 11:03:58 EDT
See João proposed patches on https://git.eclipse.org/r/#/c/30946/
Comment 4 João Martins CLA 2014-08-18 13:56:04 EDT
Created attachment 246105 [details]
GSOC2014 Documentation