Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
09/16/21 15:27:07 (3 years ago)
Author:
dpiringe
Message:

#3026

  • added StorableTypeAttribute and StorableConstructorAttribute to all JsonItems
  • added a new JsonItem ListJsonItem + Interfaces IListJsonItem
  • renamed SymRegPythonProcessor to RunCollectionSRSolutionPythonFormatter
  • removed Interface IResultCollectionProcessor -> using the interface IRunCollectionModifier now (has aleady implementations)
  • renamed all related variables/fields/properties with a connection to ResultCollectionProcessor
  • added new implementations for IRunCollectionModifier
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  
    11using HeuristicLab.Core;
     2using HeuristicLab.Optimization;
    23
    34namespace HeuristicLab.JsonInterface.OptimizerIntegration {
     
    2728    private void InitializeComponent() {
    2829      this.components = new System.ComponentModel.Container();
     30      HeuristicLab.Core.CheckedItemList<HeuristicLab.Optimization.IRunCollectionModifier> checkedItemList_11 = new HeuristicLab.Core.CheckedItemList<HeuristicLab.Optimization.IRunCollectionModifier>();
    2931      this.dataGridViewTextBoxColumn1 = new System.Windows.Forms.DataGridViewTextBoxColumn();
    3032      this.exportButton = new System.Windows.Forms.Button();
     
    4143      this.tabPage2 = new System.Windows.Forms.TabPage();
    4244      this.tabPage3 = new System.Windows.Forms.TabPage();
     45      this.postProcessorListControl = new HeuristicLab.JsonInterface.OptimizerIntegration.ResultCollectionPostProcessorControl();
    4346      this.label1 = new System.Windows.Forms.Label();
    4447      this.textBoxTemplateName = new System.Windows.Forms.TextBox();
     
    5861      this.tabPage1.SuspendLayout();
    5962      this.tabPage2.SuspendLayout();
     63      this.tabPage3.SuspendLayout();
    6064      ((System.ComponentModel.ISupportInitialize)(this.errorProvider)).BeginInit();
    6165      ((System.ComponentModel.ISupportInitialize)(this.jsonItemBindingSource)).BeginInit();
     
    175179      this.splitContainer2.SplitterDistance = 380;
    176180      this.splitContainer2.TabIndex = 9;
    177       // postProcessorListView
    178       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;
    182181      //
    183182      // tabControl1
     
    224223      this.tabPage3.Size = new System.Drawing.Size(802, 505);
    225224      this.tabPage3.TabIndex = 2;
    226       this.tabPage3.Text = "Post Processors";
     225      this.tabPage3.Text = "Result Collection Modifiers";
    227226      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;
    228239      //
    229240      // label1
     
    282293      this.tabPage1.ResumeLayout(false);
    283294      this.tabPage2.ResumeLayout(false);
     295      this.tabPage3.ResumeLayout(false);
    284296      ((System.ComponentModel.ISupportInitialize)(this.errorProvider)).EndInit();
    285297      ((System.ComponentModel.ISupportInitialize)(this.jsonItemBindingSource)).EndInit();
  • branches/3026_IntegrationIntoSymSpace/HeuristicLab.JsonInterface.OptimizerIntegration/Views/ExportJsonDialog.cs

    r18050 r18055  
    2222    private IOptimizer Optimizer { get; set; }
    2323    private IList<IJsonItemVM> VMs { get; set; }
    24     private ICheckedItemList<IResultCollectionProcessor> PostProcessors { get; set; }
     24    private ICheckedItemList<IRunCollectionModifier> RunCollectionModifiers { get; set; }
    2525    #endregion
    2626
     
    6161    public ExportJsonDialog() {
    6262      InitializeComponent();
    63       this.PostProcessors = this.postProcessorListControl.Content;
     63      this.RunCollectionModifiers = this.postProcessorListControl.Content;
    6464      this.Icon = HeuristicLab.Common.Resources.HeuristicLab.Icon;
    6565      InitCache();
     
    7878          JsonTemplateGenerator.GenerateTemplate(
    7979            Path.Combine(FolderBrowserDialog.SelectedPath, textBoxTemplateName.Text),
    80             Optimizer, Root, PostProcessors.CheckedItems.Select(x => x.Value));
     80            Optimizer, Root, RunCollectionModifiers.CheckedItems.Select(x => x.Value));
    8181          Close();
    8282        } catch (Exception ex) {
  • branches/3026_IntegrationIntoSymSpace/HeuristicLab.JsonInterface.OptimizerIntegration/Views/ResultCollectionPostProcessorControl.cs

    r18050 r18055  
    99using System.Windows.Forms;
    1010using HeuristicLab.Collections;
     11using HeuristicLab.Optimization;
    1112
    1213namespace HeuristicLab.JsonInterface.OptimizerIntegration {
    13   public partial class ResultCollectionPostProcessorControl : Core.Views.CheckedItemListView<IResultCollectionProcessor> {
     14  public partial class ResultCollectionPostProcessorControl : Core.Views.CheckedItemListView<IRunCollectionModifier> {
    1415    public ResultCollectionPostProcessorControl() {
    1516      InitializeComponent();
    1617    }
    1718
    18     protected override string GroupBoxText => "Result Collection Processors";
     19    protected override string GroupBoxText => "Run Collection Modifiers";
    1920
    2021  }
Note: See TracChangeset for help on using the changeset viewer.