Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMF (Graphical Modeling Framework) » Adding action to Diagram Editor
Adding action to Diagram Editor [message #94721] Sat, 20 January 2007 10:30 Go to next message
sandip is currently offline sandipFriend
Messages: 54
Registered: July 2009
Member
Hi,

Is it possible to double click the main diagram editor so that I can have a
dialog. I tried with OpenEditPolicy, OpenDiagramEditPolicy..Not able to do
that..I think I m wrong using them.

Plz help me regarding the above.

Regards,
Sandip
Re: Adding action to Diagram Editor [message #95054 is a reply to message #94721] Mon, 22 January 2007 13:43 Go to previous message
Alexander Shatalin is currently offline Alexander ShatalinFriend
Messages: 2928
Registered: July 2009
Senior Member
Hello Sandip,

Please check org.eclipse.gmf.ecore.edit.policies.OpenDiagramEditPolicy from
the sampel Ecore diagram project. This class is responsible for openning
subpackage diagram on double-clicking to the package node, so looks like
functionality you need is very similar to this one.

-----------------
Alex Shatalin
Previous Topic:minor bugs in GMF Tutorial Part 3
Next Topic:Creating Flexible link as in Mind map Example
Goto Forum:
  


Current Time: Sat Aug 31 22:44:08 GMT 2024

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

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

Back to the top