Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
07/30/13 17:35:04 (11 years ago)
Author:
ascheibe
Message:

#1099 adapted Hive NamedItems

Location:
trunk/sources/HeuristicLab.Clients.Hive/3.3/Tasks
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Clients.Hive/3.3/Tasks/EngineTask.cs

    r9456 r9819  
    5050
    5151    #region constructors and cloning
    52     public EngineTask() { }
    5352    public EngineTask(IOperation initialOperation, IEngine engine) {
    5453      this.initialOperation = initialOperation;
     
    144143
    145144    public override string Name {
    146       get { return Item != null ? Item.ToString() : null; }
     145      get { return Item != null ? Item.ToString() : "Engine Task"; }
    147146      set { throw new NotSupportedException(); }
    148147    }
     
    153152
    154153    public override string ItemName {
    155       get { return "EngineTask"; }
     154      get { return "Engine Task"; }
    156155    }
    157156  }
  • trunk/sources/HeuristicLab.Clients.Hive/3.3/Tasks/OptimizerTask.cs

    r9456 r9819  
    4646    }
    4747
    48     public OptimizerTask() : base() { }
    49     public OptimizerTask(IOptimizer optimizer)
    50       : this() {
     48    public OptimizerTask(IOptimizer optimizer) {
    5149      this.Item = optimizer;
    5250
     
    210208      get {
    211209        if (Item == null)
    212           return string.Empty;
     210          return "Optimizer Task";
    213211        else
    214212          return Item.Name;
Note: See TracChangeset for help on using the changeset viewer.