Setting dirty flag [message #25300] |
Tue, 22 August 2006 07:12  |
Eclipse User |
|
|
|
Originally posted by: zsolt.sandor.gmail.com
Hi all!
I run into an other problem. We have a property dialog box
for every graphical element, which can be selected by the user
using the right mouse button -> context menu -> item sequence.
After the user press the ok on the dialog box, the data will
be copied to the representing emf model.
Before the user opens the dialog, we set the emf model regarding
to the graphical element:
- window variable is the graphical window
NodeImpl graphicalElement = (NodeImpl) mySelectedElement.getModel();
window.setModelFilter(graphicalElement.getElement());
window.setSize(580, 480);
shell.pack();
shell.open();
However the model change does not implies the change of the
dirty flag. Can we somehow force the diagram editor to set
the dirty flag?
Thanks:
Zsolti
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.04121 seconds