Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
09/21/10 06:29:00 (14 years ago)
Author:
swagner
Message:

Worked on OKB (#1174)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/OKB/HeuristicLab.Clients.OKB-3.3/ServiceClients/Platform.cs

    r4441 r4456  
    2020#endregion
    2121
    22 using System.ComponentModel;
    23 using HeuristicLab.Common;
    2422using HeuristicLab.Core;
    2523
    2624namespace HeuristicLab.Clients.OKB {
    2725  [Item("Platform", "An OKB platform.")]
    28   public partial class Platform : INamedOKBItem {
     26  public partial class Platform {
    2927    public Platform() {
    3028      Name = "New Platform";
    3129    }
    32 
    33     public override IDeepCloneable Clone(Cloner cloner) {
    34       Platform clone = new Platform();
    35       cloner.RegisterClonedObject(this, clone);
    36       clone.Id = Id;
    37       clone.Name = Name;
    38       clone.Description = Description;
    39       return clone;
    40     }
    41 
    42     public override string ToString() {
    43       return Name;
    44     }
    45 
    46     protected override void OnPropertyChanged(PropertyChangedEventArgs e) {
    47       base.OnPropertyChanged(e);
    48       if (e.PropertyName == "Name")
    49         OnToStringChanged();
    50     }
    5130  }
    5231}
Note: See TracChangeset for help on using the changeset viewer.