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

    r2768 r2868  
    4141             * is small.
    4242             */
    43             if(Selection.SelectedItems!=null && Selection.SelectedItems.Count>0)
     43          if (this.Controller.Model.Selection.SelectedItems != null && this.Controller.Model.Selection.SelectedItems.Count > 0)
    4444            {
    4545               
     
    4848                 */
    4949                #region Preparation of the ordering
    50                 Debug.Assert(Selection.SelectedItems[0] != null, "A selection cannot contain a 'null' entity.");               
     50            Debug.Assert(this.Controller.Model.Selection.SelectedItems[0] != null, "A selection cannot contain a 'null' entity.");               
    5151                //the items have to be moved in the order of the Paintables; the SortedList automatically orders things for us.
    5252                SortedList<int, IDiagramEntity> list = new SortedList<int,IDiagramEntity>();
    5353                //We fetch a flattened selection, which means that if there is a group the constituents will be
    5454                //returned rather than the group itself.
    55                 foreach(IDiagramEntity entity in Selection.FlattenedSelectionItems)
     55                foreach (IDiagramEntity entity in this.Controller.Model.Selection.FlattenedSelectionItems)
    5656                {
    5757                    //the addition will automatically put the item in increasing order
Note: See TracChangeset for help on using the changeset viewer.