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.|
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). :)
I'm new to the mailing list and
so I apologize if this is considered some variety of canned "meat".
In DTP, we have a bug
) where it's been noted that a wizard starts in an error condition in
cases. It was mentioned that Eclipse
UI guideline 5.3 (http://wiki.eclipse.org/User_Interface_Guidelines#Initialization_2)
recommends against such a thing, which does make sense.
I've included a screen shot of the
You can clearly see the error noted in the banner at the top of the
The rationale I used for the chunk
code creating this problem is as follows:
1) If there's nothing to select in
combo box, the user has to perform an action (i.e. create the object
would be listed in the combo list) before they can continue, therefore
rather than allowing the user to click Finish and potentially create an
object that would be unusable in an inconsistent state, I block the
from doing that.
2) If there is something to select
the combo box, we automatically select the first item in the list,
clears the error state.
How have other folks dealt with this
case? I could see adding an error/message label beneath the combo box
would note this state, but it would take up real estate better used by
the rest of the wizard page for custom user interface elements. But
than that and the error message in the wizard page banner, I'm at a
Any and all suggestions would be
Eclipse Data Tools Platform PMC Chair
Eclipse Data Tools Platform Connectivity Team Lead
Staff Software Engineer, Sybase, Inc.
ui-best-practices-working-group mailing list
You have brains in your head.
You have feet in your shoes.
- Dr Seuss, Oh the Places You'll Go
Francis Upton IV
Tel 510 835 3123
Fax 510 779 5226
Cell 510 432 1589