- Timestamp:
- 12/22/11 09:55:59 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Analysis/3.3/DataVisualization/DataTable.cs
r7221 r7229 93 93 public DataTable(string name) 94 94 : base(name) { 95 VisualProperties = new DataTableVisualProperties( );95 VisualProperties = new DataTableVisualProperties(name); 96 96 rows = new NamedItemCollection<DataRow>(); 97 visualProperties.Title = name;98 97 this.RegisterRowsEvents(); 99 98 } 100 99 public DataTable(string name, string description) 101 100 : base(name, description) { 102 VisualProperties = new DataTableVisualProperties( );101 VisualProperties = new DataTableVisualProperties(name); 103 102 rows = new NamedItemCollection<DataRow>(); 104 visualProperties.Title = name;105 103 this.RegisterRowsEvents(); 106 104 } … … 110 108 [StorableHook(HookType.AfterDeserialization)] 111 109 private void AfterDeserialization() { 112 if (VisualProperties == null) VisualProperties = new DataTableVisualProperties(); 110 if (VisualProperties == null) VisualProperties = new DataTableVisualProperties(name); 111 if (VisualProperties.Title == null) VisualProperties.Title = name; 113 112 } 114 113 #endregion
Note: See TracChangeset
for help on using the changeset viewer.