Free cookie consent management tool by TermsFeed Policy Generator

Changeset 18047


Ignore:
Timestamp:
09/03/21 16:16:53 (3 years ago)
Author:
dpiringe
Message:

#3026

  • created a new ui control for post processors called ResultCollectionPostProcessorControl based on CheckedItemListView
    • the reason is the text property of itemsGroupBox -> now it displays Post Processors instead of Items
  • integrated the new control in ExportJsonDialog
Location:
branches/3026_IntegrationIntoSymSpace
Files:
2 added
4 edited

Legend:

Unmodified
Added
Removed
  • branches/3026_IntegrationIntoSymSpace/HeuristicLab.JsonInterface.OptimizerIntegration/HeuristicLab.JsonInterface.OptimizerIntegration.csproj

    r18042 r18047  
    155155    <Compile Include="Plugin.cs" />
    156156    <Compile Include="Properties\AssemblyInfo.cs" />
     157    <Compile Include="Views\ResultCollectionPostProcessorControl.cs">
     158      <SubType>UserControl</SubType>
     159    </Compile>
     160    <Compile Include="Views\ResultCollectionPostProcessorControl.Designer.cs">
     161      <DependentUpon>ResultCollectionPostProcessorControl.cs</DependentUpon>
     162    </Compile>
    157163    <Compile Include="Views\ResultJsonItemControl.cs">
    158164      <SubType>UserControl</SubType>
  • branches/3026_IntegrationIntoSymSpace/HeuristicLab.JsonInterface.OptimizerIntegration/Views/ExportJsonDialog.Designer.cs

    r18046 r18047  
    176176      this.splitContainer2.TabIndex = 9;
    177177      // postProcessorListView
    178       this.postProcessorListView = new Core.Views.CheckedItemListView<IResultCollectionPostProcessor>();
    179       this.postProcessorListView.Content = new CheckedItemList<IResultCollectionPostProcessor>();
    180       this.postProcessorListView.Content.Add(new SymRegPythonPostProcessor());
    181       this.postProcessorListView.Location = new System.Drawing.Point(0, 6);
    182       this.postProcessorListView.Dock = System.Windows.Forms.DockStyle.Fill;
     178      this.postProcessorListControl = new ResultCollectionPostProcessorControl();
     179      this.postProcessorListControl.Content = new CheckedItemList<IResultCollectionPostProcessor>();
     180      this.postProcessorListControl.Content.Add(new SymRegPythonPostProcessor());
     181      this.postProcessorListControl.Location = new System.Drawing.Point(0, 6);
     182      this.postProcessorListControl.Dock = System.Windows.Forms.DockStyle.Fill;
    183183      //
    184184      // tabControl1
     
    220220      // tabPage3
    221221      //
    222       this.tabPage3.Controls.Add(this.postProcessorListView);
     222      this.tabPage3.Controls.Add(this.postProcessorListControl);
    223223      this.tabPage3.Location = new System.Drawing.Point(4, 22);
    224224      this.tabPage3.Name = "tabPage3";
     
    310310    private System.Windows.Forms.Panel panelResultDetails;
    311311    private System.Windows.Forms.TabPage tabPage3;
    312     private Core.Views.CheckedItemListView<IResultCollectionPostProcessor> postProcessorListView;
     312    private ResultCollectionPostProcessorControl postProcessorListControl;
    313313  }
    314314}
  • branches/3026_IntegrationIntoSymSpace/HeuristicLab.JsonInterface.OptimizerIntegration/Views/ExportJsonDialog.cs

    r18046 r18047  
    6161    public ExportJsonDialog() {
    6262      InitializeComponent();
    63       this.PostProcessors = this.postProcessorListView.Content;
     63      this.PostProcessors = this.postProcessorListControl.Content;
    6464      this.Icon = HeuristicLab.Common.Resources.HeuristicLab.Icon;
    6565      InitCache();
  • branches/3026_IntegrationIntoSymSpace/HeuristicLab.JsonInterface/ResultCollectionPostProcessors/SymRegPythonPostProcessor.cs

    r18046 r18047  
    3232    }
    3333
    34 
    3534    public override IDeepCloneable Clone(Cloner cloner) {
    3635      return new SymRegPythonPostProcessor(this, cloner);
Note: See TracChangeset for help on using the changeset viewer.