public class ActivityModelHelper extends java.lang.Object implements CompareModelHelper.ModelHelper
Modifier and Type | Field and Description |
---|---|
static ActivityModelHelper |
INSTANCE |
Constructor and Description |
---|
ActivityModelHelper() |
Modifier and Type | Method and Description |
---|---|
java.util.List<ilog.views.gantt.IlvHierarchyNode> |
getChildNodes(ilog.views.gantt.IlvGanttModel model,
ilog.views.gantt.IlvHierarchyNode parent) |
java.util.Comparator<ilog.views.gantt.IlvHierarchyNode> |
getIDComparator() |
ilog.views.gantt.IlvHierarchyNode |
getRootNode(ilog.views.gantt.IlvGanttModel model) |
static boolean |
isActivityDateModified(ilog.views.gantt.IlvHierarchyNode o1,
ilog.views.gantt.IlvHierarchyNode o2)
Tests if 2 nodes are different, in that they have different times.
|
static boolean |
isActivityResourceModified(MXGanttModel leftModel,
ilog.views.gantt.IlvHierarchyNode leftNode,
MXGanttModel rightModel,
ilog.views.gantt.IlvHierarchyNode rightNode)
Tests if 2 nodes are different if they have different resources assigned to them
|
static boolean |
isActivityStatusModified(ilog.views.gantt.IlvHierarchyNode leftNode,
ilog.views.gantt.IlvHierarchyNode rightNode)
Tests if 2 nodes are different if they have different resources assigned to them
|
boolean |
isModified(ilog.views.gantt.IlvGanttModel leftModel,
ilog.views.gantt.IlvHierarchyNode leftNode,
ilog.views.gantt.IlvGanttModel rightModel,
ilog.views.gantt.IlvHierarchyNode rightNode) |
public static final ActivityModelHelper INSTANCE
public java.util.Comparator<ilog.views.gantt.IlvHierarchyNode> getIDComparator()
getIDComparator
in interface CompareModelHelper.ModelHelper
public boolean isModified(ilog.views.gantt.IlvGanttModel leftModel, ilog.views.gantt.IlvHierarchyNode leftNode, ilog.views.gantt.IlvGanttModel rightModel, ilog.views.gantt.IlvHierarchyNode rightNode)
isModified
in interface CompareModelHelper.ModelHelper
public static boolean isActivityDateModified(ilog.views.gantt.IlvHierarchyNode o1, ilog.views.gantt.IlvHierarchyNode o2)
o1
- o2
- public static boolean isActivityResourceModified(MXGanttModel leftModel, ilog.views.gantt.IlvHierarchyNode leftNode, MXGanttModel rightModel, ilog.views.gantt.IlvHierarchyNode rightNode)
leftNode
- rightNode
- public static boolean isActivityStatusModified(ilog.views.gantt.IlvHierarchyNode leftNode, ilog.views.gantt.IlvHierarchyNode rightNode)
leftNode
- rightNode
- public ilog.views.gantt.IlvHierarchyNode getRootNode(ilog.views.gantt.IlvGanttModel model)
getRootNode
in interface CompareModelHelper.ModelHelper
public java.util.List<ilog.views.gantt.IlvHierarchyNode> getChildNodes(ilog.views.gantt.IlvGanttModel model, ilog.views.gantt.IlvHierarchyNode parent)
getChildNodes
in interface CompareModelHelper.ModelHelper