[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
|
[news.eclipse.tools] isDirty update
|
- From: pebraert@xxxxxxxxx (Peter Ebraert)
- Date: Thu, 1 May 2003 16:38:47 +0000 (UTC)
- Newsgroups: eclipse.tools
- Organization: http://www.eclipse.org
- User-agent: NewsPortal 0.23
Hello,
I have a multipage editor. One page has an XML editor attached to it to
display the source of the file (the source page).
The second page (the overview page) shows a form view (a lot of widgets)
on that XML file. When the user changes something in that form, an isDirty
field of the MultiPageEditor is set to true.
The MultiPageEditor's isDirty() method uses that isDirty value to decide
whether the file is dirty.
When the user changes makes some changes in the form, and then changes
from the overview page to the source page, the title of the editor gets
the * at the beginning of it. That is cool and OK.
But I'd like to see that * to indicate something was changed, imediately
after the user modifies something in the form. Can somebody tell me how to
do that?
Thanks,
Peter