Changeset 1153 for trunk/sources/HeuristicLab.SGA/SGAEditor.cs
- Timestamp:
- 01/16/09 11:24:03 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.SGA/SGAEditor.cs
r65 r1153 31 31 32 32 namespace HeuristicLab.SGA { 33 /// <summary> 34 /// Visual representation of the <see cref="SGA"/> class. 35 /// </summary> 33 36 public partial class SGAEditor : EditorBase { 34 37 private ChooseOperatorDialog chooseOperatorDialog; 35 38 39 /// <summary> 40 /// Gets or sets the <see cref="SGA"/> item to represent visually. 41 /// </summary> 42 /// <remarks>Uses property <see cref="ViewBase.Item"/> of base class <see cref="EditorBase"/>. 43 /// No own data storage present!</remarks> 36 44 public SGA SGA { 37 45 get { return (SGA)Item; } … … 39 47 } 40 48 49 /// <summary> 50 /// Initializes a new instance of <see cref="SGAEditor"/>. 51 /// </summary> 41 52 public SGAEditor() { 42 53 InitializeComponent(); 43 54 } 55 /// <summary> 56 /// Initializes a new instance of <see cref="SGAEditor"/> with the given <paramref name="sga"/>. 57 /// </summary> 58 /// <param name="sga">The simple genetic algorithm to represent visually.</param> 44 59 public SGAEditor(SGA sga) 45 60 : this() { … … 47 62 } 48 63 64 /// <summary> 65 /// Removes the eventhandlers from the underlying <see cref="IEngine"/> of the <see cref="SGA"/>. 66 /// </summary> 67 /// <remarks>Calls <see cref="ViewBase.RemoveItemEvents"/> of base class <see cref="EditorBase"/>.</remarks> 49 68 protected override void RemoveItemEvents() { 50 69 SGA.Engine.ExceptionOccurred -= new EventHandler<ExceptionEventArgs>(Engine_ExceptionOccurred); … … 53 72 base.RemoveItemEvents(); 54 73 } 74 /// <summary> 75 /// Adds eventhandlers to the underlying <see cref="IEngine"/> of the <see cref="SGA"/>. 76 /// </summary> 77 /// <remarks>Calls <see cref="ViewBase.AddItemEvents"/> of base class <see cref="EditorBase"/>.</remarks> 55 78 protected override void AddItemEvents() { 56 79 base.AddItemEvents(); … … 61 84 } 62 85 86 /// <summary> 87 /// Updates all controls with the latest data of the model. 88 /// </summary> 89 /// <remarks>Calls <see cref="EditorBase.UpdateControls"/> of base class <see cref="EditorBase"/>.</remarks> 63 90 protected override void UpdateControls() { 64 91 base.UpdateControls();
Note: See TracChangeset
for help on using the changeset viewer.