Changeset 5665 for branches/HeuristicLab.MetaOptimization/HeuristicLab.Problems.MetaOptimization.Views/3.3/OptimizableView.cs
- Timestamp:
- 03/10/11 19:26:58 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HeuristicLab.MetaOptimization/HeuristicLab.Problems.MetaOptimization.Views/3.3/OptimizableView.cs
r5653 r5665 1 1 using System; 2 using System.Linq; 2 3 using HeuristicLab.Core.Views; 3 4 using HeuristicLab.Data; … … 44 45 45 46 if (pc != null) { 46 this.viewHost.Content = ((IParameterConfiguration)Content).ValueConfigurations; 47 } else if(vc != null) { 47 if (pc is SingleValuedParameterConfiguration) { 48 this.viewHost.Content = ((ParameterizedValueConfiguration)pc.ValueConfigurations.Single()).ParameterConfigurations; 49 } else { 50 this.viewHost.Content = pc.ValueConfigurations; 51 } 52 } else if (vc != null) { 48 53 var rvc = Content as RangeValueConfiguration; 49 54 if (rvc != null) {
Note: See TracChangeset
for help on using the changeset viewer.