This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 88945 - Tab action to navigate through diagam node tree
Summary: Tab action to navigate through diagam node tree
Status: VERIFIED FIXED
Alias: None
Product: soa
Classification: Unclassified
Component: BPEL (show other bugs)
Version: 5.x
Hardware: All All
: P1 blocker (vote)
Assignee: Vitaly Bychkov
URL: http://xdesign-tools.czech.sun.com:80...
Keywords:
Depends on:
Blocks: 87873 89926
  Show dependency tree
 
Reported: 2006-11-08 15:17 UTC by Michael Frisino
Modified: 2006-12-22 00:31 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Frisino 2006-11-08 15:17:43 UTC
Use case - user wishes to avoid useing mouse to select Diagram elements. User
wishes to use keyboard. 

Recommendation -
 
Tab - depth first traversal of diagram node tree
Shift-Tab - reverse order traversal

See Mattisse UI for example.

Issues and questions:
If current node is collapsed, shoud the Tab action auto-expand it for deep
traversal. I think we should skip to next visible node and not auto-expand the
collapsed node.
Comment 1 Michael Frisino 2006-11-08 15:20:09 UTC
Question - should up arrow and down arrow also provide traversal? 
In Matisse UI builder, the up and down arrow do NOT provide traversal.
Comment 2 Vitaly Bychkov 2006-11-24 13:46:22 UTC
IMHO using arrow keys is more comfortable and user friendly way.
So I think that we should use up and down arrows to provide traversal.

Also IMO next usual actions should be supported too:
"Page Up" and "Page Down" actions
"ctrl+HOME" and "ctrl+END" - correspondingly top and bottom of the document 

We have special action to collapse/expand nodes, so tab shouldn't perform it in 
order don't confuse user.
We can add shortcuts for these actions. 
Generally in Jtree right and left arrows perform expand collapse operations.

But there is a Question: should we use left/right arrow to switch selection 
to the more left/right element ?


But in case of diagramm we can use right/left arrow to switch selections to 
more right/left elements.
So What kind of actions should we use for left/right arrows ?
I prefer mentioned way in this case e.g. "ctrl right" and "ctrl left" actions 
could perform expand/collapse operations.
Comment 3 Vitaly Bychkov 2006-12-19 12:57:33 UTC
Done
Comment 4 _ hong_lin 2006-12-22 00:31:15 UTC
Verified the feature is implemented in Gavotte nightly build 061221_12.