Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMF (Graphical Modeling Framework) » Graphical Modeling Framework/Tips(Graphical Modeling Framework/Tips)
Graphical Modeling Framework/Tips [message #1692754] Fri, 17 April 2015 14:48
Marcelo Salas is currently offline Marcelo SalasFriend
Messages: 1
Registered: April 2015
Junior Member
Hi...

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.
Marcelo
Previous Topic:Conflicting handlers with combined EMF/GMF Editor
Next Topic:GMF multidiagram editor - avoid data lost
Goto Forum:
  


Current Time: Fri Mar 29 07:49:30 GMT 2024

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

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

Back to the top