Free cookie consent management tool by TermsFeed Policy Generator

Changeset 3696 for trunk/sources


Ignore:
Timestamp:
05/07/10 11:42:35 (14 years ago)
Author:
mkommend
Message:

corrected breakpoint checkbox; coupled enabled state to locked instead of readonly (ticket #1001)

Location:
trunk/sources/HeuristicLab.Operators.Views/3.3
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Operators.Views/3.3/AlgorithmOperatorView.cs

    r3566 r3696  
    8282      SetEnabledStateOfControls();
    8383    }
     84    protected override void OnLockedChanged() {
     85      base.OnLockedChanged();
     86      this.SetEnabledStateOfControls();
     87    }
    8488
    8589    private void SetEnabledStateOfControls() {
    86       breakpointCheckBox.Enabled = Content != null && !ReadOnly;
     90      breakpointCheckBox.Enabled = Content != null && !Locked;
    8791      parameterCollectionView.Enabled = Content != null;
    8892      operatorGraphViewHost.Enabled = Content != null;
    8993    }
     94
     95   
    9096
    9197    protected void Content_BreakpointChanged(object sender, EventArgs e) {
  • trunk/sources/HeuristicLab.Operators.Views/3.3/CheckedMultiOperatorView.cs

    r3591 r3696  
    7878      SetEnabledStateOfControls();
    7979    }
     80    protected override void OnLockedChanged() {
     81      base.OnLockedChanged();
     82      this.SetEnabledStateOfControls();
     83    }
    8084
    8185    private void SetEnabledStateOfControls() {
    82       breakpointCheckBox.Enabled = Content != null && !ReadOnly;
     86      breakpointCheckBox.Enabled = Content != null && !Locked;
    8387      operatorListView.Enabled = Content != null;
    8488      parameterCollectionView.Enabled = Content != null;
  • trunk/sources/HeuristicLab.Operators.Views/3.3/MultiOperatorView.cs

    r3566 r3696  
    8181      SetEnabledStateOfControls();
    8282    }
     83    protected override void OnLockedChanged() {
     84      base.OnLockedChanged();
     85      this.SetEnabledStateOfControls();
     86    }
    8387
    8488    private void SetEnabledStateOfControls() {
    85       breakpointCheckBox.Enabled = Content != null && !ReadOnly;
     89      breakpointCheckBox.Enabled = Content != null && !Locked;
    8690      operatorListView.Enabled = Content != null;
    8791      parameterCollectionView.Enabled = Content != null;
  • trunk/sources/HeuristicLab.Operators.Views/3.3/OperatorView.cs

    r3566 r3696  
    7878      SetEnabledStateOfControls();
    7979    }
     80    protected override void OnLockedChanged() {
     81      base.OnLockedChanged();
     82      this.SetEnabledStateOfControls();
     83    }
    8084
    8185    private void SetEnabledStateOfControls() {
    82       breakpointCheckBox.Enabled = Content != null && !ReadOnly;
     86      breakpointCheckBox.Enabled = Content != null && !Locked;
    8387    }
    8488
  • trunk/sources/HeuristicLab.Operators.Views/3.3/ValuesCollectorView.cs

    r3566 r3696  
    8181      SetEnabledStateOfControls();
    8282    }
     83    protected override void OnLockedChanged() {
     84      base.OnLockedChanged();
     85      this.SetEnabledStateOfControls();
     86    }
    8387
    8488    private void SetEnabledStateOfControls() {
    85       breakpointCheckBox.Enabled = Content != null && !ReadOnly;
     89      breakpointCheckBox.Enabled = Content != null && !Locked;
    8690      collectedValuesView.Enabled = Content != null;
    8791      parameterCollectionView.Enabled = Content != null;
Note: See TracChangeset for help on using the changeset viewer.