Free cookie consent management tool by TermsFeed Policy Generator

Changeset 5261


Ignore:
Timestamp:
01/09/11 23:17:06 (14 years ago)
Author:
swagner
Message:

Fixed persistence of visual properties in DataTable and DataRow (#1338)

Location:
trunk/sources/HeuristicLab.Analysis/3.3/DataVisualization
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Analysis/3.3/DataVisualization/DataRow.cs

    r5097 r5261  
    3535  [StorableClass]
    3636  public class DataRow : NamedItem {
    37     [Storable(Name = "VisualProperties")]
    3837    private DataRowVisualProperties visualProperties;
    3938    public DataRowVisualProperties VisualProperties {
     
    5554
    5655    #region Persistence Properties
     56    [Storable(Name = "VisualProperties")]
     57    private DataRowVisualProperties StorableVisualProperties {
     58      get { return visualProperties; }
     59      set {
     60        visualProperties = value;
     61        visualProperties.PropertyChanged += new PropertyChangedEventHandler(VisualProperties_PropertyChanged);
     62      }
     63    }
    5764    [Storable(Name = "values")]
    5865    private IEnumerable<double> StorableValues {
  • trunk/sources/HeuristicLab.Analysis/3.3/DataVisualization/DataTable.cs

    r5150 r5261  
    4242    }
    4343
    44     [Storable(Name = "VisualProperties")]
    4544    private DataTableVisualProperties visualProperties;
    4645    public DataTableVisualProperties VisualProperties {
     
    6362
    6463    #region Persistence Properties
     64    [Storable(Name = "VisualProperties")]
     65    private DataTableVisualProperties StorableVisualProperties {
     66      get { return visualProperties; }
     67      set {
     68        visualProperties = value;
     69        visualProperties.PropertyChanged += new PropertyChangedEventHandler(VisualProperties_PropertyChanged);
     70      }
     71    }
    6572    [Storable(Name = "rows")]
    6673    private IEnumerable<DataRow> StorableRows {
Note: See TracChangeset for help on using the changeset viewer.