Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
07/03/14 16:36:10 (10 years ago)
Author:
ascheibe
Message:

#2117 merged r10130, r10150, r10154, r10170, r11079 into stable

Location:
stable
Files:
1 edited
1 copied

Legend:

Unmodified
Added
Removed
  • stable

  • stable/HeuristicLab.Clients.Hive.JobManager/3.3/MenuItems/RunInHiveMenuItem.cs

    r10150 r11083  
    2323using System.Collections.Generic;
    2424using System.Threading;
    25 using HeuristicLab.Clients.Hive;
    2625using HeuristicLab.Core;
    2726using HeuristicLab.MainForm;
    2827using HeuristicLab.Optimization;
     28using HeuristicLab.Optimizer;
    2929using HeuristicLab.PluginInfrastructure;
    3030
    31 namespace HeuristicLab.Optimizer.MenuItems {
     31namespace HeuristicLab.Clients.Hive.JobManager {
    3232  public class RunInHiveMenuItem : HeuristicLab.MainForm.WindowsForms.MenuItem, IOptimizerUserInterfaceItemProvider {
    3333    public override string Name {
     
    5050          Type contentType = content.GetType();
    5151          ToolStripItem.Enabled = ItemTask.IsTypeSupported(contentType);
    52         } else {
    53           ToolStripItem.Enabled = false;
     52          return;
    5453        }
    5554      }
     55      ToolStripItem.Enabled = false;
    5656    }
    5757
     
    7878      HiveTask task = hiveTask.CreateHiveTask();
    7979      RefreshableJob rJob = new RefreshableJob();
    80       rJob.Job.Name = content.ItemName;
     80      rJob.Job.Name = content.ToString();
    8181      rJob.HiveTasks.Add(task);
    8282      task.ItemTask.ComputeInParallel = content is Experiment || content is BatchRun;
Note: See TracChangeset for help on using the changeset viewer.