Changeset 9011
- Timestamp:
- 12/06/12 16:22:21 (12 years ago)
- Location:
- trunk/sources
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Operators.Views.GraphVisualization.Views/3.3/GraphVisualizationInfoView.cs
r7259 r9011 35 35 [Content(typeof(IGraphVisualizationInfo), true)] 36 36 public partial class GraphVisualizationInfoView : AsynchronousContentView { 37 private Bidirectional Lookup<IShapeInfo, IShape> shapeInfoShapeMapping;38 private Bidirectional Lookup<IConnectionInfo, IConnection> connectionInfoConnectionMapping;37 private BidirectionalDictionary<IShapeInfo, IShape> shapeInfoShapeMapping; 38 private BidirectionalDictionary<IConnectionInfo, IConnection> connectionInfoConnectionMapping; 39 39 private LinePenStyle connectionPenStyle; 40 40 41 41 public GraphVisualizationInfoView() { 42 42 InitializeComponent(); 43 this.shapeInfoShapeMapping = new Bidirectional Lookup<IShapeInfo, IShape>();44 this.connectionInfoConnectionMapping = new Bidirectional Lookup<IConnectionInfo, IConnection>();43 this.shapeInfoShapeMapping = new BidirectionalDictionary<IShapeInfo, IShape>(); 44 this.connectionInfoConnectionMapping = new BidirectionalDictionary<IConnectionInfo, IConnection>(); 45 45 this.connectionPenStyle = new LinePenStyle(); 46 46 this.connectionPenStyle.EndCap = LineCap.ArrowAnchor; -
trunk/sources/HeuristicLab.Operators.Views.GraphVisualization/3.3/OperatorGraphVisualization/OperatorGraphVisualizationInfo.cs
r7259 r9011 32 32 [StorableClass] 33 33 public sealed class OperatorGraphVisualizationInfo : GraphVisualizationInfo { 34 #pragma warning disable 618 34 35 [Storable] 35 36 private BidirectionalLookup<IOperator, IOperatorShapeInfo> operatorShapeInfoMapping; 36 37 private BidirectionalLookup<IOperator, IKeyedItemCollection<string, IParameter>> operatorParameterCollectionMapping; 38 #pragma warning restore 618 37 39 private Dictionary<IParameter, IOperator> parameterOperatorMapping; 38 40 39 41 private OperatorGraphVisualizationInfo() 40 42 : base() { 43 #pragma warning disable 618 41 44 this.operatorShapeInfoMapping = new BidirectionalLookup<IOperator, IOperatorShapeInfo>(); 42 45 this.operatorParameterCollectionMapping = new BidirectionalLookup<IOperator, IKeyedItemCollection<string, IParameter>>(); 46 #pragma warning restore 618 43 47 this.parameterOperatorMapping = new Dictionary<IParameter, IOperator>(); 44 48 } … … 47 51 private OperatorGraphVisualizationInfo(bool deserializing) 48 52 : base(deserializing) { 53 #pragma warning disable 618 49 54 this.operatorParameterCollectionMapping = new BidirectionalLookup<IOperator, IKeyedItemCollection<string, IParameter>>(); 55 #pragma warning restore 618 50 56 this.parameterOperatorMapping = new Dictionary<IParameter, IOperator>(); 51 57 } 52 58 private OperatorGraphVisualizationInfo(OperatorGraphVisualizationInfo original, Cloner cloner) 53 59 : base(original, cloner) { 60 #pragma warning disable 618 54 61 operatorShapeInfoMapping = new BidirectionalLookup<IOperator, IOperatorShapeInfo>(); 55 62 operatorParameterCollectionMapping = new BidirectionalLookup<IOperator, IKeyedItemCollection<string, IParameter>>(); 63 #pragma warning restore 618 56 64 parameterOperatorMapping = new Dictionary<IParameter, IOperator>(); 57 65
Note: See TracChangeset
for help on using the changeset viewer.