[Uml-devel] [Bug 57664] Please implement 'duplicate' command
Raymond Bosman
bosman at hetnet.nl
Thu Apr 1 10:22:10 UTC 2004
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
http://bugs.kde.org/show_bug.cgi?id=57664
------- Additional Comments From bosman hetnet nl 2004-04-01 20:29 -------
Created an attachment (id=5492)
--> (http://bugs.kde.org/attachment.cgi?id=5492&action=view)
This patch adds the clone functionality
Mainly, this patch adds the clone and copyInto functionality to the UMLObject
tree. When the user clicks on the duplicate-item in the listpopupmenu, it calls
the clone function of the current widget, and adds this to the application and
view.
The new widget is exactly the same as the original widget, but with an
UniqueID.
The lists that must be duplicated, have also the clone and copyInto
functionalities. Therefore each list extend the QPtrList<type>. (There must be
an better solution than subclassing each QPtrList in the system.)
More information about the umbrello-devel
mailing list