Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
05/11/10 12:03:25 (14 years ago)
Author:
mkommend
Message:

adapted view captions (ticket #893)

Location:
trunk/sources/HeuristicLab.Parameters.Views/3.3
Files:
6 edited

Legend:

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

    r3566 r3764  
    5353    public ConstrainedValueParameterView() {
    5454      InitializeComponent();
    55       Caption = "ConstrainedValueParameter";
    5655      valueComboBoxItems = new List<T>();
    5756    }
     
    8483      base.OnContentChanged();
    8584      if (Content == null) {
    86         Caption = "ConstrainedValueParameter";
    8785        viewHost.Content = null;
    8886        FillValueComboBox();
    8987      } else {
    90         Caption = Content.Name + " (" + Content.GetType().Name + ")";
    9188        FillValueComboBox();
    9289        viewHost.ViewType = null;
  • trunk/sources/HeuristicLab.Parameters.Views/3.3/LookupParameterView.cs

    r3566 r3764  
    4949    public LookupParameterView() {
    5050      InitializeComponent();
    51       Caption = "LookupParameter";
    5251    }
    5352
     
    7271    protected override void OnContentChanged() {
    7372      base.OnContentChanged();
    74       if (Content == null) {
    75         Caption = "LookupParameter";
     73      if (Content == null)
    7674        actualNameTextBox.Text = "-";
    77       } else {
    78         Caption = Content.Name + " (" + Content.GetType().Name + ")";
     75      else
    7976        actualNameTextBox.Text = Content.ActualName;
    80       }
     77
    8178      SetEnabledStateOfControls();
    8279    }
  • trunk/sources/HeuristicLab.Parameters.Views/3.3/ParameterView.cs

    r3566 r3764  
    4848    public ParameterView() {
    4949      InitializeComponent();
    50       Caption = "Parameter";
    5150    }
    5251
    5352    protected override void OnContentChanged() {
    5453      base.OnContentChanged();
    55       if (Content == null) {
    56         Caption = "Parameter";
     54      if (Content == null)
    5755        dataTypeTextBox.Text = "-";
    58       } else {
    59         Caption = Content.Name + " (" + Content.GetType().Name + ")";
     56      else
    6057        dataTypeTextBox.Text = Content.DataType.GetPrettyName();
    61       }
     58
    6259      SetEnabledStateOfControls();
    6360    }
  • trunk/sources/HeuristicLab.Parameters.Views/3.3/ScopeTreeLookupParameterView.cs

    r3659 r3764  
    4949    public ScopeTreeLookupParameterView() {
    5050      InitializeComponent();
    51       Caption = "ScopeTreeLookupParameter";
    5251    }
    5352
     
    7574      base.OnContentChanged();
    7675      if (Content == null) {
    77         Caption = "ScopeTreeLookupParameter";
    7876        actualNameTextBox.Text = string.Empty;
    7977        depthTextBox.Text = string.Empty;
    8078      } else {
    81         Caption = Content.Name + " (" + Content.GetType().Name + ")";
    8279        actualNameTextBox.Text = Content.ActualName;
    8380        depthTextBox.Text = Content.Depth.ToString();
  • trunk/sources/HeuristicLab.Parameters.Views/3.3/ValueLookupParameterView.cs

    r3758 r3764  
    5353    public ValueLookupParameterView() {
    5454      InitializeComponent();
    55       Caption = "ValueLookupParameter";
    5655    }
    5756
     
    7978      base.OnContentChanged();
    8079      if (Content == null) {
    81         Caption = "ValueLookupParameter";
    8280        actualNameTextBox.Text = "-";
    8381        viewHost.Content = null;
    8482      } else {
    85         Caption = Content.Name + " (" + Content.GetType().Name + ")";
    8683        actualNameTextBox.Text = Content.ActualName;
    8784        viewHost.ViewType = null;
  • trunk/sources/HeuristicLab.Parameters.Views/3.3/ValueParameterView.cs

    r3758 r3764  
    5454    public ValueParameterView() {
    5555      InitializeComponent();
    56       Caption = "ValueParameter";
    5756    }
    5857
     
    7877      base.OnContentChanged();
    7978      if (Content == null) {
    80         Caption = "ValueParameter";
    8179        clearValueButton.Visible = true;
    8280        viewHost.Content = null;
    8381      } else {
    84         Caption = Content.Name + " (" + Content.GetType().Name + ")";
    8582        clearValueButton.Visible = !(Content is ValueParameter<T>);
    8683        viewHost.ViewType = null;
Note: See TracChangeset for help on using the changeset viewer.