Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
03/21/11 15:05:48 (14 years ago)
Author:
cneumuel
Message:

#1233

  • implemented pause, stop for single jobs
  • introduced Command property for jobs (to distinguish between state and command (abort vs. aborted))
  • improved behaviour of ItemTreeView (double click opens new window, selected item stays marked)
  • fixed bugs in StateLogGanttChartListView and HiveJobView
  • fixed cloning of client-side dtos
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/HeuristicLab.Hive-3.4/sources/HeuristicLab.Clients.Hive.Views/3.4/ExperimentManager/StateLogGanttChartView.cs

    r5718 r5779  
    6161        ganttChart.Reset();
    6262        StateLogGanttChartListView.SetupCategories(ganttChart);
    63         var upperLimit = DateTime.FromOADate(Math.Min(Content.Max(x => x.DateTime).ToOADate(), DateTime.Now.AddSeconds(10).ToOADate()));
     63        if (Content.Count > 0) {
     64          var upperLimit = DateTime.FromOADate(Math.Min(Content.Max(x => x.DateTime).ToOADate(), DateTime.Now.AddSeconds(10).ToOADate()));
    6465
    65         for (int i = 0; i < Content.Count-1; i++) {
    66           StateLogGanttChartListView.AddData(ganttChart, i.ToString(), Content[i], Content[i+1], upperLimit);
     66          for (int i = 0; i < Content.Count - 1; i++) {
     67            StateLogGanttChartListView.AddData(ganttChart, i.ToString(), Content[i], Content[i + 1], upperLimit);
     68          }
     69          StateLogGanttChartListView.AddData(ganttChart, (Content.Count - 1).ToString(), Content[Content.Count - 1], null, upperLimit);
    6770        }
    68         StateLogGanttChartListView.AddData(ganttChart, (Content.Count - 1).ToString(), Content[Content.Count - 1], null, upperLimit);
    6971      }
    7072    }
Note: See TracChangeset for help on using the changeset viewer.