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.
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.
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.
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
verified in ide-coco-061108_9 see related issue 89030 - Ctrl+Enter shouldn't put all elements from model tree into one diagram point
see related issue 89048 - element added to another project diagram with Ctrl+Enter doesn't appear in Imported Elements