com.ibm.tivoli.maximo.miniapps.scheduler.compare

Interface CompareModelHelper.NodeEmitter

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method and Description
      void beginChildren()
      beginChild may be called after a beginNode IF the node has child nodes.
      CompareModelHelper.NodeEmitter.Result beginNode(int modelIndex, ilog.views.gantt.IlvGanttModel model, ilog.views.gantt.IlvHierarchyNode node, boolean hasChildren, boolean modified)
      beginNode is called at least once for every node.
      void endChildren()
      endChildren is called to signify that all the children are processed for a given node heirarchy
      void endNode(int modelIndex, ilog.views.gantt.IlvGanttModel model, ilog.views.gantt.IlvHierarchyNode node) 
    • Method Detail

      • beginNode

        CompareModelHelper.NodeEmitter.Result beginNode(int modelIndex,
                                                        ilog.views.gantt.IlvGanttModel model,
                                                        ilog.views.gantt.IlvHierarchyNode node,
                                                        boolean hasChildren,
                                                        boolean modified)
                                                 throws java.io.IOException
        beginNode is called at least once for every node. Continue is the default result. ContinueChildrenOnly means that we skip this node, but process the child nodes at this level
        Parameters:
        modelIndex - model index where 0 is a special shared index, and 1,2,3,... are model indexes
        modified -
        Returns:
        CompareModelHelper.NodeEmitter.Result Will tell the process how it should proceed
        Throws:
        java.io.IOException
      • endNode

        void endNode(int modelIndex,
                     ilog.views.gantt.IlvGanttModel model,
                     ilog.views.gantt.IlvHierarchyNode node)
              throws java.io.IOException
        Throws:
        java.io.IOException
      • beginChildren

        void beginChildren()
                    throws java.io.IOException
        beginChild may be called after a beginNode IF the node has child nodes.
        Throws:
        java.io.IOException
      • endChildren

        void endChildren()
                  throws java.io.IOException
        endChildren is called to signify that all the children are processed for a given node heirarchy
        Throws:
        java.io.IOException