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 88757 - A11Y: Provide ability to add elements from project tree to diagram using keyboard
Summary: A11Y: Provide ability to add elements from project tree to diagram using keyb...
Status: VERIFIED FIXED
Alias: None
Product: uml
Classification: Unclassified
Component: General Diagram (show other bugs)
Version: 5.x
Hardware: All All
: P1 blocker (vote)
Assignee: Craig Conover
URL:
Keywords: A11Y
Depends on:
Blocks:
 
Reported: 2006-11-07 04:35 UTC by Craig Conover
Modified: 2006-11-09 16:21 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Craig Conover 2006-11-07 04:35:18 UTC
With an element(s) selected in the project tree, need to provide a keyboard
accessible way to add those elements to the currently viewable diagram.
Comment 1 Craig Conover 2006-11-09 01:19:47 UTC
Ctrl-Enter will add selected elements to the top visible diagram. 

If there is no visible diagram, nothing will happen. 

At least one "IElement" type must be selected (non-edge type nodes that can be
placed on a diagram).

Only elements that are valid for the target diagram will be added. 

Of the selected elements, invalid elements (for the target diagram) will just be
ignored, but the valid elements will be added.

If any elements are added, the target diagram, previously selected elements on
the diagram are deselected and the new elements are selected and receive focus.

If no elements are added, the previously selected elements on the diagram remain
selected, and focus remains on the selected items in the project tree.
Comment 2 Craig Conover 2006-11-09 01:45:06 UTC
This issue is done, with some temporary limitations. Remaining issues (opened as
new issues) are:

- issue 88983: previously selected elements on diagram not refreshing to show
unselected state
- issue 88984: diagram docked to side of explorer mode can not be used as new
element target
Comment 3 Andrew Korostelev 2006-11-09 16:01:35 UTC
verified in ide-coco-061108_9

see related
issue 89030 - Ctrl+Enter shouldn't put all elements from model tree into one
diagram point
Comment 4 Andrew Korostelev 2006-11-09 16:21:00 UTC
see related issue 89048 - element added to another project diagram with
Ctrl+Enter doesn't appear in Imported Elements