- Timestamp:
- 01/10/19 15:40:44 (6 years ago)
- Location:
- branches/2520_PersistenceReintegration
- Files:
-
- 7 edited
- 1 copied
Legend:
- Unmodified
- Added
- Removed
-
branches/2520_PersistenceReintegration
- Property svn:mergeinfo changed
-
branches/2520_PersistenceReintegration/HeuristicLab.Analysis
- Property svn:mergeinfo changed
/branches/2947_ConfigurableIndexedDataTable/HeuristicLab.Analysis (added) merged: 16149-16150,16156,16520,16524 /trunk/HeuristicLab.Analysis (added) merged: 16527
- Property svn:mergeinfo changed
-
branches/2520_PersistenceReintegration/HeuristicLab.Analysis/3.3/DataVisualization/DataRow.cs
r16462 r16529 34 34 [Item("DataRow", "A row of data values.")] 35 35 [StorableType("34A66F23-0FBB-414C-81C8-D3AA1C470446")] 36 public class DataRow : NamedItem {36 public class DataRow : NamedItem , IDataRow { 37 37 private DataRowVisualProperties visualProperties; 38 38 public DataRowVisualProperties VisualProperties { -
branches/2520_PersistenceReintegration/HeuristicLab.Analysis/3.3/DataVisualization/DataTable.cs
r16462 r16529 37 37 [Item("DataTable", "A table of data values.")] 38 38 [StorableType("3DD78514-DBCE-4B2A-83B9-847FC67C264D")] 39 public class DataTable : NamedItem, IStringConvertibleMatrix {39 public class DataTable : NamedItem, IStringConvertibleMatrix, IDataTable<DataRow> { 40 40 public static new Image StaticItemImage { 41 41 get { return HeuristicLab.Common.Resources.VSImageLibrary.Performance; } -
branches/2520_PersistenceReintegration/HeuristicLab.Analysis/3.3/DataVisualization/IndexedDataRow.cs
r16462 r16529 32 32 [Item("IndexedDataRow", "A data row that contains a series of points.")] 33 33 [StorableType("0B0BB900-4C30-4485-82C2-C9E633110685")] 34 public class IndexedDataRow<T> : NamedItem {34 public class IndexedDataRow<T> : NamedItem, IDataRow { 35 35 36 36 private DataRowVisualProperties visualProperties; -
branches/2520_PersistenceReintegration/HeuristicLab.Analysis/3.3/DataVisualization/IndexedDataTable.cs
r16462 r16529 34 34 [Item("IndexedDataTable", "A data table where the points are also given with a certain index.")] 35 35 [StorableType("1453C842-6312-4931-9B05-20399A0528D6")] 36 public class IndexedDataTable<T> : NamedItem, IStringConvertibleMatrix {36 public class IndexedDataTable<T> : NamedItem, IStringConvertibleMatrix, IDataTable<IndexedDataRow<T>> { 37 37 public static new Image StaticItemImage { 38 38 get { return HeuristicLab.Common.Resources.VSImageLibrary.Performance; } … … 90 90 public IndexedDataTable(string name) 91 91 : base(name) { 92 VisualProperties = new DataTableVisualProperties( );92 VisualProperties = new DataTableVisualProperties(name); 93 93 rows = new NamedItemCollection<IndexedDataRow<T>>(); 94 94 this.RegisterRowsEvents(); … … 96 96 public IndexedDataTable(string name, string description) 97 97 : base(name, description) { 98 VisualProperties = new DataTableVisualProperties( );98 VisualProperties = new DataTableVisualProperties(name); 99 99 rows = new NamedItemCollection<IndexedDataRow<T>>(); 100 100 this.RegisterRowsEvents(); … … 103 103 public override IDeepCloneable Clone(Cloner cloner) { 104 104 return new IndexedDataTable<T>(this, cloner); 105 } 106 107 #region BackwardsCompatibility3.3 108 // Using the name as title is the old style 109 [Storable(DefaultValue = true)] 110 private bool useNameAsTitle = false; 111 #endregion 112 113 [StorableHook(HookType.AfterDeserialization)] 114 private void AfterDeserialization() { 115 // BackwardsCompatibility3.3 116 #region Backwards compatible code, remove with 3.4 117 // Previously, the Name of the IndexedDataTable was used as Title 118 if (useNameAsTitle && string.IsNullOrEmpty(VisualProperties.Title)) { 119 VisualProperties.Title = Name; 120 useNameAsTitle = false; 121 } 122 #endregion 105 123 } 106 124 -
branches/2520_PersistenceReintegration/HeuristicLab.Analysis/3.3/HeuristicLab.Analysis-3.3.csproj
r16462 r16529 141 141 <Compile Include="DataVisualization\IndexedDataRow.cs" /> 142 142 <Compile Include="DataVisualization\IndexedDataTable.cs" /> 143 <Compile Include="DataVisualization\Interfaces\IDataRow.cs" /> 144 <Compile Include="DataVisualization\Interfaces\IDataTable.cs" /> 143 145 <Compile Include="DataVisualization\ScatterPlotDataRowVisualProperties.cs" /> 144 146 <Compile Include="DataVisualization\ScatterPlotDataRow.cs" />
Note: See TracChangeset
for help on using the changeset viewer.