Changeset 2727 for trunk/sources/HeuristicLab.Parameters.Views
- Timestamp:
- 01/30/10 05:05:19 (14 years ago)
- Location:
- trunk/sources/HeuristicLab.Parameters.Views/3.3
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Parameters.Views/3.3/ItemParameterView.cs
r2715 r2727 61 61 /// <remarks>Calls <see cref="VariableView()"/>.</remarks> 62 62 /// <param name="variable">The variable to represent visually.</param> 63 public ItemParameterView(ItemParameter<T> parameter)63 public ItemParameterView(ItemParameter<T> content) 64 64 : this() { 65 Content = parameter;65 Content = content; 66 66 } 67 67 -
trunk/sources/HeuristicLab.Parameters.Views/3.3/ParameterView.cs
r2714 r2727 27 27 using System.Text; 28 28 using System.Windows.Forms; 29 using HeuristicLab.Core; 29 30 using HeuristicLab.Core.Views; 30 31 using HeuristicLab.MainForm; … … 35 36 /// </summary> 36 37 [Content(typeof(Parameter), true)] 38 [Content(typeof(IParameter), false)] 37 39 public partial class ParameterView : NamedItemView { 38 40 /// <summary> … … 41 43 /// <remarks>Uses property <see cref="ViewBase.Item"/> of base class <see cref="ViewBase"/>. 42 44 /// No own data storage present.</remarks> 43 public new Parameter Content {44 get { return ( Parameter)base.Content; }45 public new IParameter Content { 46 get { return (IParameter)base.Content; } 45 47 set { base.Content = value; } 46 48 } … … 58 60 /// <remarks>Calls <see cref="VariableView()"/>.</remarks> 59 61 /// <param name="variable">The variable to represent visually.</param> 60 public ParameterView( Parameter parameter)62 public ParameterView(IParameter content) 61 63 : this() { 62 Content = parameter;64 Content = content; 63 65 } 64 66
Note: See TracChangeset
for help on using the changeset viewer.