Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
02/18/10 13:51:21 (14 years ago)
Author:
mkommend
Message:

changed OperatorGraphView in EngineView and CombinedOperatorView to ViewHost (ticket #867)

Location:
trunk/sources/HeuristicLab.Operators.Views/3.3
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Operators.Views/3.3/CombinedOperatorView.Designer.cs

    r2790 r2826  
    4747      this.tabControl = new System.Windows.Forms.TabControl();
    4848      this.parametersTabPage = new System.Windows.Forms.TabPage();
     49      this.parameterCollectionView = new HeuristicLab.Core.Views.ParameterCollectionView();
    4950      this.operatorGraphTabPage = new System.Windows.Forms.TabPage();
    50       this.parameterCollectionView = new HeuristicLab.Core.Views.ParameterCollectionView();
    51       this.operatorGraphView = new HeuristicLab.Core.Views.OperatorGraphView();
     51      this.operatorGraphViewHost = new HeuristicLab.Core.Views.ViewHost();
    5252      ((System.ComponentModel.ISupportInitialize)(this.errorProvider)).BeginInit();
    5353      this.tabControl.SuspendLayout();
     
    9292      this.parametersTabPage.UseVisualStyleBackColor = true;
    9393      //
     94      // parameterCollectionView
     95      //
     96      this.parameterCollectionView.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
     97                  | System.Windows.Forms.AnchorStyles.Left)
     98                  | System.Windows.Forms.AnchorStyles.Right)));
     99      this.parameterCollectionView.Caption = "ParameterCollection";
     100      this.parameterCollectionView.Content = null;
     101      this.parameterCollectionView.Location = new System.Drawing.Point(6, 6);
     102      this.parameterCollectionView.Name = "parameterCollectionView";
     103      this.parameterCollectionView.Size = new System.Drawing.Size(466, 326);
     104      this.parameterCollectionView.TabIndex = 0;
     105      //
    94106      // operatorGraphTabPage
    95107      //
    96       this.operatorGraphTabPage.Controls.Add(this.operatorGraphView);
     108      this.operatorGraphTabPage.Controls.Add(this.operatorGraphViewHost);
    97109      this.operatorGraphTabPage.Location = new System.Drawing.Point(4, 22);
    98110      this.operatorGraphTabPage.Name = "operatorGraphTabPage";
     
    103115      this.operatorGraphTabPage.UseVisualStyleBackColor = true;
    104116      //
    105       // parameterCollectionView
     117      // operatorGraphViewHost
    106118      //
    107       this.parameterCollectionView.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
     119      this.operatorGraphViewHost.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
    108120                  | System.Windows.Forms.AnchorStyles.Left)
    109121                  | System.Windows.Forms.AnchorStyles.Right)));
    110       this.parameterCollectionView.Caption = "ParameterCollection";
    111       this.parameterCollectionView.Location = new System.Drawing.Point(6, 6);
    112       this.parameterCollectionView.Name = "parameterCollectionView";
    113       this.parameterCollectionView.Size = new System.Drawing.Size(466, 326);
    114       this.parameterCollectionView.TabIndex = 0;
    115       //
    116       // operatorGraphView
    117       //
    118       this.operatorGraphView.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
    119                   | System.Windows.Forms.AnchorStyles.Left)
    120                   | System.Windows.Forms.AnchorStyles.Right)));
    121       this.operatorGraphView.Caption = "Operator Graph";
    122       this.operatorGraphView.Location = new System.Drawing.Point(6, 6);
    123       this.operatorGraphView.Name = "operatorGraphView";
    124       this.operatorGraphView.Size = new System.Drawing.Size(466, 326);
    125       this.operatorGraphView.TabIndex = 0;
     122      this.operatorGraphViewHost.Content = null;
     123      this.operatorGraphViewHost.Location = new System.Drawing.Point(6, 6);
     124      this.operatorGraphViewHost.Name = "operatorGraphViewHost";
     125      this.operatorGraphViewHost.Size = new System.Drawing.Size(466, 326);
     126      this.operatorGraphViewHost.TabIndex = 0;
     127      this.operatorGraphViewHost.ViewType = null;
    126128      //
    127129      // CombinedOperatorView
     
    152154    protected System.Windows.Forms.TabPage operatorGraphTabPage;
    153155    protected HeuristicLab.Core.Views.ParameterCollectionView parameterCollectionView;
    154     protected HeuristicLab.Core.Views.OperatorGraphView operatorGraphView;
     156    protected HeuristicLab.Core.Views.ViewHost operatorGraphViewHost;
    155157  }
    156158}
  • trunk/sources/HeuristicLab.Operators.Views/3.3/CombinedOperatorView.cs

    r2796 r2826  
    5454      if (Content == null) {
    5555        parameterCollectionView.Content = null;
    56         operatorGraphView.Content = null;
     56        operatorGraphViewHost.Content = null;
    5757        tabControl.Enabled = false;
    5858      } else {
    5959        parameterCollectionView.Content = ((IOperator)Content).Parameters;
    60         operatorGraphView.Content = Content.OperatorGraph;
     60        operatorGraphViewHost.Content = Content.OperatorGraph;
    6161        tabControl.Enabled = true;
    6262      }
Note: See TracChangeset for help on using the changeset viewer.