com.ibm.tivoli.maximo.miniapps.scheduler

Class ILogGanttModelToTreeGridUIBuilder

  • java.lang.Object
    • com.ibm.tivoli.maximo.miniapps.scheduler.ILogGanttModelToTreeGridUIBuilder
    • Field Detail

      • internalFields

        public static final com.ibm.tivoli.maximo.miniapps.scheduler.ILogGanttModelToTreeGridUIBuilder.InternalField[] internalFields
        Internal Fields are fields that might be in the ILog model, but not recorded in SKD tables, but they are used internally.
    • Method Detail

      • getTreeGridUI

        public com.ibm.json.java.JSONObject getTreeGridUI(java.util.concurrent.Future modelFuture,
                                                          UIOptions options,
                                                          BaseTreeGridMiniAppBean bean)
                                                   throws java.lang.Exception
        Throws:
        java.lang.Exception
      • preprocessColumns

        protected void preprocessColumns(UIOptions options,
                                         MXGanttModel model,
                                         IGanttConfigInfo info,
                                         java.util.List columns)
        Pre-Process to the columns before rendering them. You might use this to re-order them, or hide certain fields, etc.
        Parameters:
        options -
        model -
        info -
        columns - Mutable list of columns
      • addGanttConfiguration

        protected void addGanttConfiguration(com.ibm.json.java.JSONObject gantt,
                                             MXGanttModel model,
                                             java.util.TimeZone timeZone)
      • columnIndexOf

        public static int columnIndexOf(java.util.List columns,
                                        java.lang.String name)
      • addDefSUM

        protected com.ibm.json.java.JSONObject addDefSUM(IMXGanttModel model)
      • addDefRun

        protected com.ibm.json.java.JSONObject addDefRun()
      • getDefaultGanttRunMove

        protected java.lang.String getDefaultGanttRunMove()
      • getDefaultGanttRunMoveVertOnly

        protected java.lang.String getDefaultGanttRunMoveVertOnly()
      • getDefaultGanttRunMoveHorzOnly

        protected java.lang.String getDefaultGanttRunMoveHorzOnly()
      • getRunDataColumns

        protected java.lang.String getRunDataColumns()
      • addDefRunDataRow

        protected com.ibm.json.java.JSONObject addDefRunDataRow()
      • addDefPMRun

        protected com.ibm.json.java.JSONObject addDefPMRun()
      • addDefPMRunDataRow

        protected com.ibm.json.java.JSONObject addDefPMRunDataRow()
      • addDefIcons

        protected void addDefIcons(com.ibm.json.java.JSONArray Defs)
        These set the ICONS for various ROW types. For a Row, you can set Def="WO" or Def="PM", etc, and the row will get the icon for that Def. NOTE, that if the row type is normaly a RUN row (ie, multiple bars per row, then before to have that row set the DEF_INTERNAL_RUN in it's Def configuration, like the PM row below
      • isColumnInGrid

        protected boolean isColumnInGrid(IMXGanttPropertyInfo pi)
        Override if we need to suppress columns from going into the grid.
        Parameters:
        pi -
        Returns:
        true to include the column, or false to ignore it.
      • getGanttTask

        protected java.lang.String getGanttTask()
        Boxes that can have dependencies
        Returns:
      • addInternalColumns

        public void addInternalColumns(com.ibm.json.java.JSONArray Cols,
                                       java.util.List columns)
      • addAdditionalColumns

        public void addAdditionalColumns(com.ibm.json.java.JSONArray Cols)
      • getGanttUnits

        public java.lang.String getGanttUnits()
        Returns the Default Gantt Units, which is Minutes.
        Returns:
      • getActivityColumns

        public java.util.List getActivityColumns(IGanttConfigInfo info)