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/RelayoutToolBarItem.cs

    r2819 r2853  
    4040    protected override void OnActiveViewChanged(object sender, System.EventArgs e) {
    4141      base.OnActiveViewChanged(sender, e);
    42       this.ToolStripItem.Visible = MainFormManager.MainForm.ActiveView is OperatorGraphVisualizationView;
     42      this.ToolStripItem.Enabled = MainFormManager.MainForm.ActiveView is OperatorGraphView;
    4343    }
    4444
    4545    public override void Execute() {
    46       OperatorGraphVisualizationView view = MainFormManager.MainForm.ActiveView as OperatorGraphVisualizationView;
     46      OperatorGraphView view = MainFormManager.MainForm.ActiveView as OperatorGraphView;
    4747      if (view != null)
    4848        view.RelayoutOperatorGraph();
Note: See TracChangeset for help on using the changeset viewer.