Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
02/27/12 17:14:12 (13 years ago)
Author:
ascheibe
Message:

#1778

  • tried to clean up ItemTask/EngineTask overrides without breaking anything
  • added a unit test to check if ToString methods of IItems work
  • fixed ToString method of the Hive Plugin dto
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

    r7259 r7532  
    148148    }
    149149
    150     public override string ItemDescription {
    151       get { return Description; }
    152     }
    153 
    154150    public static new Image StaticItemImage {
    155151      get { return HeuristicLab.Common.Resources.VSImageLibrary.Operator; }
     
    159155      get { return "EngineTask"; }
    160156    }
    161 
    162     public override Version ItemVersion {
    163       get { return null; }
    164     }
    165157  }
    166158}
  • trunk/sources/HeuristicLab.Clients.Hive/3.3/Tasks/ItemTask.cs

    r7530 r7532  
    9595      this.OnItemImageChanged();
    9696    }
    97 
    9897    #endregion
    9998
    10099    #region ITask Members
    101 
    102100    public abstract ExecutionState ExecutionState { get; }
    103101
     
    173171
    174172    #region IItem Members
    175     public virtual new string ItemDescription {
     173    public override string ItemDescription {
    176174      get {
    177175        if (item == null)
     
    182180    }
    183181
    184     public virtual new Image ItemImage {
     182    public override Image ItemImage {
    185183      get {
    186184        if (item == null)
     
    191189    }
    192190
    193     public virtual new string ItemName {
     191    public override string ItemName {
    194192      get {
    195193        if (item == null)
Note: See TracChangeset for help on using the changeset viewer.