Changeset 2853 for trunk/sources/HeuristicLab.Operators.Views.GraphVisualization/3.3/ToolBarItems/ZoomToolBarItem.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/ZoomToolBarItem.cs
r2819 r2853 42 42 protected override void OnActiveViewChanged(object sender, System.EventArgs e) { 43 43 base.OnActiveViewChanged(sender, e); 44 this.ToolStripItem. Visible = MainFormManager.MainForm.ActiveView is OperatorGraphVisualizationView;44 this.ToolStripItem.Enabled = MainFormManager.MainForm.ActiveView is OperatorGraphView; 45 45 } 46 46 47 47 public override void Execute() { 48 OperatorGraphVi sualizationView view = MainFormManager.MainForm.ActiveView as OperatorGraphVisualizationView;48 OperatorGraphView view = MainFormManager.MainForm.ActiveView as OperatorGraphView; 49 49 if (view != null) 50 50 view.ActivateZoomAreaTool();
Note: See TracChangeset
for help on using the changeset viewer.