Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
02/10/10 03:39:02 (14 years ago)
Author:
swagner
Message:

Operator architecture refactoring (#95)

  • worked on parameters and operators
Location:
trunk/sources/HeuristicLab.Operators.Views/3.3
Files:
2 added
1 edited
2 moved

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Operators.Views/3.3/HeuristicLab.Operators.Views-3.3.csproj

    r2756 r2773  
    5858    </Compile>
    5959    <None Include="HeuristicLabOperatorsViewsPlugin.cs.frame" />
    60     <Compile Include="MultipleSuccessorsOperatorView.cs">
     60    <Compile Include="MultipleCallsOperatorView.cs">
    6161      <SubType>UserControl</SubType>
    6262    </Compile>
    63     <Compile Include="MultipleSuccessorsOperatorView.Designer.cs">
    64       <DependentUpon>MultipleSuccessorsOperatorView.cs</DependentUpon>
     63    <Compile Include="MultipleCallsOperatorView.Designer.cs">
     64      <DependentUpon>MultipleCallsOperatorView.cs</DependentUpon>
     65    </Compile>
     66    <Compile Include="ValuesCollectorView.cs">
     67      <SubType>UserControl</SubType>
     68    </Compile>
     69    <Compile Include="ValuesCollectorView.Designer.cs">
     70      <DependentUpon>ValuesCollectorView.cs</DependentUpon>
    6571    </Compile>
    6672    <Compile Include="HeuristicLabOperatorsViewsPlugin.cs" />
  • trunk/sources/HeuristicLab.Operators.Views/3.3/MultipleCallsOperatorView.Designer.cs

    r2772 r2773  
    2121
    2222namespace HeuristicLab.Operators.Views {
    23   partial class MultipleSuccessorsOperatorView {
     23  partial class MultipleCallsOperatorView {
    2424    /// <summary>
    2525    /// Required designer variable.
     
    4646    private void InitializeComponent() {
    4747      this.tabControl = new System.Windows.Forms.TabControl();
    48       this.successorsTabPage = new System.Windows.Forms.TabPage();
    49       this.successorsListView = new HeuristicLab.Core.Views.OperatorListView();
     48      this.operatorsTabPage = new System.Windows.Forms.TabPage();
     49      this.operatorListView = new HeuristicLab.Core.Views.OperatorListView();
    5050      this.parametersTabPage = new System.Windows.Forms.TabPage();
    5151      this.parameterCollectionView = new HeuristicLab.Core.Views.ParameterCollectionView();
    5252      ((System.ComponentModel.ISupportInitialize)(this.errorProvider)).BeginInit();
    5353      this.tabControl.SuspendLayout();
    54       this.successorsTabPage.SuspendLayout();
     54      this.operatorsTabPage.SuspendLayout();
    5555      this.parametersTabPage.SuspendLayout();
    5656      this.SuspendLayout();
     
    7373                  | System.Windows.Forms.AnchorStyles.Left)
    7474                  | System.Windows.Forms.AnchorStyles.Right)));
    75       this.tabControl.Controls.Add(this.successorsTabPage);
     75      this.tabControl.Controls.Add(this.operatorsTabPage);
    7676      this.tabControl.Controls.Add(this.parametersTabPage);
    7777      this.tabControl.Location = new System.Drawing.Point(0, 118);
     
    8181      this.tabControl.TabIndex = 4;
    8282      //
    83       // successorsTabPage
     83      // operatorsTabPage
    8484      //
    85       this.successorsTabPage.Controls.Add(this.successorsListView);
    86       this.successorsTabPage.Location = new System.Drawing.Point(4, 22);
    87       this.successorsTabPage.Name = "successorsTabPage";
    88       this.successorsTabPage.Padding = new System.Windows.Forms.Padding(3);
    89       this.successorsTabPage.Size = new System.Drawing.Size(478, 338);
    90       this.successorsTabPage.TabIndex = 0;
    91       this.successorsTabPage.Text = "Successors";
    92       this.successorsTabPage.UseVisualStyleBackColor = true;
     85      this.operatorsTabPage.Controls.Add(this.operatorListView);
     86      this.operatorsTabPage.Location = new System.Drawing.Point(4, 22);
     87      this.operatorsTabPage.Name = "operatorsTabPage";
     88      this.operatorsTabPage.Padding = new System.Windows.Forms.Padding(3);
     89      this.operatorsTabPage.Size = new System.Drawing.Size(478, 338);
     90      this.operatorsTabPage.TabIndex = 0;
     91      this.operatorsTabPage.Text = "Operators";
     92      this.operatorsTabPage.UseVisualStyleBackColor = true;
    9393      //
    94       // successorsListView
     94      // operatorListView
    9595      //
    96       this.successorsListView.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
     96      this.operatorListView.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
    9797                  | System.Windows.Forms.AnchorStyles.Left)
    9898                  | System.Windows.Forms.AnchorStyles.Right)));
    99       this.successorsListView.Caption = "Operator List";
    100       this.successorsListView.Content = null;
    101       this.successorsListView.Location = new System.Drawing.Point(6, 6);
    102       this.successorsListView.Name = "successorsListView";
    103       this.successorsListView.Size = new System.Drawing.Size(466, 326);
    104       this.successorsListView.TabIndex = 0;
     99      this.operatorListView.Caption = "Operator List";
     100      this.operatorListView.Content = null;
     101      this.operatorListView.Location = new System.Drawing.Point(6, 6);
     102      this.operatorListView.Name = "operatorListView";
     103      this.operatorListView.Size = new System.Drawing.Size(466, 326);
     104      this.operatorListView.TabIndex = 0;
    105105      //
    106106      // parametersTabPage
     
    127127      this.parameterCollectionView.TabIndex = 0;
    128128      //
    129       // MultipleSuccessorsOperatorView
     129      // MultipleCallsOperatorView
    130130      //
    131131      this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
    132132      this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
    133133      this.Controls.Add(this.tabControl);
    134       this.Name = "MultipleSuccessorsOperatorView";
     134      this.Name = "MultipleCallsOperatorView";
    135135      this.Size = new System.Drawing.Size(486, 482);
    136136      this.Controls.SetChildIndex(this.tabControl, 0);
     
    141141      ((System.ComponentModel.ISupportInitialize)(this.errorProvider)).EndInit();
    142142      this.tabControl.ResumeLayout(false);
    143       this.successorsTabPage.ResumeLayout(false);
     143      this.operatorsTabPage.ResumeLayout(false);
    144144      this.parametersTabPage.ResumeLayout(false);
    145145      this.ResumeLayout(false);
     
    151151
    152152    protected System.Windows.Forms.TabControl tabControl;
    153     protected System.Windows.Forms.TabPage successorsTabPage;
     153    protected System.Windows.Forms.TabPage operatorsTabPage;
    154154    protected System.Windows.Forms.TabPage parametersTabPage;
    155155    private HeuristicLab.Core.Views.ParameterCollectionView parameterCollectionView;
    156     private HeuristicLab.Core.Views.OperatorListView successorsListView;
     156    private HeuristicLab.Core.Views.OperatorListView operatorListView;
    157157  }
    158158}
  • trunk/sources/HeuristicLab.Operators.Views/3.3/MultipleCallsOperatorView.cs

    r2772 r2773  
    3535  /// The base class for visual representations of items.
    3636  /// </summary>
    37   [Content(typeof(MultipleSuccessorsOperator), true)]
    38   public partial class MultipleSuccessorsOperatorView : NamedItemView {
    39     public new MultipleSuccessorsOperator Content {
    40       get { return (MultipleSuccessorsOperator)base.Content; }
     37  [Content(typeof(MultipleCallsOperator), true)]
     38  public partial class MultipleCallsOperatorView : NamedItemView {
     39    public new MultipleCallsOperator Content {
     40      get { return (MultipleCallsOperator)base.Content; }
    4141      set { base.Content = value; }
    4242    }
     
    4545    /// Initializes a new instance of <see cref="ItemBaseView"/>.
    4646    /// </summary>
    47     public MultipleSuccessorsOperatorView() {
     47    public MultipleCallsOperatorView() {
    4848      InitializeComponent();
    4949    }
     
    5252    /// </summary>
    5353    /// <param name="item">The item that should be displayed.</param>
    54     public MultipleSuccessorsOperatorView(MultipleSuccessorsOperator content)
     54    public MultipleCallsOperatorView(MultipleCallsOperator content)
    5555      : this() {
    5656      Content = content;
     
    6060      base.OnContentChanged();
    6161      if (Content == null) {
    62         successorsListView.Content = null;
     62        operatorListView.Content = null;
    6363        parameterCollectionView.Content = null;
    6464        tabControl.Enabled = false;
    6565      } else {
    66         successorsListView.Content = Content.Successors;
     66        operatorListView.Content = Content.Operators;
    6767        parameterCollectionView.Content = ((IOperator)Content).Parameters;
    6868        tabControl.Enabled = true;
Note: See TracChangeset for help on using the changeset viewer.