Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
09/08/11 16:38:28 (13 years ago)
Author:
ascheibe
Message:

#1233 more renaming for more consistency

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/HeuristicLab.Hive-3.4/sources/HeuristicLab.Clients.Hive.Views/3.3/TreeView/NewExperimentTreeNodeAction.cs

    r6382 r6725  
    2525
    2626namespace HeuristicLab.Clients.Hive {
    27   public class NewExperimentTreeNodeAction : IItemTreeNodeAction<HiveJob> {
    28     private ItemCollection<HiveJob> hiveJobs;
     27  public class NewExperimentTreeNodeAction : IItemTreeNodeAction<HiveTask> {
     28    private ItemCollection<HiveTask> hiveJobs;
    2929
    30     public NewExperimentTreeNodeAction(ItemCollection<HiveJob> hiveJobs) {
     30    public NewExperimentTreeNodeAction(ItemCollection<HiveTask> hiveJobs) {
    3131      this.hiveJobs = hiveJobs;
    3232    }
     
    4040    }
    4141
    42     public void Execute(HiveJob item, HiveJob parentItem) {
     42    public void Execute(HiveTask item, HiveTask parentItem) {
    4343      if (item != null) {
    44         var experiment = item.ItemJob.Item as Experiment;
     44        var experiment = item.ItemTask.Item as Experiment;
    4545        experiment.Optimizers.Add(new Experiment());
    4646      } else {
    47         hiveJobs.Add(new OptimizerHiveJob(new Experiment()));
     47        hiveJobs.Add(new OptimizerHiveTask(new Experiment()));
    4848      }
    4949    }
Note: See TracChangeset for help on using the changeset viewer.