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.Core.Views/3.3
Files:
2 added
26 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Core.Views/3.3/EngineView.Designer.cs

    r2916 r2917  
    4545    /// </summary>
    4646    private void InitializeComponent() {
    47       this.components = new System.ComponentModel.Container();
    4847      this.executionTimeTextBox = new System.Windows.Forms.TextBox();
    4948      this.executionTimeLabel = new System.Windows.Forms.Label();
    50       this.stopButton = new System.Windows.Forms.Button();
    51       this.startButton = new System.Windows.Forms.Button();
    52       this.toolTip = new System.Windows.Forms.ToolTip(this.components);
    5349      this.logTextBox = new System.Windows.Forms.TextBox();
     50      this.logLabel = new System.Windows.Forms.Label();
    5451      this.SuspendLayout();
    5552      //
    5653      // executionTimeTextBox
    5754      //
    58       this.executionTimeTextBox.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
    59       this.executionTimeTextBox.Location = new System.Drawing.Point(661, 620);
     55      this.executionTimeTextBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
     56                  | System.Windows.Forms.AnchorStyles.Right)));
     57      this.executionTimeTextBox.Location = new System.Drawing.Point(92, 0);
    6058      this.executionTimeTextBox.Name = "executionTimeTextBox";
    6159      this.executionTimeTextBox.ReadOnly = true;
    62       this.executionTimeTextBox.Size = new System.Drawing.Size(141, 20);
    63       this.executionTimeTextBox.TabIndex = 5;
     60      this.executionTimeTextBox.Size = new System.Drawing.Size(338, 20);
     61      this.executionTimeTextBox.TabIndex = 1;
    6462      //
    6563      // executionTimeLabel
    6664      //
    67       this.executionTimeLabel.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
    6865      this.executionTimeLabel.AutoSize = true;
    69       this.executionTimeLabel.Location = new System.Drawing.Point(572, 623);
     66      this.executionTimeLabel.Location = new System.Drawing.Point(3, 3);
    7067      this.executionTimeLabel.Name = "executionTimeLabel";
    7168      this.executionTimeLabel.Size = new System.Drawing.Size(83, 13);
    72       this.executionTimeLabel.TabIndex = 4;
     69      this.executionTimeLabel.TabIndex = 0;
    7370      this.executionTimeLabel.Text = "&Execution Time:";
    74       //
    75       // stopButton
    76       //
    77       this.stopButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
    78       this.stopButton.Enabled = false;
    79       this.stopButton.Image = HeuristicLab.Common.Resources.VS2008ImageLibrary.Stop;
    80       this.stopButton.Location = new System.Drawing.Point(30, 616);
    81       this.stopButton.Name = "stopButton";
    82       this.stopButton.Size = new System.Drawing.Size(24, 24);
    83       this.stopButton.TabIndex = 2;
    84       this.toolTip.SetToolTip(this.stopButton, "Stop Engine");
    85       this.stopButton.UseVisualStyleBackColor = true;
    86       this.stopButton.Click += new System.EventHandler(this.stopButton_Click);
    87       //
    88       // startButton
    89       //
    90       this.startButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
    91       this.startButton.Image = HeuristicLab.Common.Resources.VS2008ImageLibrary.Play;
    92       this.startButton.Location = new System.Drawing.Point(0, 616);
    93       this.startButton.Name = "startButton";
    94       this.startButton.Size = new System.Drawing.Size(24, 24);
    95       this.startButton.TabIndex = 1;
    96       this.toolTip.SetToolTip(this.startButton, "Start Engine");
    97       this.startButton.UseVisualStyleBackColor = true;
    98       this.startButton.Click += new System.EventHandler(this.startButton_Click);
    9971      //
    10072      // logTextBox
     
    10375                  | System.Windows.Forms.AnchorStyles.Left)
    10476                  | System.Windows.Forms.AnchorStyles.Right)));
    105       this.logTextBox.Location = new System.Drawing.Point(0, 0);
     77      this.logTextBox.Location = new System.Drawing.Point(0, 39);
    10678      this.logTextBox.Multiline = true;
    10779      this.logTextBox.Name = "logTextBox";
    10880      this.logTextBox.ReadOnly = true;
    10981      this.logTextBox.ScrollBars = System.Windows.Forms.ScrollBars.Both;
    110       this.logTextBox.Size = new System.Drawing.Size(802, 610);
    111       this.logTextBox.TabIndex = 6;
     82      this.logTextBox.Size = new System.Drawing.Size(430, 315);
     83      this.logTextBox.TabIndex = 3;
    11284      this.logTextBox.WordWrap = false;
     85      //
     86      // logLabel
     87      //
     88      this.logLabel.AutoSize = true;
     89      this.logLabel.Location = new System.Drawing.Point(3, 23);
     90      this.logLabel.Name = "logLabel";
     91      this.logLabel.Size = new System.Drawing.Size(28, 13);
     92      this.logLabel.TabIndex = 2;
     93      this.logLabel.Text = "&Log:";
    11394      //
    11495      // EngineView
     
    11899      this.Controls.Add(this.logTextBox);
    119100      this.Controls.Add(this.executionTimeTextBox);
    120       this.Controls.Add(this.stopButton);
     101      this.Controls.Add(this.logLabel);
    121102      this.Controls.Add(this.executionTimeLabel);
    122       this.Controls.Add(this.startButton);
    123103      this.Name = "EngineView";
    124       this.Size = new System.Drawing.Size(802, 640);
     104      this.Size = new System.Drawing.Size(430, 354);
    125105      this.ResumeLayout(false);
    126106      this.PerformLayout();
     
    132112    protected System.Windows.Forms.TextBox executionTimeTextBox;
    133113    protected System.Windows.Forms.Label executionTimeLabel;
    134     protected System.Windows.Forms.Button stopButton;
    135     protected System.Windows.Forms.Button startButton;
    136     protected System.Windows.Forms.ToolTip toolTip;
    137114    protected System.Windows.Forms.TextBox logTextBox;
     115    protected System.Windows.Forms.Label logLabel;
    138116
    139117  }
  • trunk/sources/HeuristicLab.Core.Views/3.3/EngineView.cs

    r2916 r2917  
    2828  /// Base class for editors of engines.
    2929  /// </summary>
     30  [View("Engine View")]
    3031  [Content(typeof(Engine), true)]
    3132  [Content(typeof(IEngine), false)]
     
    8586    protected override void OnContentChanged() {
    8687      base.OnContentChanged();
    87       stopButton.Enabled = false;
    8888      logTextBox.Clear();
    8989      if (Content == null) {
    9090        logTextBox.Enabled = false;
    91         startButton.Enabled = false;
    9291        executionTimeTextBox.Enabled = false;
    9392      } else {
    9493        logTextBox.Enabled = true;
    95         startButton.Enabled = !Content.Finished;
    9694        UpdateExecutionTimeTextBox();
    9795        executionTimeTextBox.Enabled = true;
     
    104102        Invoke(new EventHandler(Content_Prepared), sender, e);
    105103      else {
    106         startButton.Enabled = !Content.Finished;
    107         stopButton.Enabled = false;
    108104        UpdateExecutionTimeTextBox();
    109105        logTextBox.Clear();
     
    116112        Invoke(new EventHandler(Content_Started), sender, e);
    117113      else {
    118         startButton.Enabled = false;
    119         stopButton.Enabled = true;
    120114        UpdateExecutionTimeTextBox();
    121115        Log("Engine started");
     
    126120        Invoke(new EventHandler(Content_Stopped), sender, e);
    127121      else {
    128         startButton.Enabled = !Content.Finished;
    129         stopButton.Enabled = false;
    130122        UpdateExecutionTimeTextBox();
    131123        if (Content.Finished) Log("Engine finished");
     
    145137      else
    146138        Log(Auxiliary.BuildErrorMessage(e.Value));
    147     }
    148     #endregion
    149 
    150     #region Button events
    151     protected virtual void startButton_Click(object sender, EventArgs e) {
    152       Content.Start();
    153     }
    154     protected virtual void stopButton_Click(object sender, EventArgs e) {
    155       Content.Stop();
    156139    }
    157140    #endregion
  • trunk/sources/HeuristicLab.Core.Views/3.3/HeuristicLab.Core.Views-3.3.csproj

    r2903 r2917  
    8787  <ItemGroup>
    8888    <None Include="HeuristicLabCoreViewsPlugin.cs.frame" />
     89    <Compile Include="TextDialog.cs">
     90      <SubType>Form</SubType>
     91    </Compile>
     92    <Compile Include="TextDialog.Designer.cs">
     93      <DependentUpon>TextDialog.cs</DependentUpon>
     94    </Compile>
    8995    <Compile Include="OperatorTreeView.cs">
    9096      <SubType>UserControl</SubType>
  • trunk/sources/HeuristicLab.Core.Views/3.3/ItemArrayView.cs

    r2870 r2917  
    3232  /// The visual representation of all variables in a specified scope.
    3333  /// </summary>
     34  [View("ItemArray View")]
    3435  [Content(typeof(ItemArray<>), true)]
    3536  [Content(typeof(IObservableArray<>), false)]
  • trunk/sources/HeuristicLab.Core.Views/3.3/ItemCollectionView.cs

    r2892 r2917  
    2828
    2929namespace HeuristicLab.Core.Views {
     30  [View("ItemCollection View")]
    3031  [Content(typeof(ItemCollection<>), true)]
    3132  [Content(typeof(IObservableCollection<>), false)]
  • trunk/sources/HeuristicLab.Core.Views/3.3/ItemListView.cs

    r2870 r2917  
    3232  /// The visual representation of all variables in a specified scope.
    3333  /// </summary>
     34  [View("ItemList View")]
    3435  [Content(typeof(ItemList<>), true)]
    3536  [Content(typeof(IObservableList<>), false)]
  • trunk/sources/HeuristicLab.Core.Views/3.3/ItemSetView.cs

    r2818 r2917  
    2626
    2727namespace HeuristicLab.Core.Views {
     28  [View("ItemSet View")]
    2829  [Content(typeof(ItemSet<>), true)]
    2930  [Content(typeof(IObservableSet<>), false)]
  • trunk/sources/HeuristicLab.Core.Views/3.3/ItemView.cs

    r2818 r2917  
    2828  /// Base class for all visual representations.
    2929  /// </summary>
     30  [View("Item View")]
    3031  [Content(typeof(Item), false)]
    3132  [Content(typeof(IItem), false)]
  • trunk/sources/HeuristicLab.Core.Views/3.3/NamedItemCollectionView.cs

    r2818 r2917  
    2626
    2727namespace HeuristicLab.Core.Views {
     28  [View("NamedItemCollection View")]
    2829  [Content(typeof(NamedItemCollection<>), true)]
    2930  public partial class NamedItemCollectionView<T> : ItemCollectionView<T> where T : class, INamedItem {
  • trunk/sources/HeuristicLab.Core.Views/3.3/NamedItemView.Designer.cs

    r2790 r2917  
    5151      this.descriptionTextBox = new System.Windows.Forms.TextBox();
    5252      this.errorProvider = new System.Windows.Forms.ErrorProvider(this.components);
     53      this.toolTip = new System.Windows.Forms.ToolTip(this.components);
    5354      ((System.ComponentModel.ISupportInitialize)(this.errorProvider)).BeginInit();
    5455      this.SuspendLayout();
     
    8687      // descriptionTextBox
    8788      //
    88       this.descriptionTextBox.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
    89                   | System.Windows.Forms.AnchorStyles.Left)
     89      this.descriptionTextBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
    9090                  | System.Windows.Forms.AnchorStyles.Right)));
    9191      this.descriptionTextBox.Location = new System.Drawing.Point(72, 26);
    92       this.descriptionTextBox.Multiline = true;
    9392      this.descriptionTextBox.Name = "descriptionTextBox";
    9493      this.descriptionTextBox.ScrollBars = System.Windows.Forms.ScrollBars.Vertical;
    95       this.descriptionTextBox.Size = new System.Drawing.Size(279, 86);
     94      this.descriptionTextBox.Size = new System.Drawing.Size(279, 20);
    9695      this.descriptionTextBox.TabIndex = 3;
     96      this.descriptionTextBox.DoubleClick += new System.EventHandler(this.descriptionTextBox_DoubleClick);
    9797      this.descriptionTextBox.Validated += new System.EventHandler(this.descriptionTextBox_Validated);
    9898      //
     
    111111      this.Controls.Add(this.nameLabel);
    112112      this.Name = "NamedItemView";
    113       this.Size = new System.Drawing.Size(351, 112);
     113      this.Size = new System.Drawing.Size(351, 52);
    114114      ((System.ComponentModel.ISupportInitialize)(this.errorProvider)).EndInit();
    115115      this.ResumeLayout(false);
     
    125125    protected System.Windows.Forms.TextBox descriptionTextBox;
    126126    protected System.Windows.Forms.ErrorProvider errorProvider;
     127    protected System.Windows.Forms.ToolTip toolTip;
    127128  }
    128129}
  • trunk/sources/HeuristicLab.Core.Views/3.3/NamedItemView.cs

    r2916 r2917  
    2323using System.ComponentModel;
    2424using System.Windows.Forms;
     25using HeuristicLab.Common;
    2526using HeuristicLab.MainForm;
    2627
     
    2930  /// The visual representation of a <see cref="Variable"/>.
    3031  /// </summary>
     32  [View("NamedItem View")]
    3133  [Content(typeof(NamedItem), false)]
    3234  [Content(typeof(INamedItem), false)]
     
    6769        descriptionTextBox.Text = "";
    6870        descriptionTextBox.Enabled = false;
     71        toolTip.SetToolTip(descriptionTextBox, string.Empty);
    6972      } else {
    7073        Caption = Content.Name + " (" + Content.GetType().Name + ")";
     
    7578        descriptionTextBox.ReadOnly = !Content.CanChangeDescription;
    7679        descriptionTextBox.Enabled = true;
     80        toolTip.SetToolTip(descriptionTextBox, Content.Description);
    7781      }
    7882    }
     
    8791      if (InvokeRequired)
    8892        Invoke(new EventHandler(Content_DescriptionChanged), sender, e);
    89       else
     93      else {
    9094        descriptionTextBox.Text = Content.Description;
     95        toolTip.SetToolTip(descriptionTextBox, Content.Description);
     96      }
    9197    }
    9298
     
    118124        Content.Description = descriptionTextBox.Text;
    119125    }
     126
     127    protected void descriptionTextBox_DoubleClick(object sender, EventArgs e) {
     128      using (TextDialog dialog = new TextDialog("Description of " + Content.Name, Content.Description, !Content.CanChangeDescription)) {
     129        if (dialog.ShowDialog(this) == DialogResult.OK)
     130          Content.Description = dialog.Content;
     131      }
     132    }
    120133  }
    121134}
  • trunk/sources/HeuristicLab.Core.Views/3.3/OperatorCollectionView.cs

    r2818 r2917  
    44
    55namespace HeuristicLab.Core.Views {
     6  [View("OperatorCollection View")]
    67  [Content(typeof(OperatorCollection), true)]
    78  [Content(typeof(IObservableCollection<IOperator>), false)]
  • trunk/sources/HeuristicLab.Core.Views/3.3/OperatorGraphView.cs

    r2818 r2917  
    3030  /// The visual representation of an <see cref="OperatorGraph"/>.
    3131  /// </summary>
     32  [View("OperatorGraph View (Tree)")]
    3233  [Content(typeof(OperatorGraph), true)]
    3334  public partial class OperatorGraphView : ItemView {
  • trunk/sources/HeuristicLab.Core.Views/3.3/OperatorListView.cs

    r2818 r2917  
    44
    55namespace HeuristicLab.Core.Views {
     6  [View("OperatorList View")]
    67  [Content(typeof(OperatorList), true)]
    78  [Content(typeof(IObservableList<IOperator>), false)]
  • trunk/sources/HeuristicLab.Core.Views/3.3/OperatorSetView.cs

    r2818 r2917  
    44
    55namespace HeuristicLab.Core.Views {
     6  [View("OperatorSet View")]
    67  [Content(typeof(OperatorSet), true)]
    78  [Content(typeof(IObservableSet<IOperator>), false)]
  • trunk/sources/HeuristicLab.Core.Views/3.3/OperatorTreeView.cs

    r2818 r2917  
    3232  /// The visual representation of an <see cref="OperatorGraph"/>.
    3333  /// </summary>
     34  [View("Operator View (Successors)")]
    3435  [Content(typeof(IOperator), false)]
    3536  public sealed partial class OperatorTreeView : ItemView {
  • trunk/sources/HeuristicLab.Core.Views/3.3/OperatorsSidebar.cs

    r2818 r2917  
    2222using System;
    2323using System.Windows.Forms;
     24using HeuristicLab.MainForm;
    2425
    2526namespace HeuristicLab.Core.Views {
     27  [View("Operators Sidebar")]
    2628  public partial class OperatorsSidebar : HeuristicLab.MainForm.WindowsForms.View {
    2729    public OperatorsSidebar() {
  • trunk/sources/HeuristicLab.Core.Views/3.3/ParameterCollectionView.cs

    r2818 r2917  
    2626
    2727namespace HeuristicLab.Core.Views {
     28  [View("ParameterCollection View")]
    2829  [Content(typeof(ParameterCollection), true)]
    2930  [Content(typeof(IObservableKeyedCollection<string, IParameter>), false)]
  • trunk/sources/HeuristicLab.Core.Views/3.3/ParameterizedNamedItemView.Designer.cs

    r2845 r2917  
    5757      // descriptionTextBox
    5858      //
    59       this.descriptionTextBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
    60                   | System.Windows.Forms.AnchorStyles.Right)));
    61       this.descriptionTextBox.Size = new System.Drawing.Size(418, 87);
     59      this.descriptionTextBox.Size = new System.Drawing.Size(418, 20);
    6260      //
    6361      // parameterCollectionView
     
    6765                  | System.Windows.Forms.AnchorStyles.Right)));
    6866      this.parameterCollectionView.Caption = "ParameterCollection";
    69       this.parameterCollectionView.Location = new System.Drawing.Point(0, 119);
     67      this.parameterCollectionView.Content = null;
     68      this.parameterCollectionView.Location = new System.Drawing.Point(0, 52);
    7069      this.parameterCollectionView.Name = "parameterCollectionView";
    71       this.parameterCollectionView.Size = new System.Drawing.Size(490, 234);
     70      this.parameterCollectionView.Size = new System.Drawing.Size(490, 301);
    7271      this.parameterCollectionView.TabIndex = 4;
    7372      //
  • trunk/sources/HeuristicLab.Core.Views/3.3/ParameterizedNamedItemView.cs

    r2870 r2917  
    2626  /// The base class for visual representations of items.
    2727  /// </summary>
     28  [View("ParameterizedNamedItem View")]
    2829  [Content(typeof(ParameterizedNamedItem), true)]
    2930  [Content(typeof(IParameterizedNamedItem), false)]
  • trunk/sources/HeuristicLab.Core.Views/3.3/ScopeListView.cs

    r2818 r2917  
    33
    44namespace HeuristicLab.Core.Views {
     5  [View("ScopeList View")]
    56  [Content(typeof(ScopeList), true)]
    67  [Content(typeof(IObservableList<IScope>), false)]
  • trunk/sources/HeuristicLab.Core.Views/3.3/ScopeView.cs

    r2818 r2917  
    3030  /// The visual represenation of <see cref="Scope"/>.
    3131  /// </summary>
     32  [View("Scope View")]
    3233  [Content(typeof(Scope), true)]
    3334  [Content(typeof(IScope), false)]
  • trunk/sources/HeuristicLab.Core.Views/3.3/ValueParameterCollectionView.cs

    r2818 r2917  
    2626
    2727namespace HeuristicLab.Core.Views {
     28  [View("ValueParameterCollection View")]
    2829  [Content(typeof(ValueParameterCollection), true)]
    2930  [Content(typeof(IObservableKeyedCollection<string, IValueParameter>), false)]
  • trunk/sources/HeuristicLab.Core.Views/3.3/VariableCollectionView.cs

    r2818 r2917  
    33
    44namespace HeuristicLab.Core.Views {
     5  [View("VariableCollection View")]
    56  [Content(typeof(VariableCollection), true)]
    67  [Content(typeof(IObservableKeyedCollection<string, IVariable>), false)]
  • trunk/sources/HeuristicLab.Core.Views/3.3/VariableView.Designer.cs

    r2833 r2917  
    4646    /// </summary>
    4747    private void InitializeComponent() {
    48       this.components = new System.ComponentModel.Container();
    4948      this.dataTypeLabel = new System.Windows.Forms.Label();
    5049      this.dataTypeTextBox = new System.Windows.Forms.TextBox();
     
    5453      this.clearValueButton = new System.Windows.Forms.Button();
    5554      this.setValueButton = new System.Windows.Forms.Button();
    56       this.toolTip = new System.Windows.Forms.ToolTip(this.components);
    5755      ((System.ComponentModel.ISupportInitialize)(this.errorProvider)).BeginInit();
    5856      this.valueGroupBox.SuspendLayout();
     
    6866      // descriptionTextBox
    6967      //
    70       this.descriptionTextBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
    71                   | System.Windows.Forms.AnchorStyles.Right)));
    72       this.descriptionTextBox.Size = new System.Drawing.Size(287, 62);
     68      this.descriptionTextBox.Size = new System.Drawing.Size(287, 20);
    7369      //
    7470      // dataTypeLabel
    7571      //
    7672      this.dataTypeLabel.AutoSize = true;
    77       this.dataTypeLabel.Location = new System.Drawing.Point(3, 97);
     73      this.dataTypeLabel.Location = new System.Drawing.Point(3, 55);
    7874      this.dataTypeLabel.Name = "dataTypeLabel";
    7975      this.dataTypeLabel.Size = new System.Drawing.Size(60, 13);
     
    8581      this.dataTypeTextBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
    8682                  | System.Windows.Forms.AnchorStyles.Right)));
    87       this.dataTypeTextBox.Location = new System.Drawing.Point(72, 94);
     83      this.dataTypeTextBox.Location = new System.Drawing.Point(72, 52);
    8884      this.dataTypeTextBox.Name = "dataTypeTextBox";
    8985      this.dataTypeTextBox.ReadOnly = true;
     
    9995      this.valueGroupBox.Controls.Add(this.clearValueButton);
    10096      this.valueGroupBox.Controls.Add(this.setValueButton);
    101       this.valueGroupBox.Location = new System.Drawing.Point(0, 120);
     97      this.valueGroupBox.Location = new System.Drawing.Point(0, 78);
    10298      this.valueGroupBox.Name = "valueGroupBox";
    103       this.valueGroupBox.Size = new System.Drawing.Size(359, 154);
     99      this.valueGroupBox.Size = new System.Drawing.Size(359, 196);
    104100      this.valueGroupBox.TabIndex = 7;
    105101      this.valueGroupBox.TabStop = false;
     
    115111      this.valuePanel.Location = new System.Drawing.Point(6, 49);
    116112      this.valuePanel.Name = "valuePanel";
    117       this.valuePanel.Size = new System.Drawing.Size(347, 99);
     113      this.valuePanel.Size = new System.Drawing.Size(347, 141);
    118114      this.valuePanel.TabIndex = 2;
    119115      this.valuePanel.DragOver += new System.Windows.Forms.DragEventHandler(this.valuePanel_DragEnterOver);
     
    127123      this.viewHost.Location = new System.Drawing.Point(0, 0);
    128124      this.viewHost.Name = "viewHost";
    129       this.viewHost.Size = new System.Drawing.Size(347, 99);
     125      this.viewHost.Size = new System.Drawing.Size(347, 141);
    130126      this.viewHost.TabIndex = 0;
     127      this.viewHost.ViewType = null;
    131128      //
    132129      // clearValueButton
     
    183180    protected ViewHost viewHost;
    184181    protected System.Windows.Forms.Button clearValueButton;
    185     protected System.Windows.Forms.ToolTip toolTip;
    186182    protected System.Windows.Forms.Button setValueButton;
    187183    protected System.Windows.Forms.Panel valuePanel;
  • trunk/sources/HeuristicLab.Core.Views/3.3/VariableView.cs

    r2818 r2917  
    2929  /// The visual representation of a <see cref="Variable"/>.
    3030  /// </summary>
     31  [View("Variable View")]
    3132  [Content(typeof(Variable), true)]
    3233  [Content(typeof(IVariable), false)]
Note: See TracChangeset for help on using the changeset viewer.