Changeset 2853 for trunk/sources/HeuristicLab.Operators.Views.GraphVisualization/3.3/ToolBarItems/RelayoutToolBarItem.cs
- Timestamp:
- 02/23/10 10:58:11 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Operators.Views.GraphVisualization/3.3/ToolBarItems/RelayoutToolBarItem.cs
r2819 r2853 40 40 protected override void OnActiveViewChanged(object sender, System.EventArgs e) { 41 41 base.OnActiveViewChanged(sender, e); 42 this.ToolStripItem. Visible = MainFormManager.MainForm.ActiveView is OperatorGraphVisualizationView;42 this.ToolStripItem.Enabled = MainFormManager.MainForm.ActiveView is OperatorGraphView; 43 43 } 44 44 45 45 public override void Execute() { 46 OperatorGraphVi sualizationView view = MainFormManager.MainForm.ActiveView as OperatorGraphVisualizationView;46 OperatorGraphView view = MainFormManager.MainForm.ActiveView as OperatorGraphView; 47 47 if (view != null) 48 48 view.RelayoutOperatorGraph();
Note: See TracChangeset
for help on using the changeset viewer.