View source
From TaskDepender
for
Virtual clipboard
Jump to:
navigation
,
search
''This page describes a kind of virtual clipboard that can be used for copying and cutting selected elements from a diagram.'' The virtual clipboard is used in the [[Use cases|use cases]]: * [[Cut selected elements]] * [[Copy selected elements]] * [[Paste elements]] The virtual clipboard must serve as a temporary storage of elements that are cut or copied. This can be easily done by using the <tt>ContainerId</tt> of the elements; if this field is set to the maximum integer number (<tt>MaxInt</tt>). This looks like as if the selected elements were moved to a 'virtual container' with this <tt>Id</tt>. There are two important issues that are to be considered when adding elements to the clipboard: * There is only one clipboard, so when new elements are added to the clipboard, the old contents is to be deleted. * The elements stored in the clipboard cannot have any dependencies to elements outside the clipboard. This means that these must be deleted when the elements are added to the clipboard. So, there are additional operations that need to be performed: * Deselecting any selected [[Clone|clones]] because those can not be deleted (or cut) by the user. * For all selected deliverables, delete links to non-selected tasks. * For all selected tasks, delete links to non-selected deliverables.
Return to
Virtual clipboard
.
Views
Page
Discussion
View source
History
Personal tools
3.145.88.227
Talk for this IP address
Log in
Navigation
Main page
Recent changes
Help
Search
Toolbox
What links here
Related changes
Special pages