Legend:
- Unmodified
- Added
- Removed
-
stable
- Property svn:mergeinfo changed
/trunk/sources merged: 10130,10150,10154,10170,11079
- Property svn:mergeinfo changed
-
stable/HeuristicLab.Clients.Hive.JobManager/3.3/MenuItems/RunInHiveMenuItem.cs
r10150 r11083 23 23 using System.Collections.Generic; 24 24 using System.Threading; 25 using HeuristicLab.Clients.Hive;26 25 using HeuristicLab.Core; 27 26 using HeuristicLab.MainForm; 28 27 using HeuristicLab.Optimization; 28 using HeuristicLab.Optimizer; 29 29 using HeuristicLab.PluginInfrastructure; 30 30 31 namespace HeuristicLab. Optimizer.MenuItems{31 namespace HeuristicLab.Clients.Hive.JobManager { 32 32 public class RunInHiveMenuItem : HeuristicLab.MainForm.WindowsForms.MenuItem, IOptimizerUserInterfaceItemProvider { 33 33 public override string Name { … … 50 50 Type contentType = content.GetType(); 51 51 ToolStripItem.Enabled = ItemTask.IsTypeSupported(contentType); 52 } else { 53 ToolStripItem.Enabled = false; 52 return; 54 53 } 55 54 } 55 ToolStripItem.Enabled = false; 56 56 } 57 57 … … 78 78 HiveTask task = hiveTask.CreateHiveTask(); 79 79 RefreshableJob rJob = new RefreshableJob(); 80 rJob.Job.Name = content. ItemName;80 rJob.Job.Name = content.ToString(); 81 81 rJob.HiveTasks.Add(task); 82 82 task.ItemTask.ComputeInParallel = content is Experiment || content is BatchRun;
Note: See TracChangeset
for help on using the changeset viewer.