Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
03/03/10 06:46:30 (15 years ago)
Author:
swagner
Message:

Operator architecture refactoring (#95)

  • implemented reviewers' comments
Location:
trunk/sources/HeuristicLab.Parameters.Views/3.3
Files:
12 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Parameters.Views/3.3/ConstrainedValueParameterView.Designer.cs

    r2852 r2917  
    4545    /// </summary>
    4646    private void InitializeComponent() {
    47       this.components = new System.ComponentModel.Container();
    4847      this.valueGroupBox = new System.Windows.Forms.GroupBox();
    4948      this.viewHost = new HeuristicLab.Core.Views.ViewHost();
    50       this.toolTip = new System.Windows.Forms.ToolTip(this.components);
    5149      this.valueComboBox = new System.Windows.Forms.ComboBox();
    5250      ((System.ComponentModel.ISupportInitialize)(this.errorProvider)).BeginInit();
     
    5452      this.SuspendLayout();
    5553      //
     54      // dataTypeLabel
     55      //
     56      this.dataTypeLabel.Location = new System.Drawing.Point(3, 55);
     57      //
    5658      // dataTypeTextBox
    5759      //
    58       this.dataTypeTextBox.Location = new System.Drawing.Point(80, 94);
     60      this.dataTypeTextBox.Location = new System.Drawing.Point(80, 52);
    5961      this.dataTypeTextBox.Size = new System.Drawing.Size(306, 20);
    6062      //
     
    6971      //
    7072      this.descriptionTextBox.Location = new System.Drawing.Point(80, 26);
    71       this.descriptionTextBox.Size = new System.Drawing.Size(306, 62);
     73      this.descriptionTextBox.Size = new System.Drawing.Size(306, 20);
    7274      //
    7375      // valueGroupBox
     
    7880      this.valueGroupBox.Controls.Add(this.viewHost);
    7981      this.valueGroupBox.Controls.Add(this.valueComboBox);
    80       this.valueGroupBox.Location = new System.Drawing.Point(0, 120);
     82      this.valueGroupBox.Location = new System.Drawing.Point(0, 78);
    8183      this.valueGroupBox.Name = "valueGroupBox";
    82       this.valueGroupBox.Size = new System.Drawing.Size(386, 195);
     84      this.valueGroupBox.Size = new System.Drawing.Size(386, 237);
    8385      this.valueGroupBox.TabIndex = 6;
    8486      this.valueGroupBox.TabStop = false;
     
    9395      this.viewHost.Location = new System.Drawing.Point(6, 46);
    9496      this.viewHost.Name = "viewHost";
    95       this.viewHost.Size = new System.Drawing.Size(374, 143);
     97      this.viewHost.Size = new System.Drawing.Size(374, 185);
    9698      this.viewHost.TabIndex = 0;
    9799      this.viewHost.ViewType = null;
     
    135137    private System.Windows.Forms.GroupBox valueGroupBox;
    136138    private HeuristicLab.Core.Views.ViewHost viewHost;
    137     private System.Windows.Forms.ToolTip toolTip;
    138139    private System.Windows.Forms.ComboBox valueComboBox;
    139140  }
  • trunk/sources/HeuristicLab.Parameters.Views/3.3/ConstrainedValueParameterView.cs

    r2870 r2917  
    3131  /// The visual representation of a <see cref="Parameter"/>.
    3232  /// </summary>
     33  [View("ConstrainedValueParameter View")]
    3334  [Content(typeof(ConstrainedValueParameter<>), true)]
    3435  public sealed partial class ConstrainedValueParameterView<T> : ParameterView where T : class, IItem {
  • trunk/sources/HeuristicLab.Parameters.Views/3.3/LookupParameterView.Designer.cs

    r2790 r2917  
    5252      // dataTypeLabel
    5353      //
    54       this.dataTypeLabel.Location = new System.Drawing.Point(3, 123);
     54      this.dataTypeLabel.Location = new System.Drawing.Point(3, 81);
    5555      this.dataTypeLabel.TabIndex = 6;
    5656      //
    5757      // dataTypeTextBox
    5858      //
    59       this.dataTypeTextBox.Location = new System.Drawing.Point(80, 120);
     59      this.dataTypeTextBox.Location = new System.Drawing.Point(80, 78);
    6060      this.dataTypeTextBox.Size = new System.Drawing.Size(306, 20);
    6161      this.dataTypeTextBox.TabIndex = 7;
     
    7676      //
    7777      this.descriptionTextBox.Location = new System.Drawing.Point(80, 52);
    78       this.descriptionTextBox.Size = new System.Drawing.Size(306, 62);
     78      this.descriptionTextBox.Size = new System.Drawing.Size(306, 20);
    7979      this.descriptionTextBox.TabIndex = 5;
    8080      //
     
    105105      this.Controls.Add(this.actualNameLabel);
    106106      this.Name = "LookupParameterView";
    107       this.Size = new System.Drawing.Size(386, 143);
     107      this.Size = new System.Drawing.Size(386, 105);
    108108      this.Controls.SetChildIndex(this.descriptionTextBox, 0);
     109      this.Controls.SetChildIndex(this.dataTypeTextBox, 0);
    109110      this.Controls.SetChildIndex(this.descriptionLabel, 0);
    110       this.Controls.SetChildIndex(this.dataTypeTextBox, 0);
     111      this.Controls.SetChildIndex(this.dataTypeLabel, 0);
    111112      this.Controls.SetChildIndex(this.actualNameLabel, 0);
    112       this.Controls.SetChildIndex(this.dataTypeLabel, 0);
    113113      this.Controls.SetChildIndex(this.nameTextBox, 0);
    114114      this.Controls.SetChildIndex(this.actualNameTextBox, 0);
  • trunk/sources/HeuristicLab.Parameters.Views/3.3/LookupParameterView.cs

    r2818 r2917  
    2929  /// The visual representation of a <see cref="Parameter"/>.
    3030  /// </summary>
     31  [View("LookupParameter View")]
    3132  [Content(typeof(LookupParameter<>), true)]
    3233  [Content(typeof(ILookupParameter<>), false)]
  • trunk/sources/HeuristicLab.Parameters.Views/3.3/OptionalValueParameterView.Designer.cs

    r2891 r2917  
    4646    /// </summary>
    4747    private void InitializeComponent() {
    48       this.components = new System.ComponentModel.Container();
    4948      this.valueGroupBox = new System.Windows.Forms.GroupBox();
    5049      this.valuePanel = new System.Windows.Forms.Panel();
     
    5251      this.clearValueButton = new System.Windows.Forms.Button();
    5352      this.setValueButton = new System.Windows.Forms.Button();
    54       this.toolTip = new System.Windows.Forms.ToolTip(this.components);
    5553      ((System.ComponentModel.ISupportInitialize)(this.errorProvider)).BeginInit();
    5654      this.valueGroupBox.SuspendLayout();
     
    5856      this.SuspendLayout();
    5957      //
     58      // dataTypeLabel
     59      //
     60      this.dataTypeLabel.Location = new System.Drawing.Point(3, 55);
     61      //
    6062      // dataTypeTextBox
    6163      //
    62       this.dataTypeTextBox.Location = new System.Drawing.Point(80, 94);
     64      this.dataTypeTextBox.Location = new System.Drawing.Point(80, 52);
    6365      this.dataTypeTextBox.Size = new System.Drawing.Size(306, 20);
    6466      //
     
    7375      //
    7476      this.descriptionTextBox.Location = new System.Drawing.Point(80, 26);
    75       this.descriptionTextBox.Size = new System.Drawing.Size(306, 62);
     77      this.descriptionTextBox.Size = new System.Drawing.Size(306, 20);
    7678      //
    7779      // valueGroupBox
     
    8385      this.valueGroupBox.Controls.Add(this.clearValueButton);
    8486      this.valueGroupBox.Controls.Add(this.setValueButton);
    85       this.valueGroupBox.Location = new System.Drawing.Point(0, 120);
     87      this.valueGroupBox.Location = new System.Drawing.Point(0, 78);
    8688      this.valueGroupBox.Name = "valueGroupBox";
    87       this.valueGroupBox.Size = new System.Drawing.Size(386, 195);
     89      this.valueGroupBox.Size = new System.Drawing.Size(386, 237);
    8890      this.valueGroupBox.TabIndex = 6;
    8991      this.valueGroupBox.TabStop = false;
     
    99101      this.valuePanel.Location = new System.Drawing.Point(6, 49);
    100102      this.valuePanel.Name = "valuePanel";
    101       this.valuePanel.Size = new System.Drawing.Size(374, 140);
     103      this.valuePanel.Size = new System.Drawing.Size(374, 182);
    102104      this.valuePanel.TabIndex = 0;
    103105      this.valuePanel.DragOver += new System.Windows.Forms.DragEventHandler(this.valuePanel_DragEnterOver);
     
    111113      this.viewHost.Location = new System.Drawing.Point(0, 0);
    112114      this.viewHost.Name = "viewHost";
    113       this.viewHost.Size = new System.Drawing.Size(374, 140);
     115      this.viewHost.Size = new System.Drawing.Size(374, 182);
    114116      this.viewHost.TabIndex = 0;
     117      this.viewHost.ViewType = null;
    115118      //
    116119      // clearValueButton
     
    165168    protected HeuristicLab.Core.Views.ViewHost viewHost;
    166169    protected System.Windows.Forms.Button setValueButton;
    167     protected System.Windows.Forms.ToolTip toolTip;
    168170    protected System.Windows.Forms.Button clearValueButton;
    169171  }
  • trunk/sources/HeuristicLab.Parameters.Views/3.3/OptionalValueParameterView.cs

    r2891 r2917  
    3030  /// The visual representation of a <see cref="Parameter"/>.
    3131  /// </summary>
     32  [View("OptionalValueParameter View")]
    3233  [Content(typeof(OptionalValueParameter<>), true)]
    3334  [Content(typeof(IValueParameter<>), false)]
  • trunk/sources/HeuristicLab.Parameters.Views/3.3/ParameterView.Designer.cs

    r2790 r2917  
    5454      this.errorProvider.SetIconAlignment(this.nameTextBox, System.Windows.Forms.ErrorIconAlignment.MiddleLeft);
    5555      this.errorProvider.SetIconPadding(this.nameTextBox, 2);
    56       this.nameTextBox.Location = new System.Drawing.Point(72, 0);
    5756      this.nameTextBox.Size = new System.Drawing.Size(321, 20);
    58       //
    59       // nameLabel
    60       //
    61       this.nameLabel.Location = new System.Drawing.Point(3, 3);
    62       //
    63       // descriptionLabel
    64       //
    65       this.descriptionLabel.Location = new System.Drawing.Point(3, 29);
    6657      //
    6758      // descriptionTextBox
    6859      //
    69       this.descriptionTextBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
    70                   | System.Windows.Forms.AnchorStyles.Right)));
    71       this.descriptionTextBox.Location = new System.Drawing.Point(72, 26);
    72       this.descriptionTextBox.Size = new System.Drawing.Size(321, 62);
     60      this.descriptionTextBox.Size = new System.Drawing.Size(321, 20);
    7361      //
    7462      // dataTypeLabel
    7563      //
    7664      this.dataTypeLabel.AutoSize = true;
    77       this.dataTypeLabel.Location = new System.Drawing.Point(3, 97);
     65      this.dataTypeLabel.Location = new System.Drawing.Point(3, 55);
    7866      this.dataTypeLabel.Name = "dataTypeLabel";
    7967      this.dataTypeLabel.Size = new System.Drawing.Size(60, 13);
     
    8573      this.dataTypeTextBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
    8674                  | System.Windows.Forms.AnchorStyles.Right)));
    87       this.dataTypeTextBox.Location = new System.Drawing.Point(72, 94);
     75      this.dataTypeTextBox.Location = new System.Drawing.Point(72, 52);
    8876      this.dataTypeTextBox.Name = "dataTypeTextBox";
    8977      this.dataTypeTextBox.ReadOnly = true;
     
    9886      this.Controls.Add(this.dataTypeTextBox);
    9987      this.Name = "ParameterView";
    100       this.Size = new System.Drawing.Size(393, 124);
     88      this.Size = new System.Drawing.Size(393, 79);
    10189      this.Controls.SetChildIndex(this.dataTypeTextBox, 0);
    10290      this.Controls.SetChildIndex(this.descriptionTextBox, 0);
  • trunk/sources/HeuristicLab.Parameters.Views/3.3/ParameterView.cs

    r2818 r2917  
    2929  /// The visual representation of a <see cref="Parameter"/>.
    3030  /// </summary>
     31  [View("Parameter View")]
    3132  [Content(typeof(Parameter), true)]
    3233  [Content(typeof(IParameter), false)]
  • trunk/sources/HeuristicLab.Parameters.Views/3.3/ValueLookupParameterView.Designer.cs

    r2796 r2917  
    4646    /// </summary>
    4747    private void InitializeComponent() {
    48       this.components = new System.ComponentModel.Container();
    4948      this.valueGroupBox = new System.Windows.Forms.GroupBox();
    5049      this.valuePanel = new System.Windows.Forms.Panel();
     
    5251      this.clearValueButton = new System.Windows.Forms.Button();
    5352      this.setValueButton = new System.Windows.Forms.Button();
    54       this.toolTip = new System.Windows.Forms.ToolTip(this.components);
    5553      this.actualNameTextBox = new System.Windows.Forms.TextBox();
    5654      this.actualNameLabel = new System.Windows.Forms.Label();
     
    6260      // dataTypeLabel
    6361      //
    64       this.dataTypeLabel.Location = new System.Drawing.Point(3, 123);
     62      this.dataTypeLabel.Location = new System.Drawing.Point(3, 81);
    6563      this.dataTypeLabel.TabIndex = 6;
    6664      //
    6765      // dataTypeTextBox
    6866      //
    69       this.dataTypeTextBox.Location = new System.Drawing.Point(80, 120);
     67      this.dataTypeTextBox.Location = new System.Drawing.Point(80, 78);
    7068      this.dataTypeTextBox.Size = new System.Drawing.Size(306, 20);
    7169      this.dataTypeTextBox.TabIndex = 7;
     
    8684      //
    8785      this.descriptionTextBox.Location = new System.Drawing.Point(80, 52);
    88       this.descriptionTextBox.Size = new System.Drawing.Size(306, 62);
     86      this.descriptionTextBox.Size = new System.Drawing.Size(306, 20);
    8987      this.descriptionTextBox.TabIndex = 5;
    9088      //
     
    9795      this.valueGroupBox.Controls.Add(this.clearValueButton);
    9896      this.valueGroupBox.Controls.Add(this.setValueButton);
    99       this.valueGroupBox.Location = new System.Drawing.Point(0, 146);
     97      this.valueGroupBox.Location = new System.Drawing.Point(0, 104);
    10098      this.valueGroupBox.Name = "valueGroupBox";
    101       this.valueGroupBox.Size = new System.Drawing.Size(386, 169);
     99      this.valueGroupBox.Size = new System.Drawing.Size(386, 211);
    102100      this.valueGroupBox.TabIndex = 8;
    103101      this.valueGroupBox.TabStop = false;
     
    113111      this.valuePanel.Location = new System.Drawing.Point(6, 49);
    114112      this.valuePanel.Name = "valuePanel";
    115       this.valuePanel.Size = new System.Drawing.Size(374, 114);
     113      this.valuePanel.Size = new System.Drawing.Size(374, 156);
    116114      this.valuePanel.TabIndex = 0;
    117115      this.valuePanel.DragOver += new System.Windows.Forms.DragEventHandler(this.valuePanel_DragEnterOver);
     
    125123      this.viewHost.Location = new System.Drawing.Point(0, 0);
    126124      this.viewHost.Name = "viewHost";
    127       this.viewHost.Size = new System.Drawing.Size(374, 114);
     125      this.viewHost.Size = new System.Drawing.Size(374, 156);
    128126      this.viewHost.TabIndex = 0;
     127      this.viewHost.ViewType = null;
    129128      //
    130129      // clearValueButton
     
    202201    protected HeuristicLab.Core.Views.ViewHost viewHost;
    203202    protected System.Windows.Forms.Button setValueButton;
    204     protected System.Windows.Forms.ToolTip toolTip;
    205203    protected System.Windows.Forms.Button clearValueButton;
    206204    protected System.Windows.Forms.TextBox actualNameTextBox;
  • trunk/sources/HeuristicLab.Parameters.Views/3.3/ValueLookupParameterView.cs

    r2818 r2917  
    3030  /// The visual representation of a <see cref="Parameter"/>.
    3131  /// </summary>
     32  [View("ValueLookupParameter View")]
    3233  [Content(typeof(ValueLookupParameter<>), true)]
    3334  [Content(typeof(IValueLookupParameter<>), false)]
  • trunk/sources/HeuristicLab.Parameters.Views/3.3/ValueParameterView.Designer.cs

    r2891 r2917  
    5353      this.SuspendLayout();
    5454      //
     55      // dataTypeLabel
     56      //
     57      this.dataTypeLabel.Location = new System.Drawing.Point(3, 55);
     58      //
    5559      // dataTypeTextBox
    5660      //
    57       this.dataTypeTextBox.Location = new System.Drawing.Point(80, 94);
     61      this.dataTypeTextBox.Location = new System.Drawing.Point(80, 52);
    5862      this.dataTypeTextBox.Size = new System.Drawing.Size(306, 20);
    5963      //
     
    6872      //
    6973      this.descriptionTextBox.Location = new System.Drawing.Point(80, 26);
    70       this.descriptionTextBox.Size = new System.Drawing.Size(306, 62);
     74      this.descriptionTextBox.Size = new System.Drawing.Size(306, 20);
    7175      //
    7276      // valueGroupBox
     
    7680                  | System.Windows.Forms.AnchorStyles.Right)));
    7781      this.valueGroupBox.Controls.Add(this.valuePanel);
    78       this.valueGroupBox.Location = new System.Drawing.Point(0, 120);
     82      this.valueGroupBox.Location = new System.Drawing.Point(0, 78);
    7983      this.valueGroupBox.Name = "valueGroupBox";
    80       this.valueGroupBox.Size = new System.Drawing.Size(386, 195);
     84      this.valueGroupBox.Size = new System.Drawing.Size(386, 237);
    8185      this.valueGroupBox.TabIndex = 6;
    8286      this.valueGroupBox.TabStop = false;
     
    9296      this.valuePanel.Location = new System.Drawing.Point(6, 19);
    9397      this.valuePanel.Name = "valuePanel";
    94       this.valuePanel.Size = new System.Drawing.Size(374, 170);
     98      this.valuePanel.Size = new System.Drawing.Size(374, 212);
    9599      this.valuePanel.TabIndex = 0;
    96100      this.valuePanel.DragOver += new System.Windows.Forms.DragEventHandler(this.valuePanel_DragEnterOver);
     
    104108      this.viewHost.Location = new System.Drawing.Point(0, 0);
    105109      this.viewHost.Name = "viewHost";
    106       this.viewHost.Size = new System.Drawing.Size(374, 170);
     110      this.viewHost.Size = new System.Drawing.Size(374, 212);
    107111      this.viewHost.TabIndex = 0;
    108112      this.viewHost.ViewType = null;
  • trunk/sources/HeuristicLab.Parameters.Views/3.3/ValueParameterView.cs

    r2891 r2917  
    3030  /// The visual representation of a <see cref="Parameter"/>.
    3131  /// </summary>
     32  [View("ValueParameter View")]
    3233  [Content(typeof(ValueParameter<>), true)]
    3334  public partial class ValueParameterView<T> : ParameterView where T : class, IItem {
Note: See TracChangeset for help on using the changeset viewer.