Changeset 2868 for trunk/sources/HeuristicLab.ExtLibs/HeuristicLab.Netron/3.0.2672.12446/Netron.Diagramming.Core-3.0.2672.12446/UndoRedo/Commands
- Timestamp:
- 02/25/10 17:28:31 (15 years ago)
- 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 78 78 //select the newly created group 79 79 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; 82 82 mGroup.Invalidate(); 83 83 } … … 113 113 } 114 114 //change the visuals such that the entities in the group are selected 115 Selection.SelectedItems = removedItems;115 this.Controller.Model.Selection.SelectedItems = removedItems; 116 116 //mGroup.Entities.Clear(); 117 117 -
trunk/sources/HeuristicLab.ExtLibs/HeuristicLab.Netron/3.0.2672.12446/Netron.Diagramming.Core-3.0.2672.12446/UndoRedo/Commands/UngroupCommand.cs
r2768 r2868 74 74 CollectionBase<IDiagramEntity> col = new CollectionBase<IDiagramEntity>(); 75 75 col.AddRange(mGroup.Entities); 76 77 Selection.SelectedItems = col;76 77 this.Controller.Model.Selection.SelectedItems = col; 78 78 79 79 mGroup.Invalidate(); … … 111 111 CollectionBase<IDiagramEntity> col = new CollectionBase<IDiagramEntity>(); 112 112 col.Add(mGroup); 113 Selection.SelectedItems = col;113 this.Controller.Model.Selection.SelectedItems = col; 114 114 mGroup.Invalidate(); 115 115
Note: See TracChangeset
for help on using the changeset viewer.