Changeset 3198 for trunk/sources/HeuristicLab.Algorithms.GeneticAlgorithm.Views/3.3/GeneticAlgorithmView.cs
- Timestamp:
- 03/23/10 02:14:26 (14 years ago)
- File:
-
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Algorithms.GeneticAlgorithm.Views/3.3/GeneticAlgorithmView.cs
r3196 r3198 27 27 /// The base class for visual representations of items. 28 28 /// </summary> 29 [View(" SGAView")]30 [Content(typeof( SGA), true)]31 public sealed partial class SGAView : EngineAlgorithmView {32 public new SGAContent {33 get { return ( SGA)base.Content; }29 [View("Genetic Algorithm View")] 30 [Content(typeof(GeneticAlgorithm), true)] 31 public sealed partial class GeneticAlgorithmView : EngineAlgorithmView { 32 public new GeneticAlgorithm Content { 33 get { return (GeneticAlgorithm)base.Content; } 34 34 set { base.Content = value; } 35 35 } … … 38 38 /// Initializes a new instance of <see cref="ItemBaseView"/>. 39 39 /// </summary> 40 public SGAView() {40 public GeneticAlgorithmView() { 41 41 InitializeComponent(); 42 42 } … … 45 45 /// </summary> 46 46 /// <param name="item">The item that should be displayed.</param> 47 public SGAView(SGAcontent)47 public GeneticAlgorithmView(GeneticAlgorithm content) 48 48 : this() { 49 49 Content = content;
Note: See TracChangeset
for help on using the changeset viewer.