|isDirty called to late [message #500273]
||Wed, 25 November 2009 14:40
| Alexander Mack
Registered: July 2009
I am writing an graphical editor based on gef.
At the moment I am trying to save states of my model if the commandStack is dirty. Everything is working fine so far but one problem is left.
Here is an example:
I change the size of an view element. Now after that change I want the editor to be dirty. But the editor only recognizes changes if it lost focus completly.
Saving is the same problem. I save changes and the editor only recognizes the new "not dirty" state after it gets focus back.
BTW: The little * nest to the editors name does not appear at all...
How can I change that? I think its very important to mark the editor as dirty after every simple change and not at least if it lost focus or sth. like that..
I would appreciate any help
Great thanks & best regards
[Updated on: Wed, 25 November 2009 14:41]
Report message to a moderator
Powered by FUDForum
. Page generated in 0.01570 seconds