Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » isDirty called to late(only if editor lost focus)
isDirty called to late [message #500273] Wed, 25 November 2009 14:40
Alexander Mack is currently offline Alexander MackFriend
Messages: 100
Registered: July 2009
Senior Member
Hello
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 Smile

Great thanks & best regards
Alex

[Updated on: Wed, 25 November 2009 14:41]

Report message to a moderator

Previous Topic:Double click on white space
Next Topic:Access CreationTool cursor/properties via the CreationToolEntry
Goto Forum:
  


Current Time: Sun Dec 21 16:33:20 GMT 2014

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

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