Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMF (Graphical Modeling Framework) » Getting editpart in DiagramEditor file
Getting editpart in DiagramEditor file [message #234254] Fri, 19 June 2009 12:30 Go to next message
Vikas Goyal is currently offline Vikas GoyalFriend
Messages: 34
Registered: July 2009
Member
Hi ,
My requirnment is I want to do some operation on my elements image on the
editor during save operation. For this we have ***DiagramEditor class in
which performsave() method is there. In this class I want to get the
editpart of root element (or any other element). Using this I want to
perform some operation on my element on the editor. Is this possible, if
yes how I can achieve this. If no what are the other options I have to
achieve this ?

Thanks in advance.

Best Regards,
Vikas
Re: Getting editpart in DiagramEditor file [message #234291 is a reply to message #234254] Fri, 19 June 2009 15:27 Go to previous message
Alexander Shatalin is currently offline Alexander ShatalinFriend
Messages: 2928
Registered: July 2009
Senior Member
Hello Vikas,

You can call ???DiagramEditor.getGraphicalViewer().getRootEditPart()

-----------------
Alex Shatalin
Previous Topic:Link ending in a compartment
Next Topic:Get domain model file in RPC Editor
Goto Forum:
  


Current Time: Tue Apr 07 06:28:06 GMT 2020

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

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

Back to the top