|Graphical Modeling Framework/Tips [message #1692754]
||Fri, 17 April 2015 14:48
| Marcelo Salas
Registered: April 2015
I'm a newbie using GMF installed in my Eclipse Modeling Tools for Luna. I built my first application with GMF succesfully but I want to improve it. I was reading GMF Tips (eclipse.org/Graphical_Modeling_Framework/Tips#Creating_New_Elements_And_Corresponding_Views), and I wanted to implement the snippets 1 Creating New Elements And Corresponding Views and 2 Change Names Of Newly Created Elements, but I don't know where in my GMF Diagram code? .
I would like to implement 2 funcionalities for 4 kind of nodes in my editor:
1.- Create new nodes with default attribute name concatenate a sequential number, example: Method1, Method2, ... MethodN, for other node ListRule1, ListRule2..... ListRuleN, etc.
2.- For these nodes create default child items showing in a child compartment, for example Method1 Default Child Items: Parameter1, Parameter2.
Any comments or experience will be of great help.
Thanks in advance.
Powered by FUDForum
. Page generated in 0.01224 seconds