Arrow navigation doesn't jump to next parent [message #244550] |
Thu, 24 July 2008 22:09 |
Eclipse User |
|
|
|
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 |
Eclipse User |
|
|
|
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.
|
|
|
|
Powered by
FUDForum. Page generated in 0.03681 seconds