Custom element editing [message #197689] |
Thu, 17 July 2008 06:32 |
Eclipse User |
|
|
|
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
|
|
|
Powered by
FUDForum. Page generated in 0.02706 seconds