Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
07/30/09 10:47:00 (15 years ago)
Author:
gkronber
Message:

GP Refactoring: #713

  • added project GP.Operators
  • moved operators from plugin GP to plugin GP.Operators
  • deleted unused constraints
  • removed dependency of GP plugins on Constraints plugin
  • moved StructID functions into directory Symbols
  • deleted unused class FunView
  • implemented add and remove functionality for the FunctionLibraryView
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/GP-Refactoring-713/sources/HeuristicLab.GP/3.3/FunctionLibraryEditor.Designer.cs

    r2202 r2212  
    4545    /// </summary>
    4646    private void InitializeComponent() {
    47       this.operatorLibraryEditor = new HeuristicLab.Core.OperatorLibraryEditor();
    4847      this.tabControl = new System.Windows.Forms.TabControl();
    49       this.operatorLibraryTabPage = new System.Windows.Forms.TabPage();
     48      this.functionsTabPage = new System.Windows.Forms.TabPage();
    5049      this.initializationTabPage = new System.Windows.Forms.TabPage();
    5150      this.initSplitContainer = new System.Windows.Forms.SplitContainer();
     
    5655      this.mutationListView = new System.Windows.Forms.ListView();
    5756      this.mutationVariableView = new HeuristicLab.Core.VariableView();
     57      this.addButton = new System.Windows.Forms.Button();
     58      this.removeButton = new System.Windows.Forms.Button();
     59      this.functionsListView = new System.Windows.Forms.ListView();
    5860      this.tabControl.SuspendLayout();
    59       this.operatorLibraryTabPage.SuspendLayout();
     61      this.functionsTabPage.SuspendLayout();
    6062      this.initializationTabPage.SuspendLayout();
    6163      this.initSplitContainer.Panel1.SuspendLayout();
     
    6870      this.SuspendLayout();
    6971      //
    70       // operatorLibraryEditor
    71       //
    72       this.operatorLibraryEditor.Caption = "Operator Library";
    73       this.operatorLibraryEditor.Dock = System.Windows.Forms.DockStyle.Fill;
    74       this.operatorLibraryEditor.Filename = null;
    75       this.operatorLibraryEditor.Location = new System.Drawing.Point(3, 3);
    76       this.operatorLibraryEditor.Name = "operatorLibraryEditor";
    77       this.operatorLibraryEditor.OperatorLibrary = null;
    78       this.operatorLibraryEditor.Size = new System.Drawing.Size(663, 529);
    79       this.operatorLibraryEditor.TabIndex = 0;
    80       //
    8172      // tabControl
    8273      //
    83       this.tabControl.Controls.Add(this.operatorLibraryTabPage);
     74      this.tabControl.Controls.Add(this.functionsTabPage);
    8475      this.tabControl.Controls.Add(this.initializationTabPage);
    8576      this.tabControl.Controls.Add(this.mutationTabPage);
     
    9182      this.tabControl.TabIndex = 1;
    9283      //
    93       // operatorLibraryTabPage
    94       //
    95       this.operatorLibraryTabPage.Controls.Add(this.operatorLibraryEditor);
    96       this.operatorLibraryTabPage.Location = new System.Drawing.Point(4, 22);
    97       this.operatorLibraryTabPage.Name = "operatorLibraryTabPage";
    98       this.operatorLibraryTabPage.Padding = new System.Windows.Forms.Padding(3);
    99       this.operatorLibraryTabPage.Size = new System.Drawing.Size(669, 535);
    100       this.operatorLibraryTabPage.TabIndex = 0;
    101       this.operatorLibraryTabPage.Text = "Operator Library";
    102       this.operatorLibraryTabPage.UseVisualStyleBackColor = true;
     84      // functionsTabPage
     85      //
     86      this.functionsTabPage.Controls.Add(this.functionsListView);
     87      this.functionsTabPage.Controls.Add(this.removeButton);
     88      this.functionsTabPage.Controls.Add(this.addButton);
     89      this.functionsTabPage.Location = new System.Drawing.Point(4, 22);
     90      this.functionsTabPage.Name = "functionsTabPage";
     91      this.functionsTabPage.Padding = new System.Windows.Forms.Padding(3);
     92      this.functionsTabPage.Size = new System.Drawing.Size(669, 535);
     93      this.functionsTabPage.TabIndex = 0;
     94      this.functionsTabPage.Text = "Functions";
     95      this.functionsTabPage.UseVisualStyleBackColor = true;
    10396      //
    10497      // initializationTabPage
     
    201194      this.mutationVariableView.Variable = null;
    202195      //
    203       // GPOperatorLibraryEditor
     196      // addButton
     197      //
     198      this.addButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     199      this.addButton.Location = new System.Drawing.Point(6, 506);
     200      this.addButton.Name = "addButton";
     201      this.addButton.Size = new System.Drawing.Size(75, 23);
     202      this.addButton.TabIndex = 1;
     203      this.addButton.Text = "Add...";
     204      this.addButton.UseVisualStyleBackColor = true;
     205      this.addButton.Click += new System.EventHandler(this.addButton_Click);
     206      //
     207      // removeButton
     208      //
     209      this.removeButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     210      this.removeButton.Location = new System.Drawing.Point(87, 506);
     211      this.removeButton.Name = "removeButton";
     212      this.removeButton.Size = new System.Drawing.Size(75, 23);
     213      this.removeButton.TabIndex = 2;
     214      this.removeButton.Text = "Remove";
     215      this.removeButton.UseVisualStyleBackColor = true;
     216      this.removeButton.Click += new System.EventHandler(this.removeButton_Click);
     217      //
     218      // functionsListView
     219      //
     220      this.functionsListView.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
     221                  | System.Windows.Forms.AnchorStyles.Left)
     222                  | System.Windows.Forms.AnchorStyles.Right)));
     223      this.functionsListView.Location = new System.Drawing.Point(3, 6);
     224      this.functionsListView.Name = "functionsListView";
     225      this.functionsListView.Size = new System.Drawing.Size(660, 494);
     226      this.functionsListView.TabIndex = 3;
     227      this.functionsListView.UseCompatibleStateImageBehavior = false;
     228      this.functionsListView.SelectedIndexChanged += new System.EventHandler(this.functionsListView_SelectedIndexChanged);
     229      //
     230      // FunctionLibraryEditor
    204231      //
    205232      this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
    206233      this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
    207234      this.Controls.Add(this.tabControl);
    208       this.Name = "GPOperatorLibraryEditor";
     235      this.Name = "FunctionLibraryEditor";
    209236      this.Size = new System.Drawing.Size(677, 561);
    210237      this.tabControl.ResumeLayout(false);
    211       this.operatorLibraryTabPage.ResumeLayout(false);
     238      this.functionsTabPage.ResumeLayout(false);
    212239      this.initializationTabPage.ResumeLayout(false);
    213240      this.initSplitContainer.Panel1.ResumeLayout(false);
     
    224251    #endregion
    225252
    226     private HeuristicLab.Core.OperatorLibraryEditor operatorLibraryEditor;
    227253    private System.Windows.Forms.TabControl tabControl;
    228     private System.Windows.Forms.TabPage operatorLibraryTabPage;
     254    private System.Windows.Forms.TabPage functionsTabPage;
    229255    private System.Windows.Forms.TabPage initializationTabPage;
    230256    private System.Windows.Forms.TabPage mutationTabPage;
     
    235261    private System.Windows.Forms.ListView initListView;
    236262    private System.Windows.Forms.ListView mutationListView;
     263    private System.Windows.Forms.Button removeButton;
     264    private System.Windows.Forms.Button addButton;
     265    private System.Windows.Forms.ListView functionsListView;
    237266  }
    238267}
Note: See TracChangeset for help on using the changeset viewer.