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 82892 - copy/cut/paste operations availability differs in Project tree and in IDE toolbar/menu
Summary: copy/cut/paste operations availability differs in Project tree and in IDE too...
Status: NEW
Alias: None
Product: uml
Classification: Unclassified
Component: Project (show other bugs)
Version: 5.x
Hardware: All All
: P2 blocker (vote)
Assignee: issues@uml
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-08-17 11:23 UTC by bugbridge
Modified: 2007-07-13 00:15 UTC (History)
2 users (show)

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 bugbridge 2006-08-17 11:23:18 UTC
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
Comment 1 Andrew Korostelev 2006-08-17 11:24:23 UTC
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.
Comment 2 Andrew Korostelev 2006-08-17 11:34:50 UTC
issue 82895 is created for incorrect Copy/Paste  behaviour (like Cut/Paste).
Comment 3 Peter Lam 2007-03-20 20:13:35 UTC
low use case not currently impacting our installed user base.
Comment 4 George Vasick 2007-07-13 00:15:01 UTC
Copy action should include the node and its children, but not associations, diagrams, or other similar links going
outside of the node.