Skip to main content

[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
https://bugs.eclipse.org/bugs/show_bug.cgi?id=234045#c7
 
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:
  1. 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.
  2. 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?
  3. 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
http://www.eclipse.org/dsdp/tm
 
 


From: ui-best-practices-working-group-bounces@xxxxxxxxxxx [mailto:ui-best-practices-working-group-bounces@xxxxxxxxxxx] On Behalf Of Kevin McGuire
Sent: Friday, August 15, 2008 3:31 AM
To: User Interface Best Practices Working Group
Subject: [ui-best-practices-working-group] I promised a one hour review


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

Back to the top