Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMF (Graphical Modeling Framework) » Double click on a node and open another diagram
Double click on a node and open another diagram [message #121712] Wed, 25 April 2007 12:33 Go to next message
Eclipse UserFriend
Originally posted by: ed.klaus.gmail.com

Hi,

I am trying to implement the functionality of double clicking on a node
and get another diagram. I used the taipan example to watch how it's
getting done.
The Problem: When I try to generate the diagram code for the diagram to
open on double click I get a new project in eclipse called the same as
if I genaret the diagram code for the main diagram. In the taipan
exmaple there are two diagram code projects '...taipan.diagram' and
'...taipan.port.diagram'. I try to do it from the *.gmfgen context menu
'Generate diagram code'. Is there mybe another way to do that and choose
another name for the diagram code?

Thank you,
Ed
Re: Double click on a node and open another diagram [message #121742 is a reply to message #121712] Wed, 25 April 2007 13:08 Go to previous message
Alexander Shatalin is currently offline Alexander ShatalinFriend
Messages: 2928
Registered: July 2009
Senior Member
Hello Edmund,

You have to modify "ID" property of GenPlugin instance in your .gmfgen model
and then re-generate code ( http://wiki.eclipse.org/index.php/GMF_GenModel_Hints#GenPlug in).

-----------------
Alex Shatalin
Previous Topic:Initialize diagral functionality
Next Topic:How to integrate the plugin propsheet in my model
Goto Forum:
  


Current Time: Wed Jan 15 11:22:07 GMT 2025

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

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

Back to the top