Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
02/23/10 10:58:11 (15 years ago)
Author:
mkommend
Message:

added first version of mapping for the graph visualization (ticket #867)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Operators.Views.GraphVisualization/3.3/ToolBarItems/ZoomToolBarItem.cs

    r2819 r2853  
    4242    protected override void OnActiveViewChanged(object sender, System.EventArgs e) {
    4343      base.OnActiveViewChanged(sender, e);
    44       this.ToolStripItem.Visible = MainFormManager.MainForm.ActiveView is OperatorGraphVisualizationView;
     44      this.ToolStripItem.Enabled = MainFormManager.MainForm.ActiveView is OperatorGraphView;
    4545    }
    4646
    4747    public override void Execute() {
    48       OperatorGraphVisualizationView view = MainFormManager.MainForm.ActiveView as OperatorGraphVisualizationView;
     48      OperatorGraphView view = MainFormManager.MainForm.ActiveView as OperatorGraphView;
    4949      if (view != null)
    5050        view.ActivateZoomAreaTool();
Note: See TracChangeset for help on using the changeset viewer.