Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
04/18/10 03:00:00 (14 years ago)
Author:
swagner
Message:

Changed items and views according to the refactoring of HeuristicLab.Collections (#977)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Operators.Views.GraphVisualization/3.3/OperatorGraphVisualization/OperatorGraphVisualizationInfo.cs

    r3386 r3393  
    3636    [Storable]
    3737    private BidirectionalLookup<IOperator, IOperatorShapeInfo> operatorShapeInfoMapping;
    38     private BidirectionalLookup<IOperator, IObservableKeyedCollection<string, IParameter>> operatorParameterCollectionMapping;
     38    private BidirectionalLookup<IOperator, IKeyedItemCollection<string, IParameter>> operatorParameterCollectionMapping;
    3939    private Dictionary<IParameter, IOperator> parameterOperatorMapping;
    4040
     
    4242      : base() {
    4343      this.operatorShapeInfoMapping = new BidirectionalLookup<IOperator, IOperatorShapeInfo>();
    44       this.operatorParameterCollectionMapping = new BidirectionalLookup<IOperator, IObservableKeyedCollection<string, IParameter>>();
     44      this.operatorParameterCollectionMapping = new BidirectionalLookup<IOperator, IKeyedItemCollection<string, IParameter>>();
    4545      this.parameterOperatorMapping = new Dictionary<IParameter, IOperator>();
    4646    }
     
    4949    private OperatorGraphVisualizationInfo(bool deserializing)
    5050      : base() {
    51       this.operatorParameterCollectionMapping = new BidirectionalLookup<IOperator, IObservableKeyedCollection<string, IParameter>>();
     51      this.operatorParameterCollectionMapping = new BidirectionalLookup<IOperator, IKeyedItemCollection<string, IParameter>>();
    5252      this.parameterOperatorMapping = new Dictionary<IParameter, IOperator>();
    5353    }
     
    367367
    368368    private void Parameters_ItemsAdded(object sender, CollectionItemsChangedEventArgs<IParameter> e) {
    369       IObservableKeyedCollection<string, IParameter> parameterCollection = sender as IObservableKeyedCollection<string, IParameter>;
     369      IKeyedItemCollection<string, IParameter> parameterCollection = sender as IKeyedItemCollection<string, IParameter>;
    370370      IOperator op = this.operatorParameterCollectionMapping.GetBySecond(parameterCollection);
    371371      foreach (IParameter param in e.Items)
     
    374374    }
    375375    private void Parameters_ItemsRemoved(object sender, CollectionItemsChangedEventArgs<IParameter> e) {
    376       IObservableKeyedCollection<string, IParameter> parameterCollection = sender as IObservableKeyedCollection<string, IParameter>;
     376      IKeyedItemCollection<string, IParameter> parameterCollection = sender as IKeyedItemCollection<string, IParameter>;
    377377      IOperator op = this.operatorParameterCollectionMapping.GetBySecond(parameterCollection);
    378378      foreach (IParameter param in e.Items)
     
    381381    }
    382382    private void Parameters_ItemsReplaced(object sender, CollectionItemsChangedEventArgs<IParameter> e) {
    383       IObservableKeyedCollection<string, IParameter> parameterCollection = sender as IObservableKeyedCollection<string, IParameter>;
     383      IKeyedItemCollection<string, IParameter> parameterCollection = sender as IKeyedItemCollection<string, IParameter>;
    384384      IOperator op = this.operatorParameterCollectionMapping.GetBySecond(parameterCollection);
    385385      foreach (IParameter param in e.OldItems)
     
    390390    }
    391391    private void Parameters_CollectionReset(object sender, CollectionItemsChangedEventArgs<IParameter> e) {
    392       IObservableKeyedCollection<string, IParameter> parameterCollection = sender as IObservableKeyedCollection<string, IParameter>;
     392      IKeyedItemCollection<string, IParameter> parameterCollection = sender as IKeyedItemCollection<string, IParameter>;
    393393      IOperator op = this.operatorParameterCollectionMapping.GetBySecond(parameterCollection);
    394394      foreach (IParameter param in e.OldItems)
Note: See TracChangeset for help on using the changeset viewer.