Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMF (Graphical Modeling Framework) » How to customize GMF editors with nodes to have particular behavior(Case 1: Node represents another diagram, Case 2: Node is shared between diagrams)
icon5.gif  How to customize GMF editors with nodes to have particular behavior [message #664166] Thu, 07 April 2011 17:11 Go to next message
LD  is currently offline LD Friend
Messages: 28
Registered: March 2011
Junior Member
Hi everyone.

I'm writing to post some questions about how to do particular customizations of GMF editors with special nodes "behavior" or interaction.

Situation A Making multiple models of the same type (using the same editor).

Case 1: Node ("Subdiagram Object") represents another diagram. (See figure)


http://www.uploadimage.com.ar/images/48643922421650083595.png


- Question 1.1. How can I include such Node ("Subdiagram Object")?
- Question 1.2. How do I make this node to open the diagram, should it be set of templates (EditPolicie, Edithelpers, Navigation, Commands)?


Case 2: Node ("Link Object") is shared between diagrams(See figure)

http://www.uploadimage.com.ar/images/52504272490519112701.png

- Question 2.1. How can I include such Node ("Subdiagram Object")? By using [url=http://wiki.eclipse.org/GMF_Tutorial_Part_2#Shortcuts]"GMF Shourtcuts"[/url] in Eclipse 3.6 SR2, this works the first time. Then if any of the diagrams is closed o modified the shortcut dissapears. Any ideas?


Situation B Making multiple models of different types with nodes in common(using 2 editors).
In the previous case I was talking about diagrams modeled in the same editor. Now I change the situation, to diagrams modeled one in editor 1 and the other in editor 2. Both diagrams share an object element that could be either the observed in case 1 or the one in case 2.

- Question 3.1. Is possible to achieve this? And what will be required different from Situation A, perhaps the fact of having two editors and in both of them the node in common.
- Question 3.2. Could it be possible not to have the node in common in  both editors, or is mandatory?


Thanks in advance.
Regards.
Re: How to customize GMF editors with nodes to have particular behavior [message #664363 is a reply to message #664166] Fri, 08 April 2011 14:46 Go to previous message
Elhamlaoui Mahmoud is currently offline Elhamlaoui MahmoudFriend
Messages: 268
Registered: March 2010
Senior Member
Hi,

may be those Links could help you is discuss some points of your questions :

http://dev.eclipse.org/newslists/news.eclipse.modeling.gmf/m sg03714.html
http://www.jevon.org/wiki/GMF_Diagram_Partitioning
Previous Topic:Customize GMF editors
Next Topic:How to get notation by domain model element?
Goto Forum:
  


Current Time: Thu Apr 25 22:05:17 GMT 2024

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

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

Back to the top