- Timestamp:
- 04/18/10 03:00:00 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
TabularUnified trunk/sources/HeuristicLab.Operators.Views.GraphVisualization/3.3/OperatorGraphVisualization/OperatorGraphVisualizationInfo.cs ¶
r3386 r3393 36 36 [Storable] 37 37 private BidirectionalLookup<IOperator, IOperatorShapeInfo> operatorShapeInfoMapping; 38 private BidirectionalLookup<IOperator, I ObservableKeyedCollection<string, IParameter>> operatorParameterCollectionMapping;38 private BidirectionalLookup<IOperator, IKeyedItemCollection<string, IParameter>> operatorParameterCollectionMapping; 39 39 private Dictionary<IParameter, IOperator> parameterOperatorMapping; 40 40 … … 42 42 : base() { 43 43 this.operatorShapeInfoMapping = new BidirectionalLookup<IOperator, IOperatorShapeInfo>(); 44 this.operatorParameterCollectionMapping = new BidirectionalLookup<IOperator, I ObservableKeyedCollection<string, IParameter>>();44 this.operatorParameterCollectionMapping = new BidirectionalLookup<IOperator, IKeyedItemCollection<string, IParameter>>(); 45 45 this.parameterOperatorMapping = new Dictionary<IParameter, IOperator>(); 46 46 } … … 49 49 private OperatorGraphVisualizationInfo(bool deserializing) 50 50 : base() { 51 this.operatorParameterCollectionMapping = new BidirectionalLookup<IOperator, I ObservableKeyedCollection<string, IParameter>>();51 this.operatorParameterCollectionMapping = new BidirectionalLookup<IOperator, IKeyedItemCollection<string, IParameter>>(); 52 52 this.parameterOperatorMapping = new Dictionary<IParameter, IOperator>(); 53 53 } … … 367 367 368 368 private void Parameters_ItemsAdded(object sender, CollectionItemsChangedEventArgs<IParameter> e) { 369 I ObservableKeyedCollection<string, IParameter> parameterCollection = sender as IObservableKeyedCollection<string, IParameter>;369 IKeyedItemCollection<string, IParameter> parameterCollection = sender as IKeyedItemCollection<string, IParameter>; 370 370 IOperator op = this.operatorParameterCollectionMapping.GetBySecond(parameterCollection); 371 371 foreach (IParameter param in e.Items) … … 374 374 } 375 375 private void Parameters_ItemsRemoved(object sender, CollectionItemsChangedEventArgs<IParameter> e) { 376 I ObservableKeyedCollection<string, IParameter> parameterCollection = sender as IObservableKeyedCollection<string, IParameter>;376 IKeyedItemCollection<string, IParameter> parameterCollection = sender as IKeyedItemCollection<string, IParameter>; 377 377 IOperator op = this.operatorParameterCollectionMapping.GetBySecond(parameterCollection); 378 378 foreach (IParameter param in e.Items) … … 381 381 } 382 382 private void Parameters_ItemsReplaced(object sender, CollectionItemsChangedEventArgs<IParameter> e) { 383 I ObservableKeyedCollection<string, IParameter> parameterCollection = sender as IObservableKeyedCollection<string, IParameter>;383 IKeyedItemCollection<string, IParameter> parameterCollection = sender as IKeyedItemCollection<string, IParameter>; 384 384 IOperator op = this.operatorParameterCollectionMapping.GetBySecond(parameterCollection); 385 385 foreach (IParameter param in e.OldItems) … … 390 390 } 391 391 private void Parameters_CollectionReset(object sender, CollectionItemsChangedEventArgs<IParameter> e) { 392 I ObservableKeyedCollection<string, IParameter> parameterCollection = sender as IObservableKeyedCollection<string, IParameter>;392 IKeyedItemCollection<string, IParameter> parameterCollection = sender as IKeyedItemCollection<string, IParameter>; 393 393 IOperator op = this.operatorParameterCollectionMapping.GetBySecond(parameterCollection); 394 394 foreach (IParameter param in e.OldItems)
Note: See TracChangeset
for help on using the changeset viewer.