Examples of markTaskAsNeedingRecalculation()


Examples of com.projity.pm.task.NormalTask.markTaskAsNeedingRecalculation()

    } else { // make sure not in sentinel's list
      removeStartSentinelDependency(newTask);
    }
   
   
    newTask.markTaskAsNeedingRecalculation();
    predecessorTaskList.arrangeTask(newTask);
  }
 
  public void addSubproject(Task subproject) {
    predecessorTaskList.addSubproject(subproject);
View Full Code Here

Examples of com.projity.pm.task.Task.markTaskAsNeedingRecalculation()

        SubProj sub = (SubProj)successor;
        if (sub.isSubprojectOpen())
          sub.getSubproject().markAllTasksAsNeedingRecalculation(true);
      }
      successor.invalidateSchedules();
      successor.markTaskAsNeedingRecalculation();
     
//      The line below fixes a bug with nested parents of the sort pred->grand par sib1->sib2. Of course, it means most of the code above is redundant (except for subproject stuff)
      project.markAllTasksAsNeedingRecalculation(true);
      calculate(true,null); // Run both passes, since the CP might be modified and it's hard to tell if so
    } else if (changedObject == project) { // if whole project changed, such
View Full Code Here

Examples of com.projity.pm.task.Task.markTaskAsNeedingRecalculation()

    Iterator i = startSentinel.getSuccessorList().iterator();
    Task task;
    while (i.hasNext()) {
      task = ((Task)((Dependency)i.next()).getTask(false));
      task.invalidateSchedules();
      task.markTaskAsNeedingRecalculation();
    }

    i = finishSentinel.getPredecessorList().iterator();
    while (i.hasNext()) {
      task = ((Task)((Dependency)i.next()).getTask(true));
View Full Code Here

Examples of com.projity.pm.task.Task.markTaskAsNeedingRecalculation()

    i = finishSentinel.getPredecessorList().iterator();
    while (i.hasNext()) {
      task = ((Task)((Dependency)i.next()).getTask(true));
      task.invalidateSchedules();
      task.markTaskAsNeedingRecalculation();
    }
   
  }
  /**
   * @return
 
View Full Code Here

Examples of com.projity.pm.task.Task.markTaskAsNeedingRecalculation()

    subproject.markTaskAsNeedingRecalculation();
    Iterator j = ((SubProj)subproject).getSubproject().getTasks().iterator();
    while (j.hasNext()) {
      Task task = (Task)j.next();
      task.setMarkerStatus(m);
      task.markTaskAsNeedingRecalculation();

    }
   
    removeTask(subproject); // remove existing one
    arrangeSingleTask(subproject); // add it back - it will become a parent
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.