com.ibm.tivoli.maximo.miniapps.scheduler.dispatch

Class DispatchUtil

  • java.lang.Object
    • com.ibm.tivoli.maximo.miniapps.scheduler.dispatch.DispatchUtil


  • public class DispatchUtil
    extends java.lang.Object
    • Method Detail

      • getViewerProperty

        public java.lang.String getViewerProperty(java.lang.String propertyName,
                                                  java.lang.String string)
      • fixupModel

        public void fixupModel(MXGanttModel theModel)
        Set the colors on each crew and labor resource to be one of the colors from the predefined color table
      • getFontcolormap

        public java.util.List getFontcolormap()
      • getColormap

        public java.util.List getColormap()
      • getTravelTimeConstraintForToActivity

        public MXTravelTimeConstraint getTravelTimeConstraintForToActivity(MXGanttModel theModel,
                                                                           ilog.views.gantt.IlvActivity activity)
        returns the 'TO' constraint for the passed in activity
        Returns:
      • updateResources

        public void updateResources(ilog.views.gantt.IlvGanttModel newModel,
                                    ilog.views.gantt.IlvGanttModel existingModel)
        functions updates the current model with the contents of the newModel.
        Parameters:
        newModel -
      • isLaborOrCrew

        public static boolean isLaborOrCrew(MXResource mxresource)
        returns true if the resource is a labor or crew type resource. Labor and crews will have assigned resource types, so this function can be used to check that also.
        Parameters:
        mxresource -
        Returns: