Changeset 776 for trunk/sources/HeuristicLab.Core/VariablesScopeView.cs
- Timestamp:
- 11/19/08 12:12:39 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Core/VariablesScopeView.cs
r2 r776 29 29 30 30 namespace HeuristicLab.Core { 31 /// <summary> 32 /// The visual representation of all variables in a specified scope. 33 /// </summary> 31 34 public partial class VariablesScopeView : ViewBase { 32 35 private ChooseItemDialog chooseItemDialog; 33 36 37 /// <summary> 38 /// Gets or sets the scope whose variables to represent visually. 39 /// </summary> 40 /// <remarks>Uses property <see cref="ViewBase.Item"/> of base class <see cref="ViewBase"/>. 41 /// No won data storage present.</remarks> 34 42 public IScope Scope { 35 43 get { return (IScope)Item; } … … 37 45 } 38 46 47 /// <summary> 48 /// Initializes a new instance of <see cref="VariablesScopeView"/> with caption "Variables Scope View". 49 /// </summary> 39 50 public VariablesScopeView() { 40 51 InitializeComponent(); 41 52 Caption = "Variables Scope View"; 42 53 } 54 /// <summary> 55 /// Initializes a new instance of <see cref="VariablesScopeView"/> with 56 /// the given <paramref name="scope"/>. 57 /// </summary> 58 /// <remarks>Calls <see cref="VariablesScopeView()"/>.</remarks> 59 /// <param name="scope">The scope whose variables should be represented visually.</param> 43 60 public VariablesScopeView(IScope scope) 44 61 : this() { … … 46 63 } 47 64 65 /// <summary> 66 /// Removes the eventhandlers from the underlying <see cref="IScope"/>. 67 /// </summary> 68 /// <remarks>Calls <see cref="ViewBase.RemoveItemEvents"/> of base class <see cref="ViewBase"/>.</remarks> 48 69 protected override void RemoveItemEvents() { 49 70 Scope.VariableAdded -= new EventHandler<VariableEventArgs>(Scope_VariableAdded); … … 51 72 base.RemoveItemEvents(); 52 73 } 74 /// <summary> 75 /// Adds eventhandlers to the underlying <see cref="IScope"/>. 76 /// </summary> 77 /// <remarks>Calls <see cref="ViewBase.AddItemEvents"/> of base class <see cref="ViewBase"/>.</remarks> 53 78 protected override void AddItemEvents() { 54 79 base.AddItemEvents(); … … 57 82 } 58 83 84 /// <summary> 85 /// Updates all controls with the latest data of the model. 86 /// </summary> 87 /// <remarks>Calls <see cref="ViewBase.UpdateControls"/> of base class <see cref="ViewBase"/>.</remarks> 59 88 protected override void UpdateControls() { 60 89 base.UpdateControls();
Note: See TracChangeset
for help on using the changeset viewer.