How to ask the user for changes? [message #261095] |
Tue, 13 July 2004 08:27 |
Eclipse User |
|
|
|
Originally posted by: invalid.soft-gems.net
Hi all,
Assume there is a property sheet page I have created to show some
properties of an object. When the users changes an entry my
IPropertySource implementation is notified. So far so good.
Now I want to ask the user for confirmation about a change he is about to
make. Where would you launch a message box for this confirmation and
cancel the change if the user does not agree? Using
IPropertySource.setPropertyValue is too late. The cell editor already has
stored the new value at this stage. Using ICellEditorValidator.isValid
does not help either because it is called for every key stroke. I have not
found any other possibility to hook in. Can somebody help please?
Mike
--
www.soft-gems.net
|
|
|
Powered by
FUDForum. Page generated in 0.03168 seconds