Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » Arrow navigation doesn't jump to next parent
Arrow navigation doesn't jump to next parent [message #244550] Thu, 24 July 2008 22:09 Go to next message
Eclipse UserFriend
Originally posted by: christian.greene.oracle.com

Hi,

My GEF editor displays rows of figures. Each row is a figure using a
horizontal ToolbarLayoutEditPolicy to layout its child figures. The focus
(highlight) on a child figure within the row can be navigated left and
right between its siblings in the same parent figure but the focus will
not "jump" to any figure above or below it in a different parent by using
the Up/Down keys. I am guessing this is as designed.

What is the correct way to change the Up/Down keys' behavior to do this?
Is it to register new actions in my editor's contributor like I do for
various editing behavior, or is there a more focus-nav-oriented framework
a la Swing's FocusTraversalPolicy that I should be looking at? Maybe
GraphicalViewerKeyHandler?
Re: Arrow navigation doesn't jump to next parent [message #244640 is a reply to message #244550] Mon, 28 July 2008 13:59 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: christian.greene.oracle.com

As a follow-up, I am PDE for 3.4. I figured out how to create contexts,
commands and bindings for some special functionality that I wanted and it
seems that I can accomplish what I want with this in a roundabout way.
However, I was hoping for a more specific focus navigation approach. I
will investigate a little further into GraphicalViewerKeyHandler today.
If anyone has any other approaches, I'd like to hear them.
Re: Arrow navigation doesn't jump to next parent [message #244718 is a reply to message #244640] Tue, 29 July 2008 13:48 Go to previous message
Eclipse UserFriend
Originally posted by: christian.greene.oracle.com

Solved it by subclassing GraphicalViewerKeyHandler. It would have been
nice if more methods were exposed (protected) instead of package-level.
Previous Topic:Bacground colour in GEF, behind the grid
Next Topic:Imporved Outline View
Goto Forum:
  


Current Time: Tue Mar 19 02:09:53 GMT 2024

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

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

Back to the top