Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
02/25/10 17:28:31 (14 years ago)
Author:
mkommend
Message:

finished mapping from OperatorGraph to GraphVisualizationInfo (ticket #867)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.ExtLibs/HeuristicLab.Netron/3.0.2672.12446/Netron.Diagramming.Core-3.0.2672.12446/Tools/CopyTool.cs

    r2768 r2868  
    4242        protected override void OnActivateTool()
    4343        {
    44             if(Selection.SelectedItems.Count == 0)
     44          if (this.Controller.Model.Selection.SelectedItems.Count == 0)
    4545                return;
    4646
     
    5454                // First add the image to the Windows Clipboard so it can be
    5555                // pasted into other applications, like PowerPoint.
    56                 Bitmap image = Selection.ToBitmap();
     56                Bitmap image = this.Controller.Model.Selection.ToBitmap();
    5757                Clipboard.SetDataObject(image, true);
    5858
     
    7575                // Windows clipboard for moving data across apps.
    7676                NetronClipboard.Clear();
    77                 NetronClipboard.Add(Selection.SelectedItems.Copy());
     77                NetronClipboard.Add(this.Controller.Model.Selection.SelectedItems.Copy());
    7878               
    7979            }
Note: See TracChangeset for help on using the changeset viewer.