Changeset 6479 for branches/HeuristicLab.Hive-3.4/sources/HeuristicLab.Clients.Hive.Views/3.4/TreeView
- Timestamp:
- 06/27/11 15:20:23 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HeuristicLab.Hive-3.4/sources/HeuristicLab.Clients.Hive.Views/3.4/TreeView/HiveJobItemTreeView.cs
r6382 r6479 24 24 using System.Windows.Forms; 25 25 using HeuristicLab.Clients.Hive.Jobs; 26 using HeuristicLab.Clients.Hive.Views.ExperimentManager.TreeView;27 26 using HeuristicLab.Core; 28 27 using HeuristicLab.MainForm; … … 98 97 experiment.Optimizers.Remove(((OptimizerJob)selectedItem.ItemJob).Item); 99 98 } 100 } 99 } 101 100 } 102 101 } … … 104 103 105 104 protected override ICollection<IItemTreeNodeAction<HiveJob>> GetTreeNodeItemActions(HiveJob selectedItem) { 106 var actions = base.GetTreeNodeItemActions(selectedItem); 107 if (selectedItem != null) { 108 if (selectedItem.ItemJob.Item is Experiment) { 109 110 } 111 actions.Add(new DeleteJobTreeNodeAction(Content)); 112 } 113 114 return actions; 105 return base.GetTreeNodeItemActions(selectedItem); 115 106 } 116 107 }
Note: See TracChangeset
for help on using the changeset viewer.