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/Core/ControllerBase.cs

    r2768 r2868  
    310310           
    311311
    312             //Make sure the static selection class knows about the model
    313             Selection.Controller = this;
    314312            //Initialize the colorscheme
    315313            ArtPalette.Init();
     
    527525            FillStyleCommand cmd = new FillStyleCommand(
    528526                this,
    529                 Selection.SelectedItems.Copy(),
     527                this.Model.Selection.SelectedItems.Copy(),
    530528                paintStyle);           
    531529
     
    544542            PenStyleCommand cmd = new PenStyleCommand(
    545543                this,
    546                 Selection.SelectedItems.Copy(),
     544                this.Model.Selection.SelectedItems.Copy(),
    547545                penStyle);
    548546
     
    12751273            }
    12761274
    1277             foreach (IDiagramEntity entity in Selection.SelectedItems)
     1275            foreach (IDiagramEntity entity in this.Model.Selection.SelectedItems)
    12781276            {
    12791277                if (entity is IKeyboardListener)
     
    12921290            }
    12931291
    1294             foreach (IDiagramEntity entity in Selection.SelectedItems)
     1292            foreach (IDiagramEntity entity in  this.Model.Selection.SelectedItems)
    12951293            {
    12961294                if (entity is IKeyboardListener)
     
    13081306            }
    13091307
    1310             foreach (IDiagramEntity entity in Selection.SelectedItems)
     1308             foreach (IDiagramEntity entity in this.Model.Selection.SelectedItems)
    13111309            {
    13121310                if (entity is IKeyboardListener)
     
    13781376            //raise the event to give the host the opportunity to show the properties of the selected item(s)
    13791377            //Note that if the selection is empty the property grid will show 'nothing'.
    1380             RaiseOnShowSelectionProperties(new SelectionEventArgs(Selection.SelectedItems.ToArray()));
     1378            RaiseOnShowSelectionProperties(new SelectionEventArgs(this.Model.Selection.SelectedItems.ToArray()));
    13811379
    13821380            foreach(IMouseListener listener in mouseListeners)
     
    14831481        {
    14841482            this.View.ResetTracker();
    1485             Selection.Clear();
    1486             Selection.SelectedItems = this.Model.CurrentPage.Entities;
     1483            this.Model.Selection.Clear();
     1484            this.Model.Selection.SelectedItems = this.Model.CurrentPage.Entities;
    14871485            this.View.ShowTracker();
    14881486            this.View.Invalidate();
Note: See TracChangeset for help on using the changeset viewer.