Package com.projity.functor

Examples of com.projity.functor.NumberClosure


    } else {
      long actualDuration = DateTime.closestDate(getDurationMillis() * percentComplete);
      setActualDuration(actualDuration);
      long stop = getEffectiveWorkCalendar().add(getStart(), actualDuration, false);
      DeepChildWalker.recursivelyTreatBranch(getProject().getTaskOutline(),
          this, new NumberClosure(stop) {
            public void execute(Object arg0) {
              if (arg0 == null) {
                return;
              }
              Object nodeObject = ((Node) arg0).getImpl();
View Full Code Here


    // DurationFormat.format((long)workValue) +" get work null is " +
    // DurationFormat.format(calcSummedWork()));

    long date = ReverseQuery.getDateAtValue(WORK, this, workValue, true); // allow use of default assignments
    DeepChildWalker.recursivelyTreatBranch(getProject().getTaskOutline(),
        this, new NumberClosure(date) {
          public void execute(Object arg0) {
            if (arg0 == null)
              return;
            Object nodeObject = ((Node) arg0).getImpl();
            if (nodeObject instanceof NormalTask) // do not treat assignments
View Full Code Here

    } else {
      long actualDuration = DateTime.closestDate(getDurationMillis() * percentComplete);
      setActualDuration(actualDuration);
      long stop = getEffectiveWorkCalendar().add(getStart(), actualDuration, false);
      DeepChildWalker.recursivelyTreatBranch(getProject().getTaskOutline(),
          this, new NumberClosure(stop) {
            public void execute(Object arg0) {
              if (arg0 == null) {
                return;
              }
              Object nodeObject = ((Node) arg0).getImpl();
View Full Code Here

    // DurationFormat.format((long)workValue) +" get work null is " +
    // DurationFormat.format(calcSummedWork()));

    long date = ReverseQuery.getDateAtValue(WORK, this, workValue, true); // allow use of default assignments
    DeepChildWalker.recursivelyTreatBranch(getProject().getTaskOutline(),
        this, new NumberClosure(date) {
          public void execute(Object arg0) {
            if (arg0 == null)
              return;
            Object nodeObject = ((Node) arg0).getImpl();
            if (nodeObject instanceof NormalTask) // do not treat assignments
View Full Code Here

TOP

Related Classes of com.projity.functor.NumberClosure

Copyright © 2018 www.massapicom. 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.