Changeset 5784
- Timestamp:
- 03/22/11 01:47:47 (14 years ago)
- Location:
- trunk/sources
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Core.Views/3.3/CreateParameterDialog.cs
r5445 r5784 32 32 get { 33 33 try { 34 return (IParameter)Activator.CreateInstance(parameterTypeSelector.SelectedType, nameTextBox.Text, descriptionTextBox.Text); 34 IParameter parameter = (IParameter)Activator.CreateInstance(parameterTypeSelector.SelectedType, nameTextBox.Text, descriptionTextBox.Text); 35 parameter.Hidden = false; 36 return parameter; 35 37 } 36 38 catch (Exception ex) { -
trunk/sources/HeuristicLab.Operators/3.3/SingleSuccessorOperator.cs
r5445 r5784 48 48 : base() { 49 49 Parameters.Add(new OperatorParameter("Successor", "Operator which is executed next.")); 50 SuccessorParameter.Hidden = true; 50 51 } 51 52 52 53 public override IOperation Apply() { 53 54 if (Successor != null) -
trunk/sources/HeuristicLab.Parameters/3.3/LookupParameter.cs
r5445 r5784 68 68 : base("Anonymous", typeof(T)) { 69 69 this.actualName = Name; 70 this.Hidden = true; 70 71 } 71 72 public LookupParameter(string name) 72 73 : base(name, typeof(T)) { 73 74 this.actualName = Name; 75 this.Hidden = true; 74 76 } 75 77 public LookupParameter(string name, string description) 76 78 : base(name, description, typeof(T)) { 77 79 this.actualName = Name; 80 this.Hidden = true; 78 81 } 79 82 public LookupParameter(string name, string description, string actualName) 80 83 : base(name, description, typeof(T)) { 81 84 this.actualName = string.IsNullOrWhiteSpace(actualName) ? Name : actualName; 85 this.Hidden = true; 82 86 } 83 87 -
trunk/sources/HeuristicLab.Parameters/3.3/ScopeParameter.cs
r5445 r5784 41 41 public ScopeParameter() 42 42 : base("Anonymous", typeof(IScope)) { 43 this.Hidden = true; 43 44 } 44 45 public ScopeParameter(string name) 45 46 : base(name, typeof(IScope)) { 47 this.Hidden = true; 46 48 } 47 49 public ScopeParameter(string name, string description) 48 50 : base(name, description, typeof(IScope)) { 51 this.Hidden = true; 49 52 } 50 53 -
trunk/sources/HeuristicLab.Parameters/3.3/ValueLookupParameter.cs
r5445 r5784 89 89 public ValueLookupParameter() 90 90 : base() { 91 this.Hidden = false; 91 92 this.getsCollected = true; 92 93 } 93 94 public ValueLookupParameter(string name) 94 95 : base(name) { 96 this.Hidden = false; 95 97 this.getsCollected = true; 96 98 } 97 99 public ValueLookupParameter(string name, bool getsCollected) 98 100 : base(name) { 101 this.Hidden = false; 99 102 this.getsCollected = getsCollected; 100 103 } … … 102 105 : base(name) { 103 106 this.value = value; 107 this.Hidden = false; 104 108 this.getsCollected = true; 105 109 RegisterValueEvents(); … … 108 112 : base(name) { 109 113 this.value = value; 114 this.Hidden = false; 110 115 this.getsCollected = getsCollected; 111 116 RegisterValueEvents(); … … 113 118 public ValueLookupParameter(string name, string description) 114 119 : base(name, description) { 120 this.Hidden = false; 115 121 this.getsCollected = true; 116 122 } 117 123 public ValueLookupParameter(string name, string description, bool getsCollected) 118 124 : base(name, description) { 125 this.Hidden = false; 119 126 this.getsCollected = getsCollected; 120 127 } … … 122 129 : base(name, description) { 123 130 this.value = value; 131 this.Hidden = false; 124 132 this.getsCollected = true; 125 133 RegisterValueEvents(); … … 128 136 : base(name, description) { 129 137 this.value = value; 138 this.Hidden = false; 130 139 this.getsCollected = getsCollected; 131 140 RegisterValueEvents(); … … 133 142 public ValueLookupParameter(string name, string description, string actualName) 134 143 : base(name, description, actualName) { 144 this.Hidden = false; 135 145 this.getsCollected = true; 136 146 } 137 147 public ValueLookupParameter(string name, string description, string actualName, bool getsCollected) 138 148 : base(name, description, actualName) { 149 this.Hidden = false; 139 150 this.getsCollected = getsCollected; 140 151 }
Note: See TracChangeset
for help on using the changeset viewer.