Skip to main content



      Home
Home » Eclipse Projects » Sirius » modeler for large DSL(I have over 200 element types in my schema to model.. )
modeler for large DSL [message #1712330] Fri, 23 October 2015 00:32 Go to next message
Eclipse UserFriend
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.

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.

Rob
Re: modeler for large DSL [message #1712589 is a reply to message #1712330] Mon, 26 October 2015 12:06 Go to previous message
Eclipse UserFriend
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
Previous Topic:How to keep the relative position of nodes when copy paste?
Next Topic:Generating the Table Editor code
Goto Forum:
  


Current Time: Thu Jul 24 23:42:26 EDT 2025

Powered by FUDForum. Page generated in 0.06936 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top