Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
09/03/13 15:55:36 (11 years ago)
Author:
ascheibe
Message:

#1042 merged r9849, r9851, r9865, r9867, r9868, r9893, r9894, r9895, r9896, r9900, r9901, r9905, r9907 into stable branch

Location:
stable
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • stable

  • stable/HeuristicLab.Clients.Hive/3.3/HiveClient.cs

    r9456 r9933  
    265265      try {
    266266        refreshableJob.IsProgressing = true;
    267         refreshableJob.Progress = new Progress("Connecting to server...");
     267        refreshableJob.Progress.Start("Connecting to server...");
    268268        IEnumerable<string> resourceNames = ToResourceNameList(refreshableJob.Job.ResourceNames);
    269269        var resourceIds = new List<Guid>();
     
    424424      var hiveExperiment = refreshableJob.Job;
    425425      refreshableJob.IsProgressing = true;
    426       refreshableJob.Progress = new Progress();
    427426      TaskDownloader downloader = null;
    428427
     
    431430        IEnumerable<LightweightTask> allTasks;
    432431
    433         refreshableJob.Progress.Status = "Connecting to Server...";
    434432        // fetch all task objects to create the full tree of tree of HiveTask objects
    435         refreshableJob.Progress.Status = "Downloading list of tasks...";
     433        refreshableJob.Progress.Start("Downloading list of tasks...");
    436434        allTasks = HiveServiceLocator.Instance.CallHiveService(s => s.GetLightweightJobTasksWithoutStateLog(hiveExperiment.Id));
    437435        totalJobCount = allTasks.Count();
  • stable/HeuristicLab.Clients.Hive/3.3/HiveTasks/OptimizerHiveTask.cs

    r9456 r9933  
    2626using HeuristicLab.Collections;
    2727using HeuristicLab.Common;
     28using HeuristicLab.MainForm;
    2829using HeuristicLab.Optimization;
    2930using HeuristicLab.PluginInfrastructure;
     
    3132namespace HeuristicLab.Clients.Hive {
    3233  public class OptimizerHiveTask : HiveTask<OptimizerTask> {
     34    public Progress Progress { get; private set; }
     35
    3336    #region Constructors and Cloning
    34     public OptimizerHiveTask() { }
     37    public OptimizerHiveTask() {
     38      Progress = new Progress();
     39    }
    3540    public OptimizerHiveTask(IOptimizer optimizer)
    3641      : this() {
     
    4348    protected OptimizerHiveTask(OptimizerHiveTask original, Cloner cloner)
    4449      : base(original, cloner) {
     50      Progress = new Progress();
    4551    }
    4652    public override IDeepCloneable Clone(Cloner cloner) {
  • stable/HeuristicLab.Clients.Hive/3.3/RefreshableJob.cs

    r9456 r9933  
    178178    #region Constructors and Cloning
    179179    public RefreshableJob() {
     180      this.progress = new Progress();
    180181      this.refreshAutomatically = false;
    181182      this.Job = new Job();
     
    186187    }
    187188    public RefreshableJob(Job hiveJob) {
     189      this.progress = new Progress();
    188190      this.refreshAutomatically = true;
    189191      this.Job = hiveJob;
Note: See TracChangeset for help on using the changeset viewer.