Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
02/01/21 14:37:18 (3 years ago)
Author:
dpiringe
Message:

#3026

  • removed the option to set the value for JsonItems via exporter
    • reworked some base controls
    • added new controls for JsonItem specific properties (e.g. ArrayResizable)
    • deleted a lot of obsolet controls
  • removed the Enable checkbox in the detail view of JsonItems
  • exporter now clones the IOptimizer object
  • added a check + message for unsupported exports
  • list of JsonItems now includes unsupported JsonItems (disabled and marked with 'unsupported')
  • refactored the converter type check
    • now every converter has to specify its supported type(s)
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/3026_IntegrationIntoSymSpace/HeuristicLab.JsonInterface.OptimizerIntegration/Shared/JsonItemBaseControl.Designer.cs

    r17473 r17828  
    3030      this.tableLayoutPanel5 = new System.Windows.Forms.TableLayoutPanel();
    3131      this.textBoxDescription = new System.Windows.Forms.TextBox();
    32       this.checkBoxActive = new System.Windows.Forms.CheckBox();
    3332      this.label1 = new System.Windows.Forms.Label();
    3433      this.labelDescription = new System.Windows.Forms.Label();
    35       this.labelEnable = new System.Windows.Forms.Label();
    3634      ((System.ComponentModel.ISupportInitialize)(this.errorProvider)).BeginInit();
    3735      this.tableLayoutPanel1.SuspendLayout();
     
    4846      this.textBoxName.Dock = System.Windows.Forms.DockStyle.Fill;
    4947      this.errorProvider.SetIconAlignment(this.textBoxName, System.Windows.Forms.ErrorIconAlignment.MiddleLeft);
    50       this.textBoxName.Location = new System.Drawing.Point(100, 25);
    51       this.textBoxName.Margin = new System.Windows.Forms.Padding(0);
     48      this.textBoxName.Location = new System.Drawing.Point(100, 2);
     49      this.textBoxName.Margin = new System.Windows.Forms.Padding(0, 2, 0, 0);
    5250      this.textBoxName.Name = "textBoxName";
    5351      this.textBoxName.Size = new System.Drawing.Size(394, 20);
     
    6563      this.tableLayoutPanel1.Name = "tableLayoutPanel1";
    6664      this.tableLayoutPanel1.RowCount = 2;
    67       this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 75F));
     65      this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 50F));
    6866      this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 100F));
    69       this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 20F));
    70       this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 20F));
    7167      this.tableLayoutPanel1.Size = new System.Drawing.Size(494, 594);
    7268      this.tableLayoutPanel1.TabIndex = 16;
     
    7773      this.tableLayoutPanel5.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 100F));
    7874      this.tableLayoutPanel5.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 100F));
    79       this.tableLayoutPanel5.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 20F));
    80       this.tableLayoutPanel5.Controls.Add(this.textBoxDescription, 1, 2);
    81       this.tableLayoutPanel5.Controls.Add(this.textBoxName, 1, 1);
    82       this.tableLayoutPanel5.Controls.Add(this.checkBoxActive, 1, 0);
    83       this.tableLayoutPanel5.Controls.Add(this.label1, 0, 1);
    84       this.tableLayoutPanel5.Controls.Add(this.labelDescription, 0, 2);
    85       this.tableLayoutPanel5.Controls.Add(this.labelEnable, 0, 0);
     75      this.tableLayoutPanel5.Controls.Add(this.textBoxDescription, 1, 1);
     76      this.tableLayoutPanel5.Controls.Add(this.textBoxName, 1, 0);
     77      this.tableLayoutPanel5.Controls.Add(this.label1, 0, 0);
     78      this.tableLayoutPanel5.Controls.Add(this.labelDescription, 0, 1);
    8679      this.tableLayoutPanel5.Dock = System.Windows.Forms.DockStyle.Fill;
    8780      this.tableLayoutPanel5.Location = new System.Drawing.Point(0, 0);
    8881      this.tableLayoutPanel5.Margin = new System.Windows.Forms.Padding(0);
    8982      this.tableLayoutPanel5.Name = "tableLayoutPanel5";
    90       this.tableLayoutPanel5.RowCount = 3;
    91       this.tableLayoutPanel5.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 33.33333F));
    92       this.tableLayoutPanel5.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 33.33333F));
    93       this.tableLayoutPanel5.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 33.33333F));
    94       this.tableLayoutPanel5.Size = new System.Drawing.Size(494, 75);
     83      this.tableLayoutPanel5.RowCount = 1;
     84      this.tableLayoutPanel5.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 50F));
     85      this.tableLayoutPanel5.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 50F));
     86      this.tableLayoutPanel5.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 20F));
     87      this.tableLayoutPanel5.Size = new System.Drawing.Size(494, 50);
    9588      this.tableLayoutPanel5.TabIndex = 17;
    9689      //
     
    9891      //
    9992      this.textBoxDescription.Dock = System.Windows.Forms.DockStyle.Fill;
    100       this.textBoxDescription.Location = new System.Drawing.Point(100, 52);
     93      this.textBoxDescription.Location = new System.Drawing.Point(100, 27);
    10194      this.textBoxDescription.Margin = new System.Windows.Forms.Padding(0, 2, 0, 0);
    10295      this.textBoxDescription.Name = "textBoxDescription";
     
    10497      this.textBoxDescription.TabIndex = 14;
    10598      //
    106       // checkBoxActive
    107       //
    108       this.checkBoxActive.AutoSize = true;
    109       this.checkBoxActive.Dock = System.Windows.Forms.DockStyle.Fill;
    110       this.checkBoxActive.Location = new System.Drawing.Point(100, 0);
    111       this.checkBoxActive.Margin = new System.Windows.Forms.Padding(0);
    112       this.checkBoxActive.Name = "checkBoxActive";
    113       this.checkBoxActive.Size = new System.Drawing.Size(394, 25);
    114       this.checkBoxActive.TabIndex = 2;
    115       this.checkBoxActive.UseVisualStyleBackColor = true;
    116       //
    11799      // label1
    118100      //
    119101      this.label1.AutoSize = true;
    120102      this.label1.Dock = System.Windows.Forms.DockStyle.Fill;
    121       this.label1.Location = new System.Drawing.Point(0, 25);
     103      this.label1.Location = new System.Drawing.Point(0, 0);
    122104      this.label1.Margin = new System.Windows.Forms.Padding(0);
    123105      this.label1.Name = "label1";
     
    131113      this.labelDescription.AutoSize = true;
    132114      this.labelDescription.Dock = System.Windows.Forms.DockStyle.Fill;
    133       this.labelDescription.Location = new System.Drawing.Point(0, 50);
     115      this.labelDescription.Location = new System.Drawing.Point(0, 25);
    134116      this.labelDescription.Margin = new System.Windows.Forms.Padding(0);
    135117      this.labelDescription.Name = "labelDescription";
     
    138120      this.labelDescription.Text = "Description";
    139121      this.labelDescription.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
    140       //
    141       // labelEnable
    142       //
    143       this.labelEnable.AutoSize = true;
    144       this.labelEnable.Dock = System.Windows.Forms.DockStyle.Fill;
    145       this.labelEnable.Location = new System.Drawing.Point(0, 0);
    146       this.labelEnable.Margin = new System.Windows.Forms.Padding(0);
    147       this.labelEnable.Name = "labelEnable";
    148       this.labelEnable.Size = new System.Drawing.Size(100, 25);
    149       this.labelEnable.TabIndex = 3;
    150       this.labelEnable.Text = "Enable";
    151       this.labelEnable.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
    152122      //
    153123      // JsonItemBaseControl
     
    170140    #endregion
    171141    protected System.Windows.Forms.ErrorProvider errorProvider;
    172     protected System.Windows.Forms.Label labelEnable;
    173     protected System.Windows.Forms.CheckBox checkBoxActive;
    174142    protected System.Windows.Forms.TextBox textBoxName;
    175143    protected System.Windows.Forms.Label label1;
Note: See TracChangeset for help on using the changeset viewer.