Package com.projectlibre.core.hierarchy

Examples of com.projectlibre.core.hierarchy.HierarchyNode


      public void visit(HierarchyNode hierarchyNode) {
        com.projectlibre.core.nodes.Node node=hierarchyNode.getNode();
        if (!(node instanceof Task)) //ignore assignments present in task hierarchy
          return;
        Task task=(Task)node;
        HierarchyNode parentHierarchyNode=hierarchyNode.getParent();
        Task parentTask=null;
        if (!parentHierarchyNode.isRoot())
          parentTask=(Task)parentHierarchyNode.getNode();

        //openproj task conversion
        NormalTask openprojTask=project.newNormalTaskInstance(false);
        openprojTask.setOwningProject(project);
        openprojTask.setProjectId(project.getUniqueId());
View Full Code Here

TOP

Related Classes of com.projectlibre.core.hierarchy.HierarchyNode

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.