[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
[ui-best-practices-working-group] How to handle errors on PropertyPage.apply?
|
Hi all,
A UI best practice related question came up in the context
of
Here is the background:
-
We use a Property Page to show and modify file access permissions (UNIX
drwxrwxrwx).
-
When user changes the flags and presses apply, the actual chmod might
fail due to missing permissions.
-
How to handle the error from inside the Property
Dialog?
We see several options here:
-
Dont display any error but silently restore the flags to what they were
before Apply. Keeps the dialog clean so other property pages can be switched
to, but does not give any information what exactly failed and why. Eclipse
Resource Properties currently work that way.
-
Show error message in a sub-dialog, and restore flags to what they were
before the error when user accepts the dialog. Advantage is that the dialog is
clean so other property pages can be switched to. Windows Explorer works that
way, but is it OK for Eclipse?
-
Set the error message directly in the Property Dialog. Users cannot
switch to other pages unless they manually "Restore Defaults" or change
anything else in the flags to try again. Seems more Eclipse-like, but less
intuitive than (2) to me.
My personal favorite here is (2) but I'm not aware of any
other Eclipse dialog which works that way.
Would anyone in this group want to give
advice?
Thanks,
--
Martin Oberhuber, Senior Member of Technical
Staff, Wind River
Target Management Project
Lead, DSDP PMC Member
In one of the recent UI
walkthrough's I promised to donate one hour of my time to do a UI eval of...
something.
I think it was for this
call: http://wiki.eclipse.org/XSL_Tools_UI_Preferences_Review.
Can who ever I promised that to please
refresh my memory? :)
Thanks,
Kevin