Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
10/17/08 10:54:57 (16 years ago)
Author:
mkommend
Message:

PointXYChart refactored to use generic ItemList instead of Itemlist<ItemList<DoubleArrayData>> (ticket #310)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Logging/PointXYChart.cs

    r671 r677  
    2929namespace HeuristicLab.Logging {
    3030  public class PointXYChart : ItemBase, IVisualizationItem {
    31     private ItemList<ItemList<DoubleArrayData>> myValues;
    32     public ItemList<ItemList<DoubleArrayData>> Values {
     31    private ItemList myValues;
     32    public ItemList Values {
    3333      get { return myValues; }
    3434      set {
     
    5656      myConnectDots = new BoolData(true);
    5757    }
    58     public PointXYChart(bool connectDots,ItemList<ItemList<DoubleArrayData>> values) {
     58    public PointXYChart(bool connectDots,ItemList values) {
    5959      myConnectDots = new BoolData(connectDots);
    6060      myValues = values;
     
    6363    public override object Clone(IDictionary<Guid, object> clonedObjects) {
    6464      PointXYChart clone = (PointXYChart)base.Clone(clonedObjects);
    65       clone.myValues = (ItemList<ItemList<DoubleArrayData>>)Auxiliary.Clone(Values, clonedObjects);
     65      clone.myValues = (ItemList)Auxiliary.Clone(Values, clonedObjects);
    6666      return clone;
    6767    }
     
    9292      base.Populate(node, restoredObjects);
    9393      myConnectDots = (BoolData)PersistenceManager.Restore(node.SelectSingleNode("ConnectDots"), restoredObjects);
    94       myValues = (ItemList<ItemList<DoubleArrayData>>)PersistenceManager.Restore(node.SelectSingleNode("Values"), restoredObjects);
     94      myValues = (ItemList)PersistenceManager.Restore(node.SelectSingleNode("Values"), restoredObjects);
    9595    }
    9696    #endregion
Note: See TracChangeset for help on using the changeset viewer.