- Timestamp:
- 06/08/10 17:46:53 (14 years ago)
- Location:
- trunk/sources/HeuristicLab.Operators.Views.GraphVisualization/3.3
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Operators.Views.GraphVisualization/3.3/General/GraphVisualizationInfoView.cs
r3566 r3904 69 69 } 70 70 71 protected override void OnReadOnlyChanged() { 72 base.OnReadOnlyChanged(); 73 this.SetEnabledStateOfControls(); 74 } 75 protected override void OnLockedChanged() { 76 base.OnLockedChanged(); 77 this.SetEnabledStateOfControls(); 78 } 79 private void SetEnabledStateOfControls() { 71 protected override void SetEnabledStateOfControls() { 72 base.SetEnabledStateOfControls(); 80 73 DeleteTool deleteTool = (DeleteTool)this.Controller.Tools.Where(t => t.Name == ControllerBase.DeleteToolName).FirstOrDefault(); 81 74 HeuristicLab.Netron.Controller controller = this.Controller as HeuristicLab.Netron.Controller; … … 105 98 this.UpdateLayoutRoot(); 106 99 } 107 this.SetEnabledStateOfControls();108 100 } 109 101 private void UpdateLayoutRoot() { -
trunk/sources/HeuristicLab.Operators.Views.GraphVisualization/3.3/OperatorGraphVisualization/OperatorGraphView.cs
r3765 r3904 66 66 if (createdVisualizationInfo) 67 67 this.graphVisualizationInfoView.RelayoutGraph(); 68 69 this.SetEnabledStateOfControls(); 70 } 71 72 protected override void OnReadOnlyChanged() { 73 base.OnReadOnlyChanged(); 74 this.SetEnabledStateOfControls(); 75 } 76 77 protected override void OnLockedChanged() { 78 base.OnLockedChanged(); 79 this.SetEnabledStateOfControls(); 80 } 81 82 private void SetEnabledStateOfControls() { 68 } 69 70 protected override void SetEnabledStateOfControls() { 71 base.SetEnabledStateOfControls(); 83 72 if (Content == null) { 84 73 selectButton.Enabled = false;
Note: See TracChangeset
for help on using the changeset viewer.