Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [ui-best-practices-working-group] Question about how to handle best practice


Thanks guys... So you'd recommend something along these lines:



Brian Fitzpatrick
Eclipse Data Tools Platform PMC Chair
Eclipse Data Tools Platform Connectivity Team Lead
Staff Software Engineer, Sybase, Inc.



Boris Bokowski <Boris_Bokowski@xxxxxxxxxx>
Sent by: ui-best-practices-working-group-bounces@xxxxxxxxxxx

12/10/2008 11:46 AM

Please respond to
User Interface Architecture Working Group        <ui-best-practices-working-group@xxxxxxxxxxx>

To
User Interface Architecture Working Group <ui-best-practices-working-group@xxxxxxxxxxx>
cc
Subject
Re: [ui-best-practices-working-group] Question about how to        handle        best practice





Francis Upton wrote on 12/10/2008 01:19:40 PM:
> What I have done in this case, is to have the message appear as it
> is, but just without the error icon (when the dialog is first
> presented), you can use an info icon I think.  I think the message
> at the top is useful.  Then if the user does something to cause the
> selection to be empty, it can have the error icon like it does now.


Yes, this is what the Platform and JDT wizards are doing. We start out with an INFO rather than ERROR status. Finish and Next would be disabled of course. If the user enters something and then clears again, you would show an ERROR status.

> It's sometimes unpleasant to do all of the special handling for
> these cases, and I don't know of a standard easy pattern (other than
> the first time flag). :)


If your wizard uses data binding, org.eclipse.jface.databinding.wizard.WizardPageSupport does all that special handling for you. See also org.eclipse.jface.examples.databinding.snippets.Snippet014WizardDialog in org.eclipse.jface.examples.databinding.


Boris

_______________________________________________
ui-best-practices-working-group mailing list
ui-best-practices-working-group@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/ui-best-practices-working-group


Back to the top