- Timestamp:
- 04/16/10 19:15:09 (15 years ago)
- Location:
- trunk/sources/HeuristicLab.Operators.Views.GraphVisualization/3.3
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Operators.Views.GraphVisualization/3.3/GraphVisualizationInfoView.cs
r3362 r3376 29 29 using System.Windows.Forms; 30 30 using HeuristicLab.MainForm; 31 using HeuristicLab.Common; 31 32 using HeuristicLab.Core; 32 33 using HeuristicLab.Core.Views; -
trunk/sources/HeuristicLab.Operators.Views.GraphVisualization/3.3/Model/GraphVisualizationInfo.cs
r3344 r3376 24 24 using System.Linq; 25 25 using System.Text; 26 using HeuristicLab.Common; 26 27 using HeuristicLab.Core; 27 28 using Netron.Diagramming.Core; … … 32 33 namespace HeuristicLab.Operators.Views.GraphVisualization { 33 34 [StorableClass] 34 public sealed class GraphVisualizationInfo : DeepCloneable {35 public sealed class GraphVisualizationInfo : IDeepCloneable { 35 36 private BidirectionalLookup<IOperator, IOperatorShapeInfo> operatorShapeInfoMapping; 36 37 [Storable] … … 90 91 } 91 92 92 public override IDeepCloneable Clone(Cloner cloner) { 93 public object Clone() { 94 return Clone(new Cloner()); 95 } 96 97 public IDeepCloneable Clone(Cloner cloner) { 93 98 GraphVisualizationInfo clone = new GraphVisualizationInfo(); 94 99 cloner.RegisterClonedObject(this, clone); -
trunk/sources/HeuristicLab.Operators.Views.GraphVisualization/3.3/Model/IShapeInfo.cs
r2968 r3376 24 24 using System.Linq; 25 25 using System.Text; 26 using HeuristicLab.Common; 26 27 using HeuristicLab.Core; 27 28 using System.Drawing; -
trunk/sources/HeuristicLab.Operators.Views.GraphVisualization/3.3/Model/OperatorShapeInfo.cs
r3353 r3376 24 24 using System.Linq; 25 25 using System.Text; 26 using HeuristicLab.Common; 26 27 using HeuristicLab.Core; 27 28 using System.Drawing; -
trunk/sources/HeuristicLab.Operators.Views.GraphVisualization/3.3/Model/ShapeInfo.cs
r3017 r3376 24 24 using System.Linq; 25 25 using System.Text; 26 using HeuristicLab.Common; 26 27 using HeuristicLab.Core; 27 28 using System.Drawing; … … 32 33 namespace HeuristicLab.Operators.Views.GraphVisualization { 33 34 [StorableClass] 34 internal abstract class ShapeInfo : DeepCloneable, IShapeInfo {35 internal abstract class ShapeInfo : IDeepCloneable, IShapeInfo { 35 36 private ShapeInfo() { 36 37 } … … 77 78 } 78 79 79 public override IDeepCloneable Clone(Cloner cloner) { 80 ShapeInfo clone = (ShapeInfo) base.Clone(cloner); 80 public object Clone() { 81 return Clone(new Cloner()); 82 } 83 84 public virtual IDeepCloneable Clone(Cloner cloner) { 85 ShapeInfo clone = (ShapeInfo)Activator.CreateInstance(this.GetType()); 86 cloner.RegisterClonedObject(this, clone); 81 87 clone.shapeType = this.shapeType; 82 88 clone.location = this.location; -
trunk/sources/HeuristicLab.Operators.Views.GraphVisualization/3.3/Model/ShapeInfoFactory.cs
r2935 r3376 24 24 using System.Linq; 25 25 using System.Text; 26 using HeuristicLab.Common; 26 27 using HeuristicLab.Core; 27 28 using Netron.Diagramming.Core; -
trunk/sources/HeuristicLab.Operators.Views.GraphVisualization/3.3/OperatorGraphView.cs
r3362 r3376 29 29 using System.Windows.Forms; 30 30 using HeuristicLab.MainForm; 31 using HeuristicLab.Common; 31 32 using HeuristicLab.Core; 32 33 using HeuristicLab.Core.Views;
Note: See TracChangeset
for help on using the changeset viewer.