Free cookie consent management tool by TermsFeed Policy Generator

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

finished mapping from OperatorGraph to GraphVisualizationInfo (ticket #867)

Location:
trunk/sources/HeuristicLab.ExtLibs/HeuristicLab.Netron/3.0.2672.12446/Netron.Diagramming.Core-3.0.2672.12446/UndoRedo/Commands
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.ExtLibs/HeuristicLab.Netron/3.0.2672.12446/Netron.Diagramming.Core-3.0.2672.12446/UndoRedo/Commands/GroupCommand.cs

    r2768 r2868  
    7878            //select the newly created group
    7979            CollectionBase<IDiagramEntity> col = new CollectionBase<IDiagramEntity>();
    80             col.Add(mGroup);                 
    81             Selection.SelectedItems = col;
     80            col.Add(mGroup);
     81            this.Controller.Model.Selection.SelectedItems = col;
    8282            mGroup.Invalidate();
    8383        }
     
    113113            }
    114114            //change the visuals such that the entities in the group are selected
    115             Selection.SelectedItems = removedItems;
     115            this.Controller.Model.Selection.SelectedItems = removedItems;
    116116            //mGroup.Entities.Clear();
    117117
  • trunk/sources/HeuristicLab.ExtLibs/HeuristicLab.Netron/3.0.2672.12446/Netron.Diagramming.Core-3.0.2672.12446/UndoRedo/Commands/UngroupCommand.cs

    r2768 r2868  
    7474            CollectionBase<IDiagramEntity> col = new CollectionBase<IDiagramEntity>();
    7575            col.AddRange(mGroup.Entities);
    76            
    77             Selection.SelectedItems = col;
     76
     77            this.Controller.Model.Selection.SelectedItems = col;
    7878
    7979            mGroup.Invalidate();
     
    111111            CollectionBase<IDiagramEntity> col = new CollectionBase<IDiagramEntity>();
    112112            col.Add(mGroup);
    113             Selection.SelectedItems = col;
     113            this.Controller.Model.Selection.SelectedItems = col;
    114114            mGroup.Invalidate();
    115115
Note: See TracChangeset for help on using the changeset viewer.