Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
02/18/20 16:28:53 (5 years ago)
Author:
dpiringe
Message:

#3026:

  • added two new methods in IJsonItem -> FixatePath and LoosenPath to fixate/loosen the path (to enable name changing without effects on path)
  • set IsInRange to virtual and made overrides for IntMatrixJsonItem and DoubleMatrixJsonItem (IsInRange is a bad name and needs to be renamed in future versions)
  • implemented basic validation feedback with ErrorProvider for some inputs (templateName, Name, Range)
  • now all items gets validated before export (validation errors are shown with ErrorHandling.ShowErrorDialog)
  • added a check in AlgorithmConverter to prevent an exception for accessing the first element of an empty IEnumerable
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/3026_IntegrationIntoSymSpace/HeuristicLab.JsonInterface.OptimizerIntegration/Views/JsonItemValueControl.Designer.cs

    r17443 r17444  
    3737      this.textBoxValue.Size = new System.Drawing.Size(402, 20);
    3838      this.textBoxValue.TabIndex = 14;
     39      this.textBoxValue.Validating += new System.ComponentModel.CancelEventHandler(this.textBoxValue_Validating);
    3940      //
    4041      // label2
     
    5152      this.numericRangeControl1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
    5253            | System.Windows.Forms.AnchorStyles.Right)));
    53       this.numericRangeControl1.Location = new System.Drawing.Point(9, 127);
     54      this.numericRangeControl1.Location = new System.Drawing.Point(9, 125);
    5455      this.numericRangeControl1.Name = "numericRangeControl1";
    55       this.numericRangeControl1.Size = new System.Drawing.Size(485, 112);
     56      this.numericRangeControl1.Size = new System.Drawing.Size(485, 72);
    5657      this.numericRangeControl1.TabIndex = 16;
    5758      //
     
    6465      this.Controls.Add(this.textBoxValue);
    6566      this.Name = "JsonItemValueControl";
    66       this.Size = new System.Drawing.Size(500, 247);
     67      this.Size = new System.Drawing.Size(500, 199);
    6768      this.Controls.SetChildIndex(this.textBoxValue, 0);
    6869      this.Controls.SetChildIndex(this.label2, 0);
Note: See TracChangeset for help on using the changeset viewer.