- Timestamp:
- 02/13/10 04:37:49 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Core/3.3/VariableCollection.cs
r2687 r2790 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-20 08Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2010 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. … … 20 20 #endregion 21 21 22 using System;23 using System.Collections;24 22 using System.Collections.Generic; 25 using System.Collections.ObjectModel;26 using System.Text;27 using System.Drawing;28 23 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable; 29 using HeuristicLab.Common.Resources;30 24 31 25 namespace HeuristicLab.Core { … … 33 27 [Item("VariableCollection", "Represents a collection of variables.")] 34 28 [Creatable("Test")] 35 public class VariableCollection : NamedItemCollection<IVariable>, IItem { 36 public virtual string ItemName { 37 get { return ItemAttribute.GetName(this.GetType()); } 38 } 39 public virtual string ItemDescription { 40 get { return ItemAttribute.GetDescription(this.GetType()); } 41 } 42 public virtual Image ItemImage { 43 get { return VS2008ImageLibrary.Class; } 44 } 45 29 public class VariableCollection : NamedItemCollection<IVariable> { 46 30 public VariableCollection() : base() { } 47 31 public VariableCollection(int capacity) : base(capacity) { } 48 32 public VariableCollection(IEnumerable<IVariable> collection) : base(collection) { } 49 50 public override string ToString() {51 return ItemName;52 }53 33 } 54 34 }
Note: See TracChangeset
for help on using the changeset viewer.