|
Re: modeler for large DSL [message #1712589 is a reply to message #1712330] |
Mon, 26 October 2015 16:06 |
|
Hi,
Le 23/10/2015 06:32, Robert Scott a écrit :
> I built a modeler for my first project but there were only 6 element
> types in the schema so I mapped each element to to a graphical element
> and added a create tool for each. Works great.
> Now I need a modeler for a schema with over 200 element types. I can't
> afford to do them 1 by 1. I would like a generic mapping that handles
> any element type and use reflection to determine the attributes and
> contained elements.
It's not the Sirius approach.
>
> I Also need something generic for the tool set.. maybe a create tool
> with a drop-down list of element types or something. I am building a
> diagram with element based edges not a tree.
> I've not been able to get the reflection In Acceleo to do what I need I
> suspect I need to call out to Java.
> Any suggestions appreciated.
The best approach, I imagine, is a "tool" that initializes your VSM
according to your metamodel (1 mapping for each element type, 1 creation
tool for each element type, ...). It is not iterative, but it allows to
initialize the VSM the first time.
>
> Rob
Regards,
--
Laurent Redor - Obeo
Need training or professional services for Sirius?
http://www.obeodesigner.com/sirius
Laurent Redor - Obeo
Need training or professional services for Sirius?
http://www.obeodesigner.com/sirius
|
|
|
Powered by
FUDForum. Page generated in 0.03449 seconds