Changeset 18055 for branches/3026_IntegrationIntoSymSpace/HeuristicLab.JsonInterface.OptimizerIntegration
- Timestamp:
- 09/16/21 15:27:07 (3 years ago)
- Location:
- branches/3026_IntegrationIntoSymSpace/HeuristicLab.JsonInterface.OptimizerIntegration/Views
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/3026_IntegrationIntoSymSpace/HeuristicLab.JsonInterface.OptimizerIntegration/Views/ExportJsonDialog.Designer.cs
r18050 r18055 1 1 using HeuristicLab.Core; 2 using HeuristicLab.Optimization; 2 3 3 4 namespace HeuristicLab.JsonInterface.OptimizerIntegration { … … 27 28 private void InitializeComponent() { 28 29 this.components = new System.ComponentModel.Container(); 30 HeuristicLab.Core.CheckedItemList<HeuristicLab.Optimization.IRunCollectionModifier> checkedItemList_11 = new HeuristicLab.Core.CheckedItemList<HeuristicLab.Optimization.IRunCollectionModifier>(); 29 31 this.dataGridViewTextBoxColumn1 = new System.Windows.Forms.DataGridViewTextBoxColumn(); 30 32 this.exportButton = new System.Windows.Forms.Button(); … … 41 43 this.tabPage2 = new System.Windows.Forms.TabPage(); 42 44 this.tabPage3 = new System.Windows.Forms.TabPage(); 45 this.postProcessorListControl = new HeuristicLab.JsonInterface.OptimizerIntegration.ResultCollectionPostProcessorControl(); 43 46 this.label1 = new System.Windows.Forms.Label(); 44 47 this.textBoxTemplateName = new System.Windows.Forms.TextBox(); … … 58 61 this.tabPage1.SuspendLayout(); 59 62 this.tabPage2.SuspendLayout(); 63 this.tabPage3.SuspendLayout(); 60 64 ((System.ComponentModel.ISupportInitialize)(this.errorProvider)).BeginInit(); 61 65 ((System.ComponentModel.ISupportInitialize)(this.jsonItemBindingSource)).BeginInit(); … … 175 179 this.splitContainer2.SplitterDistance = 380; 176 180 this.splitContainer2.TabIndex = 9; 177 // postProcessorListView178 this.postProcessorListControl = new ResultCollectionPostProcessorControl();179 this.postProcessorListControl.Content = new CheckedItemList<IResultCollectionProcessor>();180 this.postProcessorListControl.Location = new System.Drawing.Point(0, 6);181 this.postProcessorListControl.Dock = System.Windows.Forms.DockStyle.Fill;182 181 // 183 182 // tabControl1 … … 224 223 this.tabPage3.Size = new System.Drawing.Size(802, 505); 225 224 this.tabPage3.TabIndex = 2; 226 this.tabPage3.Text = " Post Processors";225 this.tabPage3.Text = "Result Collection Modifiers"; 227 226 this.tabPage3.UseVisualStyleBackColor = true; 227 // 228 // postProcessorListControl 229 // 230 this.postProcessorListControl.Caption = "View"; 231 checkedItemList_11.Capacity = 0; 232 this.postProcessorListControl.Content = checkedItemList_11; 233 this.postProcessorListControl.Dock = System.Windows.Forms.DockStyle.Fill; 234 this.postProcessorListControl.Location = new System.Drawing.Point(0, 0); 235 this.postProcessorListControl.Name = "postProcessorListControl"; 236 this.postProcessorListControl.ReadOnly = false; 237 this.postProcessorListControl.Size = new System.Drawing.Size(802, 505); 238 this.postProcessorListControl.TabIndex = 0; 228 239 // 229 240 // label1 … … 282 293 this.tabPage1.ResumeLayout(false); 283 294 this.tabPage2.ResumeLayout(false); 295 this.tabPage3.ResumeLayout(false); 284 296 ((System.ComponentModel.ISupportInitialize)(this.errorProvider)).EndInit(); 285 297 ((System.ComponentModel.ISupportInitialize)(this.jsonItemBindingSource)).EndInit(); -
branches/3026_IntegrationIntoSymSpace/HeuristicLab.JsonInterface.OptimizerIntegration/Views/ExportJsonDialog.cs
r18050 r18055 22 22 private IOptimizer Optimizer { get; set; } 23 23 private IList<IJsonItemVM> VMs { get; set; } 24 private ICheckedItemList<IR esultCollectionProcessor> PostProcessors { get; set; }24 private ICheckedItemList<IRunCollectionModifier> RunCollectionModifiers { get; set; } 25 25 #endregion 26 26 … … 61 61 public ExportJsonDialog() { 62 62 InitializeComponent(); 63 this. PostProcessors = this.postProcessorListControl.Content;63 this.RunCollectionModifiers = this.postProcessorListControl.Content; 64 64 this.Icon = HeuristicLab.Common.Resources.HeuristicLab.Icon; 65 65 InitCache(); … … 78 78 JsonTemplateGenerator.GenerateTemplate( 79 79 Path.Combine(FolderBrowserDialog.SelectedPath, textBoxTemplateName.Text), 80 Optimizer, Root, PostProcessors.CheckedItems.Select(x => x.Value));80 Optimizer, Root, RunCollectionModifiers.CheckedItems.Select(x => x.Value)); 81 81 Close(); 82 82 } catch (Exception ex) { -
branches/3026_IntegrationIntoSymSpace/HeuristicLab.JsonInterface.OptimizerIntegration/Views/ResultCollectionPostProcessorControl.cs
r18050 r18055 9 9 using System.Windows.Forms; 10 10 using HeuristicLab.Collections; 11 using HeuristicLab.Optimization; 11 12 12 13 namespace HeuristicLab.JsonInterface.OptimizerIntegration { 13 public partial class ResultCollectionPostProcessorControl : Core.Views.CheckedItemListView<IR esultCollectionProcessor> {14 public partial class ResultCollectionPostProcessorControl : Core.Views.CheckedItemListView<IRunCollectionModifier> { 14 15 public ResultCollectionPostProcessorControl() { 15 16 InitializeComponent(); 16 17 } 17 18 18 protected override string GroupBoxText => "R esult Collection Processors";19 protected override string GroupBoxText => "Run Collection Modifiers"; 19 20 20 21 }
Note: See TracChangeset
for help on using the changeset viewer.