Changeset 2868 for trunk/sources/HeuristicLab.ExtLibs/HeuristicLab.Netron/3.0.2672.12446/HeuristicLab.Netron-3.0.2672.12446
- Timestamp:
- 02/25/10 17:28:31 (15 years ago)
- Location:
- trunk/sources/HeuristicLab.ExtLibs/HeuristicLab.Netron/3.0.2672.12446/HeuristicLab.Netron-3.0.2672.12446
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.ExtLibs/HeuristicLab.Netron/3.0.2672.12446/HeuristicLab.Netron-3.0.2672.12446/NetronVisualization.cs
r2801 r2868 48 48 if (!DesignMode) { 49 49 this.Controller = new Controller(this); 50 this.Document = new Document(); 51 this.Document.Model.Selection = new Selection(this.Controller,this.Document.Model); 50 52 this.View = new View(this); 51 52 this.Document = new Document();53 53 this.AttachToDocument(Document); 54 54 this.Controller.View = View; -
trunk/sources/HeuristicLab.ExtLibs/HeuristicLab.Netron/3.0.2672.12446/HeuristicLab.Netron-3.0.2672.12446/TextEditor.cs
r2801 r2868 92 92 if (myTextProvider == null) 93 93 return; 94 Selection.Clear();94 diagramControl.Controller.Model.Selection.Clear(); 95 95 diagramControl.View.ResetTracker(); 96 96 diagramControl.Controller.SuspendAllTools(); -
trunk/sources/HeuristicLab.ExtLibs/HeuristicLab.Netron/3.0.2672.12446/HeuristicLab.Netron-3.0.2672.12446/View.cs
r2801 r2868 42 42 public View(IDiagramControl control) 43 43 : base(control) { 44 Selection.OnNewSelection += new EventHandler(Selection_OnNewSelection);44 control.Document.Model.Selection.OnNewSelection += new EventHandler(Selection_OnNewSelection); 45 45 // this.Model.OnEntityAdded += new EventHandler<EntityEventArgs>(Model_OnEntityAdded); 46 46 this.HorizontalRuler.Visible = true; 47 47 this.VerticalRuler.Visible = true; 48 48 GhostsFactory.View = this; 49 }50 51 void Model_OnEntityAdded(object sender, EntityEventArgs e) {52 53 49 } 54 50
Note: See TracChangeset
for help on using the changeset viewer.