Skip to main content



      Home
Home » Modeling » GMF (Graphical Modeling Framework) » Opening a diagram through context menu
Opening a diagram through context menu [message #126542] Tue, 15 May 2007 08:32 Go to next message
Eclipse UserFriend
Originally posted by: bhatia1984.yahoo.com

hiiii

I have added a item in context menu of diagram element. What i want is
that when i click on that item a new editor shud gets opened.

rite now on nthng is happening when i click on that context meni item.

cn anybody tell me wht code shud i write.

Thanks
varun Bhatia
Re: Opening a diagram through context menu [message #127071 is a reply to message #126542] Thu, 17 May 2007 07:08 Go to previous message
Eclipse UserFriend
Hello varun,

Ceck generated "OpenDiagramEditPolicy" and copy corresponding logic from
there.

-----------------
Alex Shatalin
Previous Topic:Get a editpart according to a specified attribute value
Next Topic:Moving Index locations of Connections in a diagram
Goto Forum:
  


Current Time: Sun Jun 08 02:22:40 EDT 2025

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

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

Back to the top