Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » showing focus indication on the canvas
showing focus indication on the canvas [message #115689] Wed, 04 February 2004 21:49 Go to next message
Ray Tsui is currently offline Ray TsuiFriend
Messages: 21
Registered: July 2009
Junior Member
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?
Re: showing focus indication on the canvas [message #115782 is a reply to message #115689] Thu, 05 February 2004 01:42 Go to previous message
Eclipse UserFriend
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?
Previous Topic:Can I have a Palette in its own View
Next Topic:GEF multi editor page
Goto Forum:
  


Current Time: Sat Nov 09 00:24:28 GMT 2024

Powered by FUDForum. Page generated in 0.03350 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top