Changeset 10170


Ignore:
Timestamp:
11/28/13 16:12:30 (6 years ago)
Author:
ascheibe
Message:

#2117

  • fixed namespaces of Hive menuitems
  • fixed name of generated Hive jobs
Location:
trunk/sources/HeuristicLab.Clients.Hive.JobManager/3.3/MenuItems
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Clients.Hive.JobManager/3.3/MenuItems/CreateHiveJobMenuItem.cs

    r10150 r10170  
    2222using System;
    2323using System.Collections.Generic;
    24 using HeuristicLab.Clients.Hive;
    2524using HeuristicLab.Core;
    2625using HeuristicLab.MainForm;
    2726using HeuristicLab.Optimization;
     27using HeuristicLab.Optimizer;
    2828
    29 namespace HeuristicLab.Optimizer.MenuItems {
     29namespace HeuristicLab.Clients.Hive.JobManager {
    3030  public class CreateHiveJobMenuItem : HeuristicLab.MainForm.WindowsForms.MenuItem, IOptimizerUserInterfaceItemProvider {
    3131    public override string Name {
     
    7474      HiveTask task = hiveTask.CreateHiveTask();
    7575      RefreshableJob rJob = new RefreshableJob();
    76       rJob.Job.Name = content.ItemName;
     76      rJob.Job.Name = content.ToString();
    7777      rJob.HiveTasks.Add(task);
    7878      task.ItemTask.ComputeInParallel = content is Experiment || content is BatchRun;
  • trunk/sources/HeuristicLab.Clients.Hive.JobManager/3.3/MenuItems/JobManagerMenuItem.cs

    r9456 r10170  
    2222using System.Collections.Generic;
    2323using System.Windows.Forms;
    24 using HeuristicLab.Clients.Hive;
    2524using HeuristicLab.MainForm;
     25using HeuristicLab.Optimizer;
    2626
    27 namespace HeuristicLab.Optimizer.MenuItems {
     27namespace HeuristicLab.Clients.Hive.JobManager {
    2828  public class JobManagerMenuItem : HeuristicLab.MainForm.WindowsForms.MenuItem, IOptimizerUserInterfaceItemProvider {
    2929    public override string Name {
  • trunk/sources/HeuristicLab.Clients.Hive.JobManager/3.3/MenuItems/RunInHiveMenuItem.cs

    r10150 r10170  
    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 {
     
    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.