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 147102 - Add WidgetAction to move nodes by using the keyboard
Summary: Add WidgetAction to move nodes by using the keyboard
Status: NEW
Alias: None
Product: platform
Classification: Unclassified
Component: Graph (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker (vote)
Assignee: issues@platform
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-09-12 15:21 UTC by Trey Spiva
Modified: 2008-09-12 15:22 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 Trey Spiva 2008-09-12 15:21:54 UTC
The UML team has created a WidgetAction that can be used to move a node around a scene via keystrokes.  The nice thing about this action is that it uses the 
same provider and strategy as the MoveAction.  Therefore the behavior between the mouse move and the keyboard movement is very similar.  In fact when 
you use the AlignWIthMoveStrategy and Provider you will get the alignment lines when moving the node around the screen.  Well at least when you use 
continuous moving.  Continuous moving occurs when you hold down the Ctrl-<Arrow> keys down. 

The source code is at: 
http://hg.netbeans.org/uml-main/file/00b8e517bc60/uml.drawingarea/src/org/netbeans/modules/uml/drawingarea/actions/MoveNodeKeyAction.java
Comment 1 Trey Spiva 2008-09-12 15:22:33 UTC
This action is needed to support A11Y issues.