Skip to main content



      Home
Home » Modeling » GMF (Graphical Modeling Framework) » Accessing and Editing Diagram Element Properties
Accessing and Editing Diagram Element Properties [message #167116] Mon, 07 January 2008 10:18 Go to next message
Eclipse UserFriend
Originally posted by: john.blutarsky.hotmail.com

Hello everyone,

For my editor I would like to have some universal properties that can be
accessed from other parts of the editor. For example I have a drop down
list and would like to be able to store (and edit) this list somewhere.

I though that the properties of the Diagram Element (overall diagram
element) would be a good place for this to exist as the properties would
be unique to each diagram created.

My problem is that I do not know how to access these properties
programmatically. I can access the nodes properties that are created as
they are highlighted for access but this does not translate well to
accessing the properties of the main body.

I have a menu extension point set up to try and get to the properties but
haven't figures out how to access the properties.

possibly using OpenEditPolicy? (although I'm not sure how this would work
with IAction)


Thanks for your help.

John
HELP: Accessing and Editing Diagram Element Properties [message #169243 is a reply to message #167116] Tue, 22 January 2008 08:21 Go to previous message
Eclipse UserFriend
Originally posted by: john.blutarsky.hotmail.com

Hello again,

I still have not been able to solve this problem. Would someone be able to
help me out.

All I need to do is access update the properties of the main
diagram/canvas/area where diagram elemets are placed.

I need to be able to do this from an extention point I have created in the
menu of the editor.


Thanks for your help.

John
Previous Topic:How can modify I the cell editor of the property view in GMF?
Next Topic:Connection deletion
Goto Forum:
  


Current Time: Sun May 11 19:29:38 EDT 2025

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

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

Back to the top