- Timestamp:
- 11/16/10 14:18:19 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Operators.Views.GraphVisualization/3.3/General/GraphVisualizationInfoView.cs
r4068 r4809 45 45 this.connectionPenStyle = new LinePenStyle(); 46 46 this.connectionPenStyle.EndCap = LineCap.ArrowAnchor; 47 48 PasteTool pasteTool = (PasteTool)this.Controller.Tools.Where(t => t.Name == ControllerBase.PasteToolName).FirstOrDefault(); 49 CopyTool copyTool = (CopyTool)this.Controller.Tools.Where(t => t.Name == ControllerBase.CopyToolName).FirstOrDefault(); 50 HeuristicLab.Netron.Controller controller = this.Controller as HeuristicLab.Netron.Controller; 51 if (Controller != null) { 52 if (pasteTool != null) controller.RemoveTool(pasteTool); 53 if (copyTool != null) controller.RemoveTool(copyTool); 54 } 47 55 } 48 56
Note: See TracChangeset
for help on using the changeset viewer.