Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
04/16/10 01:49:10 (15 years ago)
Author:
swagner
Message:

Adapted views of HeuristicLab.Core.Views according the new read-only property and renamed method SetEnableStateOfControls into SetEnabledStateOfControls (#973).

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

Legend:

Unmodified
Added
Removed
  • TabularUnified trunk/sources/HeuristicLab.Operators.Views.GraphVisualization/3.3/GraphVisualizationInfoView.cs

    r3355 r3362  
    7676    protected override void OnReadOnlyChanged() {
    7777      base.OnReadOnlyChanged();
    78       this.SetEnableStateOfControls();
    79     }
    80 
    81     private void SetEnableStateOfControls() {
     78      this.SetEnabledStateOfControls();
     79    }
     80
     81    private void SetEnabledStateOfControls() {
    8282      DeleteTool deleteTool = (DeleteTool) this.Controller.Tools.Where( t => t.Name == ControllerBase.DeleteToolName).FirstOrDefault();
    8383      HeuristicLab.Netron.Controller controller = this.Controller as HeuristicLab.Netron.Controller;
     
    110110        this.UpdateLayoutRoot();
    111111      }
    112       this.SetEnableStateOfControls();
     112      this.SetEnabledStateOfControls();
    113113    }
    114114
  • TabularUnified trunk/sources/HeuristicLab.Operators.Views.GraphVisualization/3.3/OperatorGraphView.cs

    r3361 r3362  
    7373        this.graphVisualizationInfoView.RelayoutGraph();
    7474
    75       this.SetEnableStateOfControls();
     75      this.SetEnabledStateOfControls();
    7676    }
    7777
    7878    protected override void OnReadOnlyChanged() {
    7979      base.OnReadOnlyChanged();
    80       this.SetEnableStateOfControls();
    81     }
    82 
    83     private void SetEnableStateOfControls() {
     80      this.SetEnabledStateOfControls();
     81    }
     82
     83    private void SetEnabledStateOfControls() {
    8484      if (Content == null) {
    8585        selectButton.Enabled = false;
Note: See TracChangeset for help on using the changeset viewer.