|
Re: showing focus indication on the canvas [message #115782 is a reply to message #115689] |
Thu, 05 February 2004 01:42 |
Eclipse User |
|
|
|
Originally posted by: none.us.ibm.com
I've always thought this was application specific. For example, in IBM's
page designer, a Caret is used to indicate that the graphical viewer has
focus. We do have focus support built into some of our handle editpolicies,
but they only start showing up when the user uses the keyboard to select
editparts. For example, CTRL+ARROW to place focus on a node, and CTRL+/ to
place focus on a connection. The focus indicators are great for this type
of use, but for mouse users the dotted lines are just distracting.
I'm not really sure what the right thing here is, and will be UCD for help.
You can always simply add an SWT focus listener to the SWT Canvas, and when
focus is active, draw some border around the entire viewer, similar to how
workbench part's indicate their active. Another possibility is that we make
our focus outlines more subtle somehow, and show them even when keyboard
interaction isn't used.
"Ray Tsui" <Raymond_Tsui@ca.ibm.com> wrote in message
news:d2q220le15r2rbbfqfocic54ti9kjpkiqb@4ax.com...
> I noticed in the examples that if you tab around to the editor canvas,
> it does not seem to show any indication that the canvas is focussed
> Is there a reason why the editor does not show any kind of focus?
|
|
|
Powered by
FUDForum. Page generated in 0.03350 seconds