Changeset 5262 for branches/HeuristicLab.MetaOptimization/HeuristicLab.Problems.MetaOptimization.Views/3.3/ValueConfigurationViews
- Timestamp:
- 01/10/11 02:26:55 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HeuristicLab.MetaOptimization/HeuristicLab.Problems.MetaOptimization.Views/3.3/ValueConfigurationViews/ValueView.cs
r5231 r5262 46 46 47 47 private void setValueButton_Click(object sender, EventArgs e) { 48 //var typesWithoutNullValue = Content.ValidTypes.Where(x => x != typeof(NullValue));49 //var instances = typesWithoutNullValue.Select(x => (IItem)Activator.CreateInstance(x));50 //var groupedInstances = instances.GroupBy(x => ApplicationManager.Manager.GetDeclaringPlugin(x.GetType()).Name);51 //var objectSelectorDialog = new ObjectSelectorDialog<IItem>(groupedInstances);52 53 48 var withoutNullValue = Content.ValidValues.Where(x => x != null && !(x is NullValue)); 54 49 var objectSelectorDialog = new ObjectSelectorDialog<IItem>(withoutNullValue.GroupBy(x => ApplicationManager.Manager.GetDeclaringPlugin(x.GetType()).Name));
Note: See TracChangeset
for help on using the changeset viewer.