Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMF (Graphical Modeling Framework) » Custom element editing
Custom element editing [message #197689] Thu, 17 July 2008 10:32
Eclipse UserFriend
Originally posted by: cloud99ie.hotmail.com

Hi,
I'm trying to create a popup box such that when I double click on an
element, it provides a field for each attribute and it can be edited.
Essentially the popup box will have what you would see in the properties
view.

I am using OpenEditPolicy for the double clicks and I have accessed the
diagram element but doExecuteWithResult doesn't seem to get called from my
command class, only the constructor.
The custom behavior is a child of the gen top level node in the genmodel.

I can access the underlying model elements and edit them directly but the
diagram doesn't update, I could update it manually.
So my question is, is it possible to edit the underlying element and the
diagram element at the same time?

ps ( is it ok to change the underlying models directly, I've a feeling
it's not...)

Thanks for any help!

J
Previous Topic:tool groups
Next Topic:Calling a method in the domain object from the editor
Goto Forum:
  


Current Time: Thu Apr 25 22:07:02 GMT 2024

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

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

Back to the top