Cut selected elements

From TaskDepender
Jump to: navigation, search
(Implementation)
Line 26: Line 26:
 
   TaskC *containerTask = Admin->TasksAdmin->FindTask(SelectedContainerTaskId);
 
   TaskC *containerTask = Admin->TasksAdmin->FindTask(SelectedContainerTaskId);
  
   // For all selected deliverables:
+
   // For all selected deliverables, remove links to non-selected tasks.
  // - Look if there are non-selected tasks that have a link to this
+
  //  deliverable and if so, delete the link.
+
 
   for( uint i=0; i<SelectedDeliverablesIds->NumElements; i++ )
 
   for( uint i=0; i<SelectedDeliverablesIds->NumElements; i++ )
 
   {
 
   {
Line 58: Line 56:
 
   }
 
   }
  
   // For all selected tasks:
+
   // For all selected tasks, remove links to non-selected deliverables.
  // - delete all links to the deliverables not selected.
+
  // - set the container to the container of the container.
+
 
   for( uint i=0; i<SelectedTasksIds->NumElements; i++ )
 
   for( uint i=0; i<SelectedTasksIds->NumElements; i++ )
 
   {
 
   {

Revision as of 20:10, 26 September 2011

Personal tools