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.
Description: Currently the cut/copy/paste actions from the uml project tree are not supported. But, when selecting some elements from the uml project tree, the cut/copy buttons from the IDE main toolbar and Edit menu are enabled. However, the cut/copy items can not be pasted. This causes a big confusion to users. If these actions are supported, they should also exist on the context popup menu. These elements include the following: * diagrams under the Diagrams node * any elements including attributes and operations under the Model node
after further review of these menu actions, it appears that (for class elements anyways) Cut/Paste works as expected, but Copy/Paste does not. This is in the context of copy/cut/paste from one project to another. Cut/Paste should perform the same thing as a DnD (a move) and it does. But Copy/Paste should leave a copy of the element in the source project and place a new/unique copy of the element in the target project. This is not the case. It works just like the Cut/Paste (DnD) action and a dialog is displayed (same as Cut/Paste) the the element will be "moved". Suggested Fix: Add the Copy/Cut/Paste actions back on the element context menus and fix the Copy/Paste so that it works as expected and not like Cut/Paste.
issue 82895 is created for incorrect Copy/Paste behaviour (like Cut/Paste).
low use case not currently impacting our installed user base.
Copy action should include the node and its children, but not associations, diagrams, or other similar links going outside of the node.