Changeset 9933 for stable/HeuristicLab.Clients.Hive/3.3
- Timestamp:
- 09/03/13 15:55:36 (11 years ago)
- Location:
- stable
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
stable
- Property svn:mergeinfo changed
/trunk/sources merged: 9849,9851,9865,9867-9868,9893-9896,9900-9901,9905,9907
- Property svn:mergeinfo changed
-
stable/HeuristicLab.Clients.Hive/3.3/HiveClient.cs
r9456 r9933 265 265 try { 266 266 refreshableJob.IsProgressing = true; 267 refreshableJob.Progress = new Progress("Connecting to server...");267 refreshableJob.Progress.Start("Connecting to server..."); 268 268 IEnumerable<string> resourceNames = ToResourceNameList(refreshableJob.Job.ResourceNames); 269 269 var resourceIds = new List<Guid>(); … … 424 424 var hiveExperiment = refreshableJob.Job; 425 425 refreshableJob.IsProgressing = true; 426 refreshableJob.Progress = new Progress();427 426 TaskDownloader downloader = null; 428 427 … … 431 430 IEnumerable<LightweightTask> allTasks; 432 431 433 refreshableJob.Progress.Status = "Connecting to Server...";434 432 // fetch all task objects to create the full tree of tree of HiveTask objects 435 refreshableJob.Progress.Sta tus = "Downloading list of tasks...";433 refreshableJob.Progress.Start("Downloading list of tasks..."); 436 434 allTasks = HiveServiceLocator.Instance.CallHiveService(s => s.GetLightweightJobTasksWithoutStateLog(hiveExperiment.Id)); 437 435 totalJobCount = allTasks.Count(); -
stable/HeuristicLab.Clients.Hive/3.3/HiveTasks/OptimizerHiveTask.cs
r9456 r9933 26 26 using HeuristicLab.Collections; 27 27 using HeuristicLab.Common; 28 using HeuristicLab.MainForm; 28 29 using HeuristicLab.Optimization; 29 30 using HeuristicLab.PluginInfrastructure; … … 31 32 namespace HeuristicLab.Clients.Hive { 32 33 public class OptimizerHiveTask : HiveTask<OptimizerTask> { 34 public Progress Progress { get; private set; } 35 33 36 #region Constructors and Cloning 34 public OptimizerHiveTask() { } 37 public OptimizerHiveTask() { 38 Progress = new Progress(); 39 } 35 40 public OptimizerHiveTask(IOptimizer optimizer) 36 41 : this() { … … 43 48 protected OptimizerHiveTask(OptimizerHiveTask original, Cloner cloner) 44 49 : base(original, cloner) { 50 Progress = new Progress(); 45 51 } 46 52 public override IDeepCloneable Clone(Cloner cloner) { -
stable/HeuristicLab.Clients.Hive/3.3/RefreshableJob.cs
r9456 r9933 178 178 #region Constructors and Cloning 179 179 public RefreshableJob() { 180 this.progress = new Progress(); 180 181 this.refreshAutomatically = false; 181 182 this.Job = new Job(); … … 186 187 } 187 188 public RefreshableJob(Job hiveJob) { 189 this.progress = new Progress(); 188 190 this.refreshAutomatically = true; 189 191 this.Job = hiveJob;
Note: See TracChangeset
for help on using the changeset viewer.