Changeset 5087 for branches/HeuristicLab.MetaOptimization/HeuristicLab.Problems.MetaOptimization.Views/3.3/OptimizableView.cs
- Timestamp:
- 12/12/10 11:34:13 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HeuristicLab.MetaOptimization/HeuristicLab.Problems.MetaOptimization.Views/3.3/OptimizableView.cs
r4997 r5087 53 53 Content.ActualValue.ValueDataType == typeof(DoubleValue) || 54 54 Content.ActualValue.ValueDataType == typeof(PercentValue)) { 55 this.viewHost.ViewsLabelVisible = true; 55 56 this.viewHost.Content = ((IValueConfiguration)Content).RangeConstraint; 56 57 } else if(Content.ActualValue.ValueDataType == typeof(BoolValue)) { 57 58 this.viewHost.Content = null; // no configuration required 58 59 } else { 60 this.viewHost.ViewsLabelVisible = false; 59 61 this.viewHost.Content = ((IValueConfiguration)Content).ParameterConfigurations; 60 62 } … … 63 65 } 64 66 } else { 67 this.viewHost.ViewsLabelVisible = false; 65 68 this.viewHost.Content = Content.ActualValue; 66 69 } 67 70 } 71 SetEnabledStateOfControls(); 68 72 } 69 73 void Content_IsOptimizabeChanged(object sender, EventArgs e) {
Note: See TracChangeset
for help on using the changeset viewer.