Changeset 9614
- Timestamp:
- 06/12/13 13:32:34 (11 years ago)
- Location:
- branches/HeuristicLab.DataImporter
- Files:
-
- 95 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HeuristicLab.DataImporter/Build.cmd
r6133 r9614 49 49 50 50 :prompt_config 51 SET /P CONFIGURATION=Which configuration to build [ Debug]:52 IF "%CONFIGURATION%"=="" SET CONFIGURATION= Debug51 SET /P CONFIGURATION=Which configuration to build [Release]: 52 IF "%CONFIGURATION%"=="" SET CONFIGURATION=Release 53 53 54 54 :platform_selection -
branches/HeuristicLab.DataImporter/HeuristicLab.DataImporter.Backend.Csv
- Property svn:ignore
-
old new 3 3 HeuristicLabDataImporterBackendCsvPlugin.cs 4 4 Plugin.cs 5 *.user
-
- Property svn:ignore
-
branches/HeuristicLab.DataImporter/HeuristicLab.DataImporter.Backend.Csv/CsvImportCommand.cs
r7267 r9614 20 20 #endregion 21 21 22 using System;23 using System.Collections.Generic;24 22 using System.IO; 25 using System.Linq; 26 using System.Text; 27 using System.Xml; 28 using System.Windows.Forms; 29 using HeuristicLab.DataImporter.Data; 23 using HeuristicLab.DataImporter.Data.CommandBase; 30 24 using HeuristicLab.DataImporter.Data.Model; 31 using HeuristicLab.DataImporter.Data.CommandBase;32 25 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable; 33 26 … … 37 30 private ColumnGroup newColumnGroup; 38 31 39 private CsvImportCommand() 40 : base(null) { 41 } 32 [StorableConstructor] 33 protected CsvImportCommand(bool deserializing) : base(deserializing) { } 42 34 43 35 public CsvImportCommand(DataSet dataSet) -
branches/HeuristicLab.DataImporter/HeuristicLab.DataImporter.Backend.Csv/CsvImporter.cs
r7267 r9614 20 20 #endregion 21 21 22 using System; 23 using System.Collections.Generic; 24 using System.Linq; 25 using System.Text; 26 using System.IO; 22 using HeuristicLab.DataImporter.Data.CommandBase; 23 using HeuristicLab.DataImporter.Data.Model; 27 24 using HeuristicLab.DataImporter.DataProcessor; 28 using HeuristicLab.DataImporter.Data.Model;29 using HeuristicLab.DataImporter.Data.CommandBase;30 25 31 26 namespace HeuristicLab.DataImporter.Backend.Csv { -
branches/HeuristicLab.DataImporter/HeuristicLab.DataImporter.Backend.Hl2ImporterFormat
- Property svn:ignore
-
old new 2 2 HeuristicLabDataImporterBackendHl2ImporterFormatPlugin.cs 3 3 obj 4 *.user
-
- Property svn:ignore
-
branches/HeuristicLab.DataImporter/HeuristicLab.DataImporter.Backend.Hl2ImporterFormat/Hl2Importer.cs
r7267 r9614 20 20 #endregion 21 21 22 using System; 23 using System.Collections.Generic; 24 using System.Linq; 25 using System.Text; 26 using System.IO; 22 using HeuristicLab.DataImporter.Data.CommandBase; 23 using HeuristicLab.DataImporter.Data.Model; 27 24 using HeuristicLab.DataImporter.DataProcessor; 28 using HeuristicLab.DataImporter.Data.Model;29 using HeuristicLab.DataImporter.Data.CommandBase;30 25 31 26 namespace HeuristicLab.DataImporter.Backend.Hl2ImporterFormat { 32 public class Hl2Importer : IImporter {27 public class Hl2Importer : IImporter { 33 28 34 29 public string Description { -
branches/HeuristicLab.DataImporter/HeuristicLab.DataImporter.Backend.Hl2ImporterFormat/Hl2ImporterCommand.cs
r7267 r9614 20 20 #endregion 21 21 22 using System;23 using System.Collections.Generic;24 22 using System.IO; 25 using System.Linq; 26 using System.Text; 27 using System.Xml; 28 using System.Windows.Forms; 29 using HeuristicLab.DataImporter.Data; 23 using HeuristicLab.DataImporter.Data.CommandBase; 30 24 using HeuristicLab.DataImporter.Data.Model; 31 using HeuristicLab.DataImporter.Data.CommandBase;32 25 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable; 33 26 … … 37 30 private ColumnGroup newColumnGroup; 38 31 39 private Hl2ImporterCommand() 40 : base(null) { 41 } 32 [StorableConstructor] 33 protected Hl2ImporterCommand(bool deserializing) : base(deserializing) { } 42 34 43 35 public Hl2ImporterCommand(DataSet dataSet) -
branches/HeuristicLab.DataImporter/HeuristicLab.DataImporter.Command/Aggregation/AggregateCommandBase.cs
r7625 r9614 23 23 using System.Collections.Generic; 24 24 using System.Linq; 25 using System.Text;26 using System.Xml;27 25 using HeuristicLab.DataImporter.Data.CommandBase; 28 26 using HeuristicLab.DataImporter.Data.Model; … … 32 30 [StorableClass] 33 31 public abstract class AggregateCommandBase : ColumnGroupCommandWithAffectedColumnsBase { 34 private AggregateCommandBase() 35 : base(null, string.Empty, null) { 32 [StorableConstructor] 33 protected AggregateCommandBase(bool deserializing) 34 : base(deserializing) { 36 35 oldColumns = new List<ColumnBase>(); 37 36 newColumns = new List<ColumnBase>(); 38 37 positions = new List<int>(); 39 changeNullValuesOnly = true;40 38 } 41 39 -
branches/HeuristicLab.DataImporter/HeuristicLab.DataImporter.Command/Aggregation/AggregateWithMaxCommand.cs
r7267 r9614 21 21 22 22 using System; 23 using System.Collections.Generic; 24 using System.Linq; 25 using System.Text; 23 using HeuristicLab.DataImporter.Command.View; 26 24 using HeuristicLab.DataImporter.Data; 27 25 using HeuristicLab.DataImporter.Data.CommandBase; 28 26 using HeuristicLab.DataImporter.Data.Model; 29 using HeuristicLab.DataImporter.Command.View;30 27 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable; 31 28 … … 35 32 , "Aggregation", Position = 4, OptionsView = typeof(AggregationCommandView))] 36 33 public class AggregateWithMaxCommand : AggregateCommandBase { 37 private AggregateWithMaxCommand() 38 : base(null,string.Empty,null) { 39 } 34 [StorableConstructor] 35 protected AggregateWithMaxCommand(bool deserializing) : base(deserializing) { } 40 36 41 37 public AggregateWithMaxCommand(DataSet dataSet, string columnGroupName, int[] affectedColumns) -
branches/HeuristicLab.DataImporter/HeuristicLab.DataImporter.Command/Aggregation/AggregateWithMeanCommand.cs
r7267 r9614 21 21 22 22 using System; 23 using System.Collections.Generic; 24 using System.Linq; 25 using System.Text; 23 using HeuristicLab.DataImporter.Command.View; 26 24 using HeuristicLab.DataImporter.Data; 27 25 using HeuristicLab.DataImporter.Data.CommandBase; 28 26 using HeuristicLab.DataImporter.Data.Model; 29 using HeuristicLab.DataImporter.Command.View;30 27 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable; 31 28 … … 35 32 "Aggregation", Position = 0, OptionsView = typeof(AggregationCommandView))] 36 33 public class AggregateWithMeanCommand : AggregateCommandBase { 37 private AggregateWithMeanCommand() 38 : base(null,string.Empty,null) { 39 } 34 [StorableConstructor] 35 protected AggregateWithMeanCommand(bool deserializing) : base(deserializing) { } 40 36 41 37 public AggregateWithMeanCommand(DataSet dataSet, string columnGroupName, int[] affectedColumns) … … 58 54 } 59 55 } 60 return cnt != 0 ? value/cnt : (double?)null;56 return cnt != 0 ? value / cnt : (double?)null; 61 57 } 62 58 } -
branches/HeuristicLab.DataImporter/HeuristicLab.DataImporter.Command/Aggregation/AggregateWithMedianCommand.cs
r7267 r9614 21 21 22 22 using System; 23 using System.Collections.Generic; 24 using System.Linq; 25 using System.Text; 23 using HeuristicLab.DataImporter.Command.View; 26 24 using HeuristicLab.DataImporter.Data; 27 25 using HeuristicLab.DataImporter.Data.CommandBase; 28 26 using HeuristicLab.DataImporter.Data.Model; 29 using HeuristicLab.DataImporter.Command.View;30 27 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable; 31 28 … … 35 32 "Aggregation", Position = 1, OptionsView = typeof(AggregationCommandView))] 36 33 public class AggregateWithMedianCommand : AggregateCommandBase { 37 private AggregateWithMedianCommand() 38 : base(null,string.Empty,null) { 39 } 34 [StorableConstructor] 35 protected AggregateWithMedianCommand(bool deserializing) : base(deserializing) { } 40 36 41 37 public AggregateWithMedianCommand(DataSet dataSet, string columnGroupName, int[] affectedColumns) -
branches/HeuristicLab.DataImporter/HeuristicLab.DataImporter.Command/Aggregation/AggregateWithMinCommand.cs
r7267 r9614 21 21 22 22 using System; 23 using System.Collections.Generic; 24 using System.Linq; 25 using System.Text; 23 using HeuristicLab.DataImporter.Command.View; 26 24 using HeuristicLab.DataImporter.Data; 27 25 using HeuristicLab.DataImporter.Data.CommandBase; 28 26 using HeuristicLab.DataImporter.Data.Model; 29 using HeuristicLab.DataImporter.Command.View;30 27 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable; 31 28 … … 35 32 "Aggregation", Position = 3, OptionsView = typeof(AggregationCommandView))] 36 33 public class AggregateWithMinCommand : AggregateCommandBase { 37 38 private AggregateWithMinCommand() 39 : base(null, string.Empty, null) { 40 } 34 [StorableConstructor] 35 protected AggregateWithMinCommand(bool deserializing) : base(deserializing) { } 41 36 42 37 public AggregateWithMinCommand(DataSet dataSet, string columnGroupName, int[] affectedColumns) -
branches/HeuristicLab.DataImporter/HeuristicLab.DataImporter.Command/Aggregation/AggregateWithSumCommand.cs
r7267 r9614 21 21 22 22 using System; 23 using System.Collections.Generic; 24 using System.Linq; 25 using System.Text; 23 using HeuristicLab.DataImporter.Command.View; 26 24 using HeuristicLab.DataImporter.Data; 27 25 using HeuristicLab.DataImporter.Data.CommandBase; 28 26 using HeuristicLab.DataImporter.Data.Model; 29 using HeuristicLab.DataImporter.Command.View;30 27 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable; 31 28 … … 35 32 "Aggregation", Position = 2, OptionsView = typeof(AggregationCommandView))] 36 33 public class AggregateWithSumCommand : AggregateCommandBase { 37 private AggregateWithSumCommand() 38 : base(null,string.Empty,null) { 39 } 34 [StorableConstructor] 35 protected AggregateWithSumCommand(bool deserializing) : base(deserializing) { } 40 36 41 37 public AggregateWithSumCommand(DataSet dataSet, string columnGroupName, int[] affectedColumns) -
branches/HeuristicLab.DataImporter/HeuristicLab.DataImporter.Command/Aggregation/DeleteRowsWithDuplicateKeyValuesCommand.cs
r7625 r9614 23 23 using System.Collections.Generic; 24 24 using System.Linq; 25 using System.Text;26 25 using HeuristicLab.DataImporter.Data; 27 26 using HeuristicLab.DataImporter.Data.CommandBase; … … 34 33 public class DeleteRowsWithDuplicateKeyValuesCommand : ColumnGroupCommandBase { 35 34 private Dictionary<int, IComparable[]> deletedRows; 36 private DeleteRowsWithDuplicateKeyValuesCommand() 37 : base(null, string.Empty) { 35 [StorableConstructor] 36 protected DeleteRowsWithDuplicateKeyValuesCommand(bool deserializing) 37 : base(deserializing) { 38 38 deletedRows = new Dictionary<int, IComparable[]>(); 39 39 } -
branches/HeuristicLab.DataImporter/HeuristicLab.DataImporter.Command/ChangeColumnGroup/AddNewColumnCommandBase.cs
r9595 r9614 29 29 [StorableClass] 30 30 public abstract class AddNewColumnCommandBase : ColumnGroupCommandBase { 31 private AddNewColumnCommandBase() 32 : base(null, string.Empty) { 33 } 31 [StorableConstructor] 32 protected AddNewColumnCommandBase(bool deserializing) : base(deserializing) { } 34 33 35 34 protected AddNewColumnCommandBase(DataSet dataSet, string columnGroupName, string columnName, Type columnType) -
branches/HeuristicLab.DataImporter/HeuristicLab.DataImporter.Command/ChangeColumnGroup/AddNewDateTimeColumnCommand.cs
r7267 r9614 33 33 [ViewableCommandInfoAttribute("New DateTimeColumn", 1, ColumnGroupState.Active, "Column Commands", Position = 9)] 34 34 public class AddNewDateTimeColumnCommand : AddNewColumnCommandBase { 35 private AddNewDateTimeColumnCommand() 36 : base(null, string.Empty, string.Empty, typeof(DateTimeColumn)) { 37 } 35 [StorableConstructor] 36 protected AddNewDateTimeColumnCommand(bool deserializing) : base(deserializing) { } 38 37 39 38 public AddNewDateTimeColumnCommand(DataSet dataSet, string columnGroupName) -
branches/HeuristicLab.DataImporter/HeuristicLab.DataImporter.Command/ChangeColumnGroup/AddNewDoubleColumnCommand.cs
r7267 r9614 20 20 #endregion 21 21 22 using System; 23 using System.Collections.Generic; 24 using System.Linq; 25 using System.Text; 22 using HeuristicLab.DataImporter.Data; 26 23 using HeuristicLab.DataImporter.Data.CommandBase; 27 24 using HeuristicLab.DataImporter.Data.Model; 28 using HeuristicLab.DataImporter.Data;29 25 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable; 30 26 … … 33 29 [ViewableCommandInfoAttribute("New DoubleColumn", 1, ColumnGroupState.Active, "Column Commands", Position = 7)] 34 30 public class AddNewDoubleColumnCommand : AddNewColumnCommandBase { 35 private AddNewDoubleColumnCommand() 36 : base(null, string.Empty, string.Empty, typeof(DoubleColumn)) { 37 } 31 [StorableConstructor] 32 protected AddNewDoubleColumnCommand(bool deserializing) : base(deserializing) { } 38 33 39 34 public AddNewDoubleColumnCommand(DataSet dataSet, string columnGroupName) -
branches/HeuristicLab.DataImporter/HeuristicLab.DataImporter.Command/ChangeColumnGroup/AddNewProgrammableColumnCommand.cs
r9595 r9614 32 32 OptionsView = typeof(ProgrammableColumnCommandView))] 33 33 public class AddNewProgrammableColumnCommand : AddNewColumnCommandBase { 34 private AddNewProgrammableColumnCommand() 35 : base(null, string.Empty, string.Empty, typeof(ProgrammableColumn)) { 36 } 34 [StorableConstructor] 35 protected AddNewProgrammableColumnCommand(bool deserializing) : base(deserializing) { } 37 36 38 37 public AddNewProgrammableColumnCommand(DataSet dataSet, string columnGroupName) -
branches/HeuristicLab.DataImporter/HeuristicLab.DataImporter.Command/ChangeColumnGroup/AddNewStringColumnCommand.cs
r7267 r9614 20 20 #endregion 21 21 22 using System; 23 using System.Collections.Generic; 24 using System.Linq; 25 using System.Text; 22 using HeuristicLab.DataImporter.Data; 26 23 using HeuristicLab.DataImporter.Data.CommandBase; 27 24 using HeuristicLab.DataImporter.Data.Model; 28 using HeuristicLab.DataImporter.Data;29 25 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable; 30 26 … … 33 29 [ViewableCommandInfoAttribute("New StringColumn", 1, ColumnGroupState.Active, "Column Commands", Position = 8)] 34 30 public class AddNewStringColumnCommand : AddNewColumnCommandBase { 35 private AddNewStringColumnCommand() 36 : base(null,string.Empty,string.Empty,typeof(StringColumn)) { 37 } 31 [StorableConstructor] 32 protected AddNewStringColumnCommand(bool deserializing) : base(deserializing) { } 38 33 39 34 public AddNewStringColumnCommand(DataSet dataSet, string columnGroupName) -
branches/HeuristicLab.DataImporter/HeuristicLab.DataImporter.Command/ChangeColumnGroup/ChangeColumnCommandBase.cs
r7267 r9614 23 23 using System.Collections.Generic; 24 24 using System.Linq; 25 using System.Text;26 25 using System.Windows.Forms; 27 using System.Xml;28 using HeuristicLab.DataImporter.Data;29 26 using HeuristicLab.DataImporter.Data.CommandBase; 30 27 using HeuristicLab.DataImporter.Data.Model; … … 43 40 protected IEnumerable<SortOrder> oldSortOrder; 44 41 45 private ChangeColumnCommandBase() 46 : base(null, string.Empty, null) { 42 [StorableConstructor] 43 protected ChangeColumnCommandBase(bool deserializing) 44 : base(deserializing) { 47 45 newColumns = new List<ColumnBase>(); 48 46 oldColumns = new List<ColumnBase>(); -
branches/HeuristicLab.DataImporter/HeuristicLab.DataImporter.Command/ChangeColumnGroup/ChangeColumnToDateTimeColumnCommand.cs
r7267 r9614 20 20 #endregion 21 21 22 using System;23 using System.Collections.Generic;24 using System.Linq;25 using System.Text;26 using System.Globalization;27 22 using HeuristicLab.DataImporter.Data; 28 23 using HeuristicLab.DataImporter.Data.CommandBase; … … 34 29 [ViewableCommandInfoAttribute("Change to DateTimeColumn", 1, ColumnGroupState.ColumnSelected, "Column Commands", Position = 13)] 35 30 public class ChangeColumnToDateTimeColumnCommand : ChangeColumnCommandBase { 36 private ChangeColumnToDateTimeColumnCommand() 37 : base(null, string.Empty, null, typeof(DateTimeColumn)) { 38 } 31 [StorableConstructor] 32 protected ChangeColumnToDateTimeColumnCommand(bool deserializing) : base(deserializing) { } 39 33 40 34 public ChangeColumnToDateTimeColumnCommand(DataSet dataSet, string columnGroupName, int[] affectedColumns) -
branches/HeuristicLab.DataImporter/HeuristicLab.DataImporter.Command/ChangeColumnGroup/ChangeColumnToDoubleColumnCommand.cs
r7267 r9614 20 20 #endregion 21 21 22 using System;23 using System.Collections.Generic;24 using System.Linq;25 using System.Text;26 using System.Globalization;27 22 using HeuristicLab.DataImporter.Data; 28 23 using HeuristicLab.DataImporter.Data.CommandBase; … … 34 29 [ViewableCommandInfoAttribute("Change to DoubleColumn", 1, ColumnGroupState.ColumnSelected, "Column Commands", Position = 11)] 35 30 public class ChangeColumnToDoubleColumnCommand : ChangeColumnCommandBase { 36 private ChangeColumnToDoubleColumnCommand() 37 : base(null, string.Empty, null, typeof(DoubleColumn)) { 38 } 31 [StorableConstructor] 32 protected ChangeColumnToDoubleColumnCommand(bool deserializing) : base(deserializing) { } 39 33 40 34 public ChangeColumnToDoubleColumnCommand(DataSet dataSet, string columnGroupName, int[] affectedColumns) -
branches/HeuristicLab.DataImporter/HeuristicLab.DataImporter.Command/ChangeColumnGroup/ChangeColumnToStringColumnCommand.cs
r7267 r9614 20 20 #endregion 21 21 22 using System;23 using System.Collections.Generic;24 using System.Linq;25 using System.Text;26 using System.Globalization;27 22 using HeuristicLab.DataImporter.Data; 28 23 using HeuristicLab.DataImporter.Data.CommandBase; … … 34 29 [ViewableCommandInfoAttribute("Change to StringColumn", 1, ColumnGroupState.ColumnSelected, "Column Commands", Position = 12)] 35 30 public class ChangeColumnToStringColumnCommand : ChangeColumnCommandBase { 36 private ChangeColumnToStringColumnCommand() 37 : base(null, string.Empty, null, typeof(StringColumn)) { 38 } 31 [StorableConstructor] 32 protected ChangeColumnToStringColumnCommand(bool deserializing) : base(deserializing) { } 39 33 40 34 public ChangeColumnToStringColumnCommand(DataSet dataSet, string columnGroupName, int[] affectedColumns) -
branches/HeuristicLab.DataImporter/HeuristicLab.DataImporter.Command/ChangeColumnGroup/CreateTimeSeriesColumnsCommand.cs
r7267 r9614 20 20 #endregion 21 21 22 using System;23 22 using System.Collections.Generic; 24 23 using System.Linq; 25 using System.Text; 24 using System.Windows.Forms.DataVisualization.Charting; 25 using HeuristicLab.DataImporter.Data; 26 26 using HeuristicLab.DataImporter.Data.CommandBase; 27 using HeuristicLab.DataImporter.Data.Model; 27 28 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable; 28 using HeuristicLab.DataImporter.Data;29 using HeuristicLab.DataImporter.Data.Model;30 using System.Windows.Forms.DataVisualization.Charting;31 using System.Drawing;32 29 33 30 namespace HeuristicLab.DataImporter.Command { … … 37 34 public class CreateTimeSeriesColumnsCommand : ColumnGroupCommandWithAffectedColumnsBase { 38 35 private int addedColumnsCount; 39 36 [StorableConstructor] 37 protected CreateTimeSeriesColumnsCommand(bool deserializing) : base(deserializing) { } 40 38 public CreateTimeSeriesColumnsCommand(DataSet dataSet, string columnGroupName, int[] affectedColumns) 41 39 : base(dataSet, columnGroupName, affectedColumns) { -
branches/HeuristicLab.DataImporter/HeuristicLab.DataImporter.Command/ChangeColumnGroup/SplitCategorialColumnCommand.cs
r7267 r9614 23 23 using System.Collections.Generic; 24 24 using System.Linq; 25 using System.Text;25 using HeuristicLab.DataImporter.Data; 26 26 using HeuristicLab.DataImporter.Data.CommandBase; 27 using HeuristicLab.DataImporter.Data.Model; 27 28 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable; 28 using HeuristicLab.DataImporter.Data;29 using HeuristicLab.DataImporter.Data.Model;30 29 31 30 namespace HeuristicLab.DataImporter.Command { … … 38 37 private const double NOTSETVALUE = 0.0; 39 38 40 private SplitCategorialColumnCommand() 41 : base(null, string.Empty, -1) { 42 } 39 [StorableConstructor] 40 protected SplitCategorialColumnCommand(bool deserializing) : base(deserializing) { } 43 41 44 42 public SplitCategorialColumnCommand(DataSet dataSet, string columnGroupName, int columnIndex) -
branches/HeuristicLab.DataImporter/HeuristicLab.DataImporter.Command/ChangeColumnGroup/SplitDictionaryStyleDataCommand.cs
r8387 r9614 34 34 public class SplitDictionaryStyleDataCommand : ColumnGroupCommandWithAffectedColumnsBase { 35 35 private int addedColumnsCount; 36 37 private SplitDictionaryStyleDataCommand() 38 : base(null, string.Empty, null) { 39 } 36 [StorableConstructor] 37 protected SplitDictionaryStyleDataCommand(bool deserializing) : base(deserializing) { } 40 38 41 39 public SplitDictionaryStyleDataCommand(DataSet dataSet, string columnGroupName, int[] affectedColumns) -
branches/HeuristicLab.DataImporter/HeuristicLab.DataImporter.Command/ChangeDataset/AddNewColumnGroupCommand.cs
r7267 r9614 40 40 private ColumnGroup newColumnGroup; 41 41 42 private AddNewColumnGroupCommand() 43 : base(null) { 44 } 42 [StorableConstructor] 43 protected AddNewColumnGroupCommand(bool deserializing) : base(deserializing) { } 45 44 46 45 public AddNewColumnGroupCommand(DataSet dataSet) -
branches/HeuristicLab.DataImporter/HeuristicLab.DataImporter.Command/ChangeDataset/AlignColumnGroupsCommand.cs
r7625 r9614 23 23 using System.Collections.Generic; 24 24 using System.Linq; 25 using System.Text;26 25 using System.Windows.Forms; 27 26 using HeuristicLab.DataImporter.Data; … … 41 40 private int removePos2; 42 41 43 private AlignColumnGroupsCommand() 44 : base(null, null) { 45 } 42 [StorableConstructor] 43 protected AlignColumnGroupsCommand(bool deserializing) : base(deserializing) { } 46 44 47 45 public AlignColumnGroupsCommand(DataSet dataSet, List<string> affectedColumnGroupNames) -
branches/HeuristicLab.DataImporter/HeuristicLab.DataImporter.Command/ChangeDataset/DeleteColumnGroupCommand.cs
r7992 r9614 32 32 private List<KeyValuePair<int, ColumnGroup>> deletedColumnGroups; 33 33 34 private DeleteColumnGroupCommand() 35 : base(null, null) { 34 [StorableConstructor] 35 protected DeleteColumnGroupCommand(bool deserializing) 36 : base(deserializing) { 36 37 deletedColumnGroups = new List<KeyValuePair<int, ColumnGroup>>(); 37 38 } -
branches/HeuristicLab.DataImporter/HeuristicLab.DataImporter.Command/ChangeDataset/DeleteColumnsWithTooFewValuesCommand.cs
r6133 r9614 17 17 private SortedDictionary<int, ColumnBase> deletedColumns; 18 18 private ICollection<int> oldSortedColumnIndices; 19 private DeleteColumnsWithTooFewValuesCommand() 20 : base(null, string.Empty) { 19 [StorableConstructor] 20 protected DeleteColumnsWithTooFewValuesCommand(bool deserializing) 21 : base(deserializing) { 21 22 deletedColumns = new SortedDictionary<int, ColumnBase>(); 22 23 } -
branches/HeuristicLab.DataImporter/HeuristicLab.DataImporter.Command/ChangeDataset/MergeColumnGroupsCommand.cs
r7267 r9614 20 20 #endregion 21 21 22 using System;23 22 using System.Collections.Generic; 24 23 using System.Linq; 25 using System. Text;24 using System.Windows.Forms; 26 25 using HeuristicLab.DataImporter.Data; 27 26 using HeuristicLab.DataImporter.Data.CommandBase; 28 27 using HeuristicLab.DataImporter.Data.Model; 29 28 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable; 30 using System.Windows.Forms;31 29 32 30 namespace HeuristicLab.DataImporter.Command { … … 38 36 private ColumnGroup newColumnGroup; 39 37 40 private MergeColumnGroupsCommand() 41 : base(null, null) { 38 [StorableConstructor] 39 protected MergeColumnGroupsCommand(bool deserializing) 40 : base(deserializing) { 42 41 oldColumnGroups = new SortedDictionary<int, ColumnGroup>(); 43 42 oldRowCounts = new List<int>(); -
branches/HeuristicLab.DataImporter/HeuristicLab.DataImporter.Command/ChangeDataset/MoveColumnGroupLeftCommand.cs
r7267 r9614 20 20 #endregion 21 21 22 using System;23 22 using System.Collections.Generic; 24 23 using System.Linq; 25 using System.Text;26 using System.Xml;27 24 using HeuristicLab.DataImporter.Data; 28 25 using HeuristicLab.DataImporter.Data.CommandBase; … … 35 32 [ViewableCommandInfoAttribute("Move ColumnGroup left", 1, ColumnGroupState.Active, "ColumnGroup Commands", Position = 2)] 36 33 public class MoveColumnGroupLeftCommand : DataSetCommandWithAffectedColumnGroupsBase { 37 private MoveColumnGroupLeftCommand() 38 : base(null, null) { 39 } 34 [StorableConstructor] 35 protected MoveColumnGroupLeftCommand(bool deserializing) : base(deserializing) { } 40 36 public MoveColumnGroupLeftCommand(DataSet dataSet, List<string> affectedColumnGroups) 41 37 : base(dataSet, affectedColumnGroups) { -
branches/HeuristicLab.DataImporter/HeuristicLab.DataImporter.Command/ChangeDataset/MoveColumnGroupRightCommand.cs
r7267 r9614 20 20 #endregion 21 21 22 using System;23 22 using System.Collections.Generic; 24 23 using System.Linq; 25 using System.Text;26 using System.Xml;27 24 using HeuristicLab.DataImporter.Data; 28 25 using HeuristicLab.DataImporter.Data.CommandBase; … … 35 32 [ViewableCommandInfoAttribute("Move ColumnGroup right", 1, ColumnGroupState.Active, "ColumnGroup Commands", Position = 3)] 36 33 public class MoveColumnGroupRightCommand : DataSetCommandWithAffectedColumnGroupsBase { 37 private MoveColumnGroupRightCommand() 38 : base(null, null) { 39 } 34 [StorableConstructor] 35 protected MoveColumnGroupRightCommand(bool deserializing) : base(deserializing) { } 40 36 41 37 public MoveColumnGroupRightCommand(DataSet dataSet, List<string> affectedColumnGroups) -
branches/HeuristicLab.DataImporter/HeuristicLab.DataImporter.Command/ChangeDataset/SplitColumnGroupCommand.cs
r7267 r9614 20 20 #endregion 21 21 22 using System;23 22 using System.Collections.Generic; 24 23 using System.Linq; 25 using System.Text;26 24 using System.Windows.Forms; 27 25 using HeuristicLab.DataImporter.Data; … … 40 38 private ColumnGroup newColumnGroup2; 41 39 42 private SplitColumnGroupsCommand() 43 : base(null, string.Empty, null) { 44 } 45 40 [StorableConstructor] 41 protected SplitColumnGroupsCommand(bool deserializing) : base(deserializing) { } 46 42 public SplitColumnGroupsCommand(DataSet dataSet, string columnGroupName, int[] affectedColumns) 47 43 : base(dataSet, columnGroupName, affectedColumns) { -
branches/HeuristicLab.DataImporter/HeuristicLab.DataImporter.Command/ChangeValues/BoxCoxTransformationCommand.cs
r7267 r9614 21 21 22 22 using System; 23 using System.Collections.Generic; 24 using System.Linq; 25 using System.Text; 26 using System.Xml; 23 using HeuristicLab.DataImporter.Command.View; 27 24 using HeuristicLab.DataImporter.Data; 28 25 using HeuristicLab.DataImporter.Data.CommandBase; 29 26 using HeuristicLab.DataImporter.Data.Model; 30 using HeuristicLab.DataImporter.Command.View;31 27 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable; 32 28 … … 36 32 Position = 6, OptionsView = typeof(BoxCoxTransformationCommandView))] 37 33 public class BoxCoxTransformationCommand : ColumnGroupCommandWithAffectedColumnsBase { 38 private BoxCoxTransformationCommand() 39 : base(null, string.Empty, null) { 40 } 34 [StorableConstructor] 35 protected BoxCoxTransformationCommand(bool deserializing) : base(deserializing) { } 41 36 42 37 public BoxCoxTransformationCommand(DataSet dataSet, string columnGroupName, int[] affectedColumns) -
branches/HeuristicLab.DataImporter/HeuristicLab.DataImporter.Command/ChangeValues/DeleteRowsWithGivenValueCommand.cs
r7267 r9614 22 22 using System; 23 23 using System.Collections.Generic; 24 using System.Drawing; 24 25 using System.Linq; 25 using System.Text; 26 using System.Xml; 26 using HeuristicLab.DataImporter.Command.View; 27 27 using HeuristicLab.DataImporter.Data; 28 28 using HeuristicLab.DataImporter.Data.CommandBase; 29 29 using HeuristicLab.DataImporter.Data.Model; 30 using HeuristicLab.DataImporter.Command.View;31 30 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable; 32 using System.Drawing;33 31 34 32 namespace HeuristicLab.DataImporter.Command { … … 39 37 private Dictionary<int, IComparable[]> deletedRows; 40 38 41 private DeleteRowsWithGivenValueCommand() 42 : base(null, string.Empty, null) { 39 [StorableConstructor] 40 protected DeleteRowsWithGivenValueCommand(bool deserializing) 41 : base(deserializing) { 43 42 deletedRows = new Dictionary<int, IComparable[]>(); 44 43 } -
branches/HeuristicLab.DataImporter/HeuristicLab.DataImporter.Command/ChangeValues/FilterCommandBase.cs
r7267 r9614 20 20 #endregion 21 21 22 using System;23 using System.Collections.Generic;24 using System.Linq;25 using System.Text;26 using System.Xml;27 using HeuristicLab.DataImporter.Data;28 22 using HeuristicLab.DataImporter.Data.CommandBase; 29 23 using HeuristicLab.DataImporter.Data.Model; 30 using HeuristicLab.DataImporter.Command.View;31 24 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable; 32 25 … … 34 27 [StorableClass] 35 28 public abstract class FilterCommandBase : ColumnGroupCommandWithAffectedColumnsBase { 36 private FilterCommandBase() 37 : base(null,string.Empty,null) { 38 } 29 [StorableConstructor] 30 protected FilterCommandBase(bool deserializing) : base(deserializing) { } 39 31 40 32 public FilterCommandBase(DataSet dataSet, string columnGroupName, int[] affectedColumns) 41 33 : base(dataSet, columnGroupName, affectedColumns) { 42 34 } 43 35 44 45 46 47 48 49 36 [Storable] 37 private int windowSize; 38 public int WindowSize { 39 get { return this.windowSize; } 40 set { this.windowSize = value; } 41 } 50 42 } 51 43 } -
branches/HeuristicLab.DataImporter/HeuristicLab.DataImporter.Command/ChangeValues/FilterMovingAverageCommand.cs
r7267 r9614 22 22 using System; 23 23 using System.Collections.Generic; 24 using System.Linq; 25 using System.Text; 26 using System.Xml; 24 using HeuristicLab.DataImporter.Command.View; 27 25 using HeuristicLab.DataImporter.Data; 28 26 using HeuristicLab.DataImporter.Data.CommandBase; 29 27 using HeuristicLab.DataImporter.Data.Model; 30 using HeuristicLab.DataImporter.Command.View;31 28 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable; 32 29 … … 39 36 private ICollection<int> oldSortedColumnIndices; 40 37 41 private FilterMovingAverageCommand() 42 : base(null, string.Empty, null) { 38 [StorableConstructor] 39 protected FilterMovingAverageCommand(bool deserializing) 40 : base(deserializing) { 43 41 oldColumns = new Dictionary<int, DoubleColumn>(); 44 42 } -
branches/HeuristicLab.DataImporter/HeuristicLab.DataImporter.Command/ChangeValues/FilterMovingMedianCommand.cs
r7267 r9614 20 20 #endregion 21 21 22 using System;23 22 using System.Collections.Generic; 24 using System.Linq; 25 using System.Text; 26 using System.Xml; 23 using HeuristicLab.DataImporter.Command.View; 27 24 using HeuristicLab.DataImporter.Data; 28 25 using HeuristicLab.DataImporter.Data.CommandBase; 29 26 using HeuristicLab.DataImporter.Data.Model; 30 using HeuristicLab.DataImporter.Command.View;31 27 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable; 32 28 … … 39 35 private ICollection<int> oldSortedColumnIndices; 40 36 41 private FilterMovingMedianCommand() 42 : base(null, string.Empty, null) { 37 [StorableConstructor] 38 protected FilterMovingMedianCommand(bool deserializing) 39 : base(deserializing) { 43 40 oldColumns = new Dictionary<int, DoubleColumn>(); 44 41 } -
branches/HeuristicLab.DataImporter/HeuristicLab.DataImporter.Command/ChangeValues/FilterSavitzkyGolayCommand.cs
r9597 r9614 46 46 public int OrderOfDerivative { get; set; } 47 47 48 private FilterSavitzkyGolayCommand() 49 : base(null, string.Empty, null) { 48 [StorableConstructor] 49 protected FilterSavitzkyGolayCommand(bool deserializing) 50 : base(deserializing) { 50 51 oldColumns = new Dictionary<int, DoubleColumn>(); 51 52 } -
branches/HeuristicLab.DataImporter/HeuristicLab.DataImporter.Command/ChangeValues/LinearTransformationCommand.cs
r7267 r9614 20 20 #endregion 21 21 22 using System; 23 using System.Collections.Generic; 24 using System.Linq; 25 using System.Text; 26 using System.Xml; 22 using HeuristicLab.DataImporter.Command.View; 27 23 using HeuristicLab.DataImporter.Data; 28 24 using HeuristicLab.DataImporter.Data.CommandBase; 29 25 using HeuristicLab.DataImporter.Data.Model; 30 using HeuristicLab.DataImporter.Command.View;31 26 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable; 32 27 … … 36 31 Position = 6, OptionsView = typeof(LinearTransformationCommandView))] 37 32 public class LinearTransformationCommand : ColumnGroupCommandWithAffectedColumnsBase { 38 private LinearTransformationCommand() 39 : base(null, string.Empty, null) { 40 } 33 [StorableConstructor] 34 protected LinearTransformationCommand(bool deserializing) : base(deserializing) { } 41 35 42 36 public LinearTransformationCommand(DataSet dataSet, string columnGroupName, int[] affectedColumns) -
branches/HeuristicLab.DataImporter/HeuristicLab.DataImporter.Command/ChangeValues/NormalDistributionScalingCommand.cs
r7267 r9614 20 20 #endregion 21 21 22 using System;23 22 using System.Collections.Generic; 24 using System.Linq; 25 using System.Text; 26 using System.Xml; 23 using HeuristicLab.DataImporter.Command.View; 27 24 using HeuristicLab.DataImporter.Data; 28 25 using HeuristicLab.DataImporter.Data.CommandBase; 29 26 using HeuristicLab.DataImporter.Data.Model; 30 using HeuristicLab.DataImporter.Command.View;31 27 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable; 32 28 … … 38 34 private List<KeyValuePair<double, double>> oldNormalDistribution; 39 35 40 private NormalDistributionScalingCommand() 41 : base(null, string.Empty, null) { 36 [StorableConstructor] 37 protected NormalDistributionScalingCommand(bool deserializing) 38 : base(deserializing) { 42 39 oldNormalDistribution = new List<KeyValuePair<double, double>>(); 43 40 } -
branches/HeuristicLab.DataImporter/HeuristicLab.DataImporter.Command/ChangeValues/PercentalChangeCommand.cs
r7267 r9614 20 20 #endregion 21 21 22 using System;23 22 using System.Collections.Generic; 24 23 using System.Linq; 25 using System.Text;26 using System.Xml;27 24 using HeuristicLab.DataImporter.Data; 28 25 using HeuristicLab.DataImporter.Data.CommandBase; 29 26 using HeuristicLab.DataImporter.Data.Model; 30 using HeuristicLab.DataImporter.Command.View;31 27 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable; 32 28 … … 38 34 private ICollection<int> oldSortedColumnIndices; 39 35 40 private PercentalChangeCommand() 41 : base(null, string.Empty, null) { 36 [StorableConstructor] 37 protected PercentalChangeCommand(bool deserializing) 38 : base(deserializing) { 42 39 oldColumns = new Dictionary<int, DoubleColumn>(); 43 40 } -
branches/HeuristicLab.DataImporter/HeuristicLab.DataImporter.Command/ChangeValues/ScalingBetweenMinAndMaxCommand.cs
r7267 r9614 20 20 #endregion 21 21 22 using System;23 22 using System.Collections.Generic; 24 using System.Linq; 25 using System.Text; 26 using System.Windows.Forms; 27 using System.Xml; 23 using HeuristicLab.DataImporter.Command.View; 28 24 using HeuristicLab.DataImporter.Data; 29 25 using HeuristicLab.DataImporter.Data.CommandBase; 30 26 using HeuristicLab.DataImporter.Data.Model; 31 using HeuristicLab.DataImporter.Command.View;32 27 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable; 33 28 … … 40 35 private List<double> oldMaxValues; 41 36 42 private ScalingBetweenMinAndMaxCommand() 43 : base(null, string.Empty, null) { 37 [StorableConstructor] 38 protected ScalingBetweenMinAndMaxCommand(bool deserializing) 39 : base(deserializing) { 44 40 oldMinValues = new List<double>(); 45 41 oldMaxValues = new List<double>(); -
branches/HeuristicLab.DataImporter/HeuristicLab.DataImporter.Command/ChangeValues/SearchAndReplaceCommand.cs
r7267 r9614 22 22 using System; 23 23 using System.Collections.Generic; 24 using System.Linq;25 using System.Text;26 24 using System.Drawing; 27 25 using System.Windows.Forms; 28 using System.Xml;26 using HeuristicLab.DataImporter.Command.View; 29 27 using HeuristicLab.DataImporter.Data; 30 28 using HeuristicLab.DataImporter.Data.CommandBase; 31 29 using HeuristicLab.DataImporter.Data.Model; 32 using HeuristicLab.DataImporter.Command.View;33 30 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable; 34 31 … … 42 39 private Dictionary<ColumnBase, SortOrder> oldSortOrder; 43 40 44 private SearchAndReplaceCommand() 45 : base(null, string.Empty, null) { 41 [StorableConstructor] 42 protected SearchAndReplaceCommand(bool deserializing) 43 : base(deserializing) { 46 44 changedCells = new Dictionary<Point, IComparable>(); 47 45 oldSorteColumnIndices = new List<int>(); -
branches/HeuristicLab.DataImporter/HeuristicLab.DataImporter.Command/ChangeValues/SearchCommandBase.cs
r7267 r9614 20 20 #endregion 21 21 22 using System;23 using System.Collections.Generic;24 using System.Linq;25 using System.Text;26 22 using HeuristicLab.DataImporter.Data.CommandBase; 23 using HeuristicLab.DataImporter.Data.Model; 27 24 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable; 28 using HeuristicLab.DataImporter.Data.Model;29 25 30 26 namespace HeuristicLab.DataImporter.Command { 31 27 [StorableClass] 32 28 public abstract class SearchCommandBase : ColumnGroupCommandWithAffectedColumnsBase { 33 private SearchCommandBase() 34 : base(null,string.Empty,null) { 35 } 36 37 public SearchCommandBase(DataSet dataSet, string columnGroupName, int[] affectedColumns) : 29 [StorableConstructor] 30 protected SearchCommandBase(bool deserializing) : base(deserializing) { } 31 protected SearchCommandBase(DataSet dataSet, string columnGroupName, int[] affectedColumns) : 38 32 base(dataSet, columnGroupName, affectedColumns) { 39 33 } 40 34 41 42 43 44 45 46 35 [Storable] 36 private string searchValue; 37 public string SearchValue { 38 get { return this.searchValue; } 39 set { this.searchValue = string.IsNullOrEmpty(value) ? null : value.Trim(); } 40 } 47 41 } 48 42 } -
branches/HeuristicLab.DataImporter/HeuristicLab.DataImporter.Command/ChangeValues/SearchWithMatchOperationCommandBase.cs
r7267 r9614 22 22 using System; 23 23 using System.Collections.Generic; 24 using System.Linq; 25 using System.Text; 24 using System.Drawing; 26 25 using HeuristicLab.DataImporter.Data.CommandBase; 26 using HeuristicLab.DataImporter.Data.Model; 27 27 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable; 28 using HeuristicLab.DataImporter.Data.Model;29 using System.Drawing;30 28 31 29 namespace HeuristicLab.DataImporter.Command { … … 39 37 [StorableClass] 40 38 public abstract class SearchWithMatchOperationCommandBase : SearchCommandBase { 41 private SearchWithMatchOperationCommandBase() 42 : base(null, string.Empty, null) { 43 } 44 45 public SearchWithMatchOperationCommandBase(DataSet dataSet, string columnGroupName, int[] affectedColumns) : 39 [StorableConstructor] 40 protected SearchWithMatchOperationCommandBase(bool deserializing) : base(deserializing) { } 41 protected SearchWithMatchOperationCommandBase(DataSet dataSet, string columnGroupName, int[] affectedColumns) : 46 42 base(dataSet, columnGroupName, affectedColumns) { 47 43 } … … 121 117 break; 122 118 case MatchOperation.Larger: 123 compareFunction = (left, right) => { 119 compareFunction = (left, right) => { 124 120 if (left == null && right == null) return false; 125 121 else if (left != null && right == null) return false; 126 122 else if (left == null && right != null) return false; 127 return left.CompareTo(right) < 0; }; 123 return left.CompareTo(right) < 0; 124 }; 128 125 break; 129 126 default: -
branches/HeuristicLab.DataImporter/HeuristicLab.DataImporter.Command/MissingValues/DeleteColumnsWithMissingValuesThresholdCommand.cs
r8586 r9614 38 38 public double Threshold { get { return threshold; } set { threshold = value; } } 39 39 40 private DeleteColumnsWithMissingValuesThresholdCommand() 41 : base(null, string.Empty, null) { 42 } 40 [StorableConstructor] 41 protected DeleteColumnsWithMissingValuesThresholdCommand(bool deserializing) : base(deserializing) { } 43 42 44 43 public DeleteColumnsWithMissingValuesThresholdCommand(DataSet dataSet, string columnGroupName, int[] affectedColumns) -
branches/HeuristicLab.DataImporter/HeuristicLab.DataImporter.Command/MissingValues/DeleteRowsWithMissingValuesCommand.cs
r7968 r9614 35 35 private ICollection<int> oldSortedColumnIndices; 36 36 37 private DeleteRowsWithMissingValuesCommand() 38 : base(null, string.Empty, null) { 37 [StorableConstructor] 38 protected DeleteRowsWithMissingValuesCommand(bool deserializing) 39 : base(deserializing) { 39 40 oldColumns = new List<ColumnBase>(); 40 41 } -
branches/HeuristicLab.DataImporter/HeuristicLab.DataImporter.Command/MissingValues/DeleteRowsWithMissingValuesThresholdCommand.cs
r8586 r9614 40 40 public double Threshold { get { return threshold; } set { threshold = value; } } 41 41 42 private DeleteRowsWithMissingValuesThresholdCommand() 43 : base(null, string.Empty) { 42 [StorableConstructor] 43 protected DeleteRowsWithMissingValuesThresholdCommand(bool deserializing) 44 : base(deserializing) { 44 45 deletedRows = new Dictionary<int, IComparable[]>(); 45 46 } -
branches/HeuristicLab.DataImporter/HeuristicLab.DataImporter.Command/MissingValues/FillMissingValueCommandBase.cs
r7267 r9614 20 20 #endregion 21 21 22 using System;23 22 using System.Collections.Generic; 24 using System.Linq;25 using System.Text;26 23 using System.Windows.Forms; 27 using HeuristicLab.DataImporter.Data;28 24 using HeuristicLab.DataImporter.Data.CommandBase; 29 25 using HeuristicLab.DataImporter.Data.Model; … … 37 33 protected IEnumerable<SortOrder> oldSortOrder; 38 34 39 private FillMissingValueCommandBase() 40 : base(null, string.Empty, null) { 35 [StorableConstructor] 36 protected FillMissingValueCommandBase(bool deserializing) 37 : base(deserializing) { 41 38 nullValues = new Dictionary<int, List<int>>(); 42 39 } -
branches/HeuristicLab.DataImporter/HeuristicLab.DataImporter.Command/MissingValues/FillMissingValuesWithLinearInterpolation.cs
r7267 r9614 20 20 #endregion 21 21 22 using System;23 22 using System.Collections.Generic; 24 23 using System.Linq; 25 using System.Text;26 24 using System.Windows.Forms; 27 25 using HeuristicLab.DataImporter.Data; … … 35 33 "Handle Missing Values", Position = 2)] 36 34 public class FillMissingValuesWithLinearInterpolation : FillMissingValueCommandBase { 37 private FillMissingValuesWithLinearInterpolation() 38 : base(null, string.Empty, null) { 39 } 40 35 [StorableConstructor] 36 protected FillMissingValuesWithLinearInterpolation(bool deserializing) : base(deserializing) { } 41 37 public FillMissingValuesWithLinearInterpolation(DataSet dataSet, string columnGroupName, int[] affectedColumns) : 42 38 base(dataSet, columnGroupName, affectedColumns) { -
branches/HeuristicLab.DataImporter/HeuristicLab.DataImporter.Command/MissingValues/FillMissingValuesWithMeanCommand.cs
r7267 r9614 20 20 #endregion 21 21 22 using System;23 22 using System.Collections.Generic; 24 23 using System.Linq; 25 using System.Text;26 24 using System.Windows.Forms; 27 25 using HeuristicLab.DataImporter.Data; … … 35 33 "Handle Missing Values", Position = 0)] 36 34 public class FillMissingValuesWithMeanCommand : FillMissingValueCommandBase { 37 private FillMissingValuesWithMeanCommand() 38 : base(null, string.Empty, null) { 39 } 40 35 [StorableConstructor] 36 protected FillMissingValuesWithMeanCommand(bool deserializing) : base(deserializing) { } 41 37 public FillMissingValuesWithMeanCommand(DataSet dataSet, string columnGroupName, int[] affectedColumns) : 42 38 base(dataSet, columnGroupName, affectedColumns) { -
branches/HeuristicLab.DataImporter/HeuristicLab.DataImporter.Command/MissingValues/FillMissingValuesWithMedianCommand.cs
r7267 r9614 20 20 #endregion 21 21 22 using System;23 22 using System.Collections.Generic; 24 23 using System.Linq; 25 using System.Text;26 24 using System.Windows.Forms; 27 25 using HeuristicLab.DataImporter.Data; … … 35 33 "Handle Missing Values", Position = 1)] 36 34 public class FillMissingValuesWithMedianCommand : FillMissingValueCommandBase { 37 private FillMissingValuesWithMedianCommand() 38 : base(null, string.Empty, null) { 39 } 40 35 [StorableConstructor] 36 protected FillMissingValuesWithMedianCommand(bool deserializing) : base(deserializing) { } 41 37 public FillMissingValuesWithMedianCommand(DataSet dataSet, string columnGroupName, int[] affectedColumns) : 42 38 base(dataSet, columnGroupName, affectedColumns) { -
branches/HeuristicLab.DataImporter/HeuristicLab.DataImporter.Command/MissingValues/FillMissingValuesWithPreviousValuesCommand.cs
r7267 r9614 23 23 using System.Collections.Generic; 24 24 using System.Linq; 25 using System.Text;26 25 using System.Windows.Forms; 27 26 using HeuristicLab.DataImporter.Data; … … 34 33 [ViewableCommandInfoAttribute("Previous Value", 1, ColumnGroupState.AnySelectedColumnContainsNull, "Handle Missing Values", Position = 3)] 35 34 public class FillMissingValuesWithPreviousValuesCommand : FillMissingValueCommandBase { 36 private FillMissingValuesWithPreviousValuesCommand() 37 : base(null, string.Empty, null) { 38 } 39 35 [StorableConstructor] 36 protected FillMissingValuesWithPreviousValuesCommand(bool deserializing) : base(deserializing) { } 40 37 public FillMissingValuesWithPreviousValuesCommand(DataSet dataSet, string columnGroupName, int[] affectedColumns) : 41 38 base(dataSet, columnGroupName, affectedColumns) { -
branches/HeuristicLab.DataImporter/HeuristicLab.DataImporter.Command/TimeSeries/ChangeDateTimeColumnToDoubleColumn.cs
r7267 r9614 23 23 using System.Collections.Generic; 24 24 using System.Linq; 25 using System.Text; 25 using System.Windows.Forms; 26 using HeuristicLab.DataImporter.Command.View; 27 using HeuristicLab.DataImporter.Data; 26 28 using HeuristicLab.DataImporter.Data.CommandBase; 27 29 using HeuristicLab.DataImporter.Data.Model; 28 30 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable; 29 using HeuristicLab.DataImporter.Data;30 using HeuristicLab.DataImporter.Command.View;31 using System.Windows.Forms;32 31 33 32 namespace HeuristicLab.DataImporter.Command { … … 42 41 private IEnumerable<SortOrder> oldSortOrder; 43 42 44 private ChangeDateTimeColumnToDoubleColumn() 45 : base(null, string.Empty, null) { 43 [StorableConstructor] 44 protected ChangeDateTimeColumnToDoubleColumn(bool deserializing) 45 : base(deserializing) { 46 46 newColumns = new List<ColumnBase>(); 47 47 oldColumns = new List<ColumnBase>(); -
branches/HeuristicLab.DataImporter/HeuristicLab.DataImporter.Command/TimeSeries/DeleteNotEquidistantRowsCommand.cs
r7267 r9614 23 23 using System.Collections.Generic; 24 24 using System.Linq; 25 using System.Text;26 25 using System.Windows.Forms; 27 using System.Xml; 26 using HeuristicLab.DataImporter.Command.View; 27 using HeuristicLab.DataImporter.Data; 28 28 using HeuristicLab.DataImporter.Data.CommandBase; 29 29 using HeuristicLab.DataImporter.Data.Model; 30 using HeuristicLab.DataImporter.Data;31 using HeuristicLab.DataImporter.Command.View;32 30 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable; 33 31 … … 42 40 private IEnumerable<SortOrder> oldSortOrder; 43 41 44 private DeleteNotEquidistantRowsCommand() 45 : base(null, string.Empty) { 42 [StorableConstructor] 43 protected DeleteNotEquidistantRowsCommand(bool deserializing) 44 : base(deserializing) { 46 45 oldColumns = new List<ColumnBase>(); 47 46 } -
branches/HeuristicLab.DataImporter/HeuristicLab.DataImporter.Command/TimeSeries/EquidistantSamplingCommand.cs
r7267 r9614 23 23 using System.Collections.Generic; 24 24 using System.Linq; 25 using System.Text;26 25 using System.Windows.Forms; 27 using System.Xml; 26 using HeuristicLab.DataImporter.Command.View; 27 using HeuristicLab.DataImporter.Data; 28 28 using HeuristicLab.DataImporter.Data.CommandBase; 29 29 using HeuristicLab.DataImporter.Data.Model; 30 using HeuristicLab.DataImporter.Data;31 using HeuristicLab.DataImporter.Command.View;32 30 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable; 33 31 … … 40 38 private DateTimeColumn columnToSample; 41 39 42 private EquidistantSamplingCommand() 43 : base(null, string.Empty) { 44 } 45 40 [StorableConstructor] 41 protected EquidistantSamplingCommand(bool deserializing) : base(deserializing) { } 46 42 public EquidistantSamplingCommand(DataSet dataSet, string columnGroupName) 47 43 : base(dataSet, columnGroupName) { -
branches/HeuristicLab.DataImporter/HeuristicLab.DataImporter.Command/TimeSeries/EquidistantTimeSeriesCommandBase.cs
r7267 r9614 21 21 22 22 using System; 23 using System.Collections.Generic; 24 using System.Linq; 25 using System.Text; 23 using HeuristicLab.DataImporter.Data; 26 24 using HeuristicLab.DataImporter.Data.CommandBase; 25 using HeuristicLab.DataImporter.Data.Model; 27 26 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable; 28 using HeuristicLab.DataImporter.Data.Model;29 using HeuristicLab.DataImporter.Data;30 27 31 28 namespace HeuristicLab.DataImporter.Command { 32 29 [StorableClass] 33 30 public abstract class EquidistantTimeSeriesCommandBase : ColumnGroupCommandBase { 34 private EquidistantTimeSeriesCommandBase() 35 : base(null, string.Empty) { 36 } 37 31 [StorableConstructor] 32 protected EquidistantTimeSeriesCommandBase(bool deserializing) : base(deserializing) { } 38 33 public EquidistantTimeSeriesCommandBase(DataSet dataSet, string columnGroupName) 39 34 : base(dataSet, columnGroupName) { -
branches/HeuristicLab.DataImporter/HeuristicLab.DataImporter.Command/TimeSeries/InterpolateMissingValues.cs
r7267 r9614 23 23 using System.Collections.Generic; 24 24 using System.Linq; 25 using System.Text;26 25 using System.Windows.Forms; 26 using HeuristicLab.DataImporter.Data; 27 27 using HeuristicLab.DataImporter.Data.CommandBase; 28 28 using HeuristicLab.DataImporter.Data.Model; 29 using HeuristicLab.DataImporter.Data;30 using HeuristicLab.DataImporter.Command.View;31 29 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable; 32 30 … … 39 37 private DateTimeColumn columnToSample; 40 38 41 private InterpolateMissingValues() 42 : base(null, string.Empty, null) { 43 } 44 39 [StorableConstructor] 40 protected InterpolateMissingValues(bool deserializing) : base(deserializing) { } 45 41 public InterpolateMissingValues(DataSet dataSet, string columnGroupName, int[] affectedColumns) 46 42 : base(dataSet, columnGroupName, affectedColumns) { -
branches/HeuristicLab.DataImporter/HeuristicLab.DataImporter.Command/TimeSeries/SetPartOfDateTimeCommand.cs
r7267 r9614 23 23 using System.Collections.Generic; 24 24 using System.Linq; 25 using System.Text;26 25 using System.Windows.Forms; 27 using System.Xml; 26 using HeuristicLab.DataImporter.Command.View; 27 using HeuristicLab.DataImporter.Data; 28 28 using HeuristicLab.DataImporter.Data.CommandBase; 29 29 using HeuristicLab.DataImporter.Data.Model; 30 using HeuristicLab.DataImporter.Data;31 using HeuristicLab.DataImporter.Command.View;32 30 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable; 33 31 … … 41 39 private IEnumerable<SortOrder> oldSortOrder; 42 40 43 private SetPartOfDateTimeCommand() 44 : base(null, string.Empty, null) { 45 } 46 41 [StorableConstructor] 42 protected SetPartOfDateTimeCommand(bool deserializing) : base(deserializing) { } 47 43 public SetPartOfDateTimeCommand(DataSet dataSet, string columnGroupName, int[] affectedColumns) 48 44 : base(dataSet, columnGroupName, affectedColumns) { -
branches/HeuristicLab.DataImporter/HeuristicLab.DataImporter.Data
- Property svn:ignore
-
old new 1 1 bin 2 2 obj 3 *.user
-
- Property svn:ignore
-
branches/HeuristicLab.DataImporter/HeuristicLab.DataImporter.Data/Command/AddRowCommand.cs
r7267 r9614 23 23 using System.Collections.Generic; 24 24 using System.Linq; 25 using System.Text;26 using System.Xml;27 25 using System.Windows.Forms; 28 26 using HeuristicLab.DataImporter.Data.CommandBase; … … 40 38 private IEnumerable<SortOrder> oldSortOrder; 41 39 42 private AddRowCommand() 43 : base(null, string.Empty) { 44 } 40 [StorableConstructor] 41 protected AddRowCommand(bool deserializing) : base(deserializing) { } 45 42 46 43 public AddRowCommand(DataSet dataSet, string columnGroupName, IComparable[] row) -
branches/HeuristicLab.DataImporter/HeuristicLab.DataImporter.Data/Command/ChangeValueCommand.cs
r7267 r9614 23 23 using System.Collections.Generic; 24 24 using System.Linq; 25 using System.Text;26 using System.Xml;27 25 using System.Windows.Forms; 28 26 using HeuristicLab.DataImporter.Data.CommandBase; … … 42 40 private IEnumerable<SortOrder> oldSortOrder; 43 41 44 private ChangeValueCommand() 45 : base(null, string.Empty, -1) { 46 } 42 [StorableConstructor] 43 protected ChangeValueCommand(bool deserializing) : base(deserializing) { } 47 44 48 45 public ChangeValueCommand(DataSet dataSet, string columnGroupName, int columnIndex, int position, IComparable newValue) -
branches/HeuristicLab.DataImporter/HeuristicLab.DataImporter.Data/Command/ChangeValuesToNullCommand.cs
r7267 r9614 22 22 using System; 23 23 using System.Collections.Generic; 24 using System.Drawing; 24 25 using System.Linq; 25 using System.Text;26 using System.Drawing;27 using System.Xml;28 26 using System.Windows.Forms; 29 27 using HeuristicLab.DataImporter.Data.CommandBase; … … 40 38 private IEnumerable<SortOrder> oldSortOrder; 41 39 42 private ChangeValuesToNullCommand() 43 : base(null, string.Empty) { 44 } 40 [StorableConstructor] 41 protected ChangeValuesToNullCommand(bool deserializing) : base(deserializing) { } 45 42 46 43 public ChangeValuesToNullCommand(DataSet dataSet, string columnGroupName, IEnumerable<Point> cellIndexes) -
branches/HeuristicLab.DataImporter/HeuristicLab.DataImporter.Data/Command/DeleteColumnCommand.cs
r8387 r9614 33 33 private List<int> oldSortedColumnIndices; 34 34 35 private DeleteColumnCommand() 36 : base(null, string.Empty, null) { 35 [StorableConstructor] 36 protected DeleteColumnCommand(bool deserializing) 37 : base(deserializing) { 37 38 deletedColumns = new List<ColumnBase>(); 38 39 } -
branches/HeuristicLab.DataImporter/HeuristicLab.DataImporter.Data/Command/DeleteRowsCommand.cs
r7267 r9614 23 23 using System.Collections.Generic; 24 24 using System.Linq; 25 using System.Text;26 using System.Xml;27 25 using HeuristicLab.DataImporter.Data.CommandBase; 28 26 using HeuristicLab.DataImporter.Data.Model; … … 37 35 private List<IComparable[]> oldrows; 38 36 39 private DeleteRowsCommand() 40 : base(null, string.Empty) { 41 this.oldrows = new List<IComparable[]>(); 42 } 37 [StorableConstructor] 38 protected DeleteRowsCommand(bool deserializing) : base(deserializing) { } 43 39 44 40 public DeleteRowsCommand(DataSet dataSet, string columnGroupName, IEnumerable<int> rowIndexes) -
branches/HeuristicLab.DataImporter/HeuristicLab.DataImporter.Data/Command/InsertRowCommand.cs
r7267 r9614 20 20 #endregion 21 21 22 using System;23 22 using System.Collections.Generic; 24 23 using System.Linq; 25 using System.Text;26 using System.Xml;27 24 using System.Windows.Forms; 28 25 using HeuristicLab.DataImporter.Data.CommandBase; … … 39 36 private IEnumerable<SortOrder> oldSortOrder; 40 37 41 private InsertRowCommand() 42 : base(null, string.Empty) { 43 } 38 [StorableConstructor] 39 protected InsertRowCommand(bool deserializing) : base(deserializing) { } 44 40 45 41 public InsertRowCommand(DataSet dataSet, string columnGroupName, int position) -
branches/HeuristicLab.DataImporter/HeuristicLab.DataImporter.Data/Command/PasteValuesCommand.cs
r7267 r9614 23 23 using System.Collections.Generic; 24 24 using System.Linq; 25 using System.Text;26 using System.Globalization;27 using System.Xml;28 25 using System.Windows.Forms; 29 26 using HeuristicLab.DataImporter.Data.CommandBase; … … 46 43 private IEnumerable<SortOrder> oldSortOrder; 47 44 48 private PasteValuesCommand() 49 : base(null, string.Empty) { 50 } 45 [StorableConstructor] 46 protected PasteValuesCommand(bool deserializing) : base(deserializing) { } 51 47 52 48 public PasteValuesCommand(DataSet dataSet, string columnGroupName, int columnIndex, int rowIndex, string values) -
branches/HeuristicLab.DataImporter/HeuristicLab.DataImporter.Data/Command/RenameColumnCommand.cs
r7267 r9614 20 20 #endregion 21 21 22 using System; 23 using System.Collections.Generic; 24 using System.Linq; 25 using System.Text; 26 using System.Xml; 22 using HeuristicLab.DataImporter.Data.CommandBase; 27 23 using HeuristicLab.DataImporter.Data.Model; 28 using HeuristicLab.DataImporter.Data.CommandBase;29 24 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable; 30 25 … … 37 32 private string oldName; 38 33 39 private RenameColumnCommand() 40 : base(null, string.Empty, -1) { 41 } 34 [StorableConstructor] 35 protected RenameColumnCommand(bool deserializing) : base(deserializing) { } 42 36 43 37 public RenameColumnCommand(DataSet dataSet, string columnGroupName, int columnIndex, string newName) -
branches/HeuristicLab.DataImporter/HeuristicLab.DataImporter.Data/Command/RenameColumnGroupCommand.cs
r7267 r9614 20 20 #endregion 21 21 22 using System;23 using System.Collections.Generic;24 22 using System.Linq; 25 using System.Text; 26 using System.Xml; 23 using HeuristicLab.DataImporter.Data.CommandBase; 27 24 using HeuristicLab.DataImporter.Data.Model; 28 using HeuristicLab.DataImporter.Data.CommandBase;29 25 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable; 30 26 … … 37 33 private string oldName; 38 34 39 private RenameColumnGroupCommand() 40 : base(null, string.Empty) { 41 } 35 [StorableConstructor] 36 protected RenameColumnGroupCommand(bool deserializing) : base(deserializing) { } 42 37 43 38 public RenameColumnGroupCommand(DataSet dataSet, string columnGroupName, string newName) -
branches/HeuristicLab.DataImporter/HeuristicLab.DataImporter.Data/Command/SortCommand.cs
r7267 r9614 23 23 using System.Collections.Generic; 24 24 using System.Linq; 25 using System.Text;26 25 using System.Windows.Forms; 27 using System.Xml;28 26 using HeuristicLab.DataImporter.Data.CommandBase; 29 27 using HeuristicLab.DataImporter.Data.Model; … … 41 39 private int[] indices; 42 40 43 private SortCommand() 44 : base(null, string.Empty) { 45 } 41 [StorableConstructor] 42 protected SortCommand(bool deserializing) : base(deserializing) { } 46 43 47 44 public SortCommand(DataSet dataSet, string columnGroupName, int sortColumnIndex) : -
branches/HeuristicLab.DataImporter/HeuristicLab.DataImporter.Data/CommandBase/ColumnCommandBase.cs
r7267 r9614 34 34 private int columnIndex; 35 35 36 private ColumnCommandBase() 37 : base(null, string.Empty) { 38 } 36 [StorableConstructor] 37 protected ColumnCommandBase(bool deserializing) : base(deserializing) { } 39 38 40 39 protected ColumnCommandBase(DataSet dataSet, string columnGroupName, int columnIndex) -
branches/HeuristicLab.DataImporter/HeuristicLab.DataImporter.Data/CommandBase/ColumnGroupCommandBase.cs
r8387 r9614 27 27 [StorableClass] 28 28 public abstract class ColumnGroupCommandBase : DataSetCommandBase { 29 private ColumnGroupCommandBase() 30 : base(null) { 31 } 29 [StorableConstructor] 30 protected ColumnGroupCommandBase(bool deserializing) : base(deserializing) { } 32 31 33 32 protected ColumnGroupCommandBase(DataSet dataSet, string columnGroupName) -
branches/HeuristicLab.DataImporter/HeuristicLab.DataImporter.Data/CommandBase/ColumnGroupCommandWithAffectedColumnsBase.cs
r7267 r9614 20 20 #endregion 21 21 22 using System;23 using System.Collections.Generic;24 using System.Linq;25 using System.Text;26 using System.Xml;27 22 using HeuristicLab.DataImporter.Data.Model; 28 23 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable; … … 31 26 [StorableClass] 32 27 public abstract class ColumnGroupCommandWithAffectedColumnsBase : ColumnGroupCommandBase { 33 private ColumnGroupCommandWithAffectedColumnsBase() 34 : base(null,string.Empty) { 35 } 28 [StorableConstructor] 29 protected ColumnGroupCommandWithAffectedColumnsBase(bool deserializing) : base(deserializing) { } 36 30 37 31 protected ColumnGroupCommandWithAffectedColumnsBase(DataSet dataSet, string columnGroupName, int[] affectedColumns) -
branches/HeuristicLab.DataImporter/HeuristicLab.DataImporter.Data/CommandBase/CommandBase.cs
r7267 r9614 20 20 #endregion 21 21 22 using System;23 using System.Collections.Generic;24 using System.Linq;25 using System.Text;26 22 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable; 27 23 … … 29 25 [StorableClass] 30 26 public abstract class CommandBase : ICommand { 27 [StorableConstructor] 28 protected CommandBase(bool deserializing) : base() { } 31 29 protected CommandBase() { } 32 30 -
branches/HeuristicLab.DataImporter/HeuristicLab.DataImporter.Data/CommandBase/DataSetCommandBase.cs
r7267 r9614 20 20 #endregion 21 21 22 using System;23 using System.Collections.Generic;24 using System.Linq;25 using System.Text;26 22 using HeuristicLab.DataImporter.Data.Model; 27 23 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable; … … 30 26 [StorableClass] 31 27 public abstract class DataSetCommandBase : CommandBase { 32 private DataSetCommandBase() {33 }28 [StorableConstructor] 29 protected DataSetCommandBase(bool deserializing) : base(deserializing) { } 34 30 35 31 protected DataSetCommandBase(DataSet dataSet) { -
branches/HeuristicLab.DataImporter/HeuristicLab.DataImporter.Data/CommandBase/DataSetCommandWithAffectedColumnGroupsBase.cs
r7267 r9614 20 20 #endregion 21 21 22 using System;23 22 using System.Collections.Generic; 24 using System.Linq;25 using System.Text;26 using System.Xml;27 23 using HeuristicLab.DataImporter.Data.Model; 28 24 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable; … … 31 27 [StorableClass] 32 28 public abstract class DataSetCommandWithAffectedColumnGroupsBase : DataSetCommandBase { 33 private DataSetCommandWithAffectedColumnGroupsBase() 34 : base(null) { 35 } 36 29 [StorableConstructor] 30 protected DataSetCommandWithAffectedColumnGroupsBase(bool deserializing) : base(deserializing) { } 37 31 protected DataSetCommandWithAffectedColumnGroupsBase(DataSet dataSet, List<string> affectedColumnGroupNames) 38 32 : base(dataSet) { -
branches/HeuristicLab.DataImporter/HeuristicLab.DataImporter.Data/CommandChain.cs
r7267 r9614 22 22 using System; 23 23 using System.Collections.Generic; 24 using System.Linq;25 using System.Text;26 using System.Xml;27 24 using HeuristicLab.DataImporter.Data.CommandBase; 28 25 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable; … … 61 58 } 62 59 60 [StorableConstructor] 61 protected CommandChain(bool deserializing) 62 : base() { 63 this.commands = new LinkedList<ICommand>(); 64 } 63 65 public CommandChain() { 64 66 this.commands = new LinkedList<ICommand>(); -
branches/HeuristicLab.DataImporter/HeuristicLab.DataImporter.Data/DateTimeSpan.cs
r7267 r9614 21 21 22 22 using System; 23 using System.Collections.Generic;24 using System.Xml;25 23 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable; 26 24 … … 28 26 [StorableClass] 29 27 public class DateTimeSpan : ICloneable { 28 public DateTimeSpan() : base() { } 29 [StorableConstructor] 30 protected DateTimeSpan(bool deserializing) : base() { } 31 30 32 [Storable] 31 33 public int Seconds { get; set; } -
branches/HeuristicLab.DataImporter/HeuristicLab.DataImporter.Data/Model/ColumnBase.cs
r8387 r9614 28 28 [StorableClass] 29 29 public abstract class ColumnBase { 30 private ColumnBase() {31 }30 [StorableConstructor] 31 protected ColumnBase(bool deserializing) : base() { } 32 32 33 33 protected ColumnBase(string name) 34 : this() {34 : base() { 35 35 this.sortOrder = SortOrder.None; 36 36 this.name = name; 37 37 } 38 38 39 private Type dataType; 40 public Type DataType { 41 get { return dataType; } 42 protected set { this.dataType = value; } 43 } 39 public abstract Type DataType { get; } 44 40 45 41 [Storable] -
branches/HeuristicLab.DataImporter/HeuristicLab.DataImporter.Data/Model/ColumnGroup.cs
r7968 r9614 29 29 [StorableClass] 30 30 public class ColumnGroup { 31 31 [StorableConstructor] 32 protected ColumnGroup(bool deserializing) : base() { } 32 33 public ColumnGroup() 33 34 : base() { -
branches/HeuristicLab.DataImporter/HeuristicLab.DataImporter.Data/Model/DataSet.cs
r7267 r9614 23 23 using System.Collections.Generic; 24 24 using System.Linq; 25 using System.Text;26 using System.Xml;27 using HeuristicLab.DataImporter.Data.View;28 25 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable; 29 26 … … 37 34 get { return this.columnGroups; } 38 35 } 39 36 [StorableConstructor] 37 protected DataSet(bool deserializing) : base() { } 40 38 public DataSet() { 41 39 this.columnGroups = new List<ColumnGroup>(); -
branches/HeuristicLab.DataImporter/HeuristicLab.DataImporter.Data/Model/DateTimeColumn.cs
r7267 r9614 22 22 using System; 23 23 using System.Collections.Generic; 24 using System.Linq;25 using System.Text;26 using System.Xml;27 24 using System.Globalization; 28 25 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable; … … 34 31 private List<DateTime?> values; 35 32 36 private DateTimeColumn() : base(string.Empty) { 37 this.DataType = typeof(DateTime?); 38 } 33 [StorableConstructor] 34 protected DateTimeColumn(bool deserializing) : base(deserializing) { } 39 35 40 36 public DateTimeColumn(string columnName) 41 37 : base(columnName) { 42 this.DataType = typeof(DateTime?);43 38 this.values = new List<DateTime?>(); 44 39 } … … 47 42 : this(columnName) { 48 43 this.values.Capacity = capacity; 44 } 45 46 public override Type DataType { 47 get { return typeof(DateTime?); } 49 48 } 50 49 -
branches/HeuristicLab.DataImporter/HeuristicLab.DataImporter.Data/Model/DoubleColumn.cs
r7267 r9614 21 21 22 22 using System; 23 using System.Collections; 23 24 using System.Collections.Generic; 24 using System. Collections;25 using System.Globalization; 25 26 using System.Linq; 26 using System.Text;27 using System.Xml;28 using System.Globalization;29 27 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable; 30 28 … … 35 33 private List<double?> values; 36 34 37 private DoubleColumn() :base(string.Empty) { 38 this.DataType = typeof(double?); 39 } 35 [StorableConstructor] 36 protected DoubleColumn(bool deserializing) : base(deserializing) { } 40 37 41 38 public DoubleColumn(string columnName) 42 39 : base(columnName) { 43 this.DataType = typeof(double?);44 40 this.values = new List<double?>(); 45 41 } … … 48 44 : this(columnName) { 49 45 this.values.Capacity = capacity; 46 } 47 48 public override Type DataType { 49 get { return typeof(double?); } 50 50 } 51 51 -
branches/HeuristicLab.DataImporter/HeuristicLab.DataImporter.Data/Model/ProgrammableColumn.cs
r7267 r9614 21 21 22 22 using System; 23 using System.Collections.Generic;24 23 using System.Collections; 25 24 using System.Linq; 26 using System.Text;27 using System.Xml;28 using System.Globalization;29 25 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable; 30 26 … … 36 32 private int myIndexInColumnGroup; 37 33 38 private ProgrammableColumn() 39 : base(string.Empty) { 40 this.DataType = typeof(double?); 41 } 34 [StorableConstructor] 35 protected ProgrammableColumn(bool deserializing) : base(deserializing) { } 42 36 43 37 public ProgrammableColumn(string columnName, ColumnGroup columnGroup) 44 38 : base(columnName) { 45 this.DataType = typeof(double?);46 39 this.ColumnGroup = columnGroup; 47 40 Expression = string.Empty; 41 } 42 43 public override Type DataType { 44 get { return typeof(double?); } 48 45 } 49 46 -
branches/HeuristicLab.DataImporter/HeuristicLab.DataImporter.Data/Model/StringColumn.cs
r7267 r9614 21 21 22 22 using System; 23 using System.Collections; 23 24 using System.Collections.Generic; 24 using System.Collections;25 using System.Linq;26 using System.Text;27 using System.Xml;28 using System.Globalization;29 25 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable; 30 26 … … 35 31 private List<string> values; 36 32 37 private StringColumn() :base(string.Empty) { 38 this.DataType = typeof(string); 39 } 33 [StorableConstructor] 34 protected StringColumn(bool deserializing) : base(deserializing) { } 40 35 41 36 public StringColumn(string columnName) 42 37 : base(columnName) { 43 this.DataType = typeof(string);44 38 this.values = new List<string>(); 45 39 } … … 48 42 : this(columnName) { 49 43 this.values.Capacity = capacity; 44 } 45 46 public override Type DataType { 47 get { return typeof(string); } 50 48 } 51 49 -
branches/HeuristicLab.DataImporter/HeuristicLab.DataImporter.DataProcessor/Command/DataBaseCommandBase.cs
r7267 r9614 1 using System; 2 using System.Collections.Generic; 3 using System.Linq; 4 using System.Text; 1 #region License Information 2 /* HeuristicLab 3 * Copyright (C) 2002-2013 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 * 5 * This file is part of HeuristicLab. 6 * 7 * HeuristicLab is free software: you can redistribute it and/or modify 8 * it under the terms of the GNU General Public License as published by 9 * the Free Software Foundation, either version 3 of the License, or 10 * (at your option) any later version. 11 * 12 * HeuristicLab is distributed in the hope that it will be useful, 13 * but WITHOUT ANY WARRANTY; without even the implied warranty of 14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 15 * GNU General Public License for more details. 16 * 17 * You should have received a copy of the GNU General Public License 18 * along with HeuristicLab. If not, see <http://www.gnu.org/licenses/>. 19 */ 20 #endregion 21 22 using HeuristicLab.DataImporter.Data.CommandBase; 5 23 using HeuristicLab.DataImporter.Data.Model; 6 using HeuristicLab.DataImporter.Data.CommandBase;7 24 using HeuristicLab.DataImporter.DbExplorer.Interfaces; 8 25 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable; … … 11 28 [StorableClass] 12 29 public abstract class DatabaseCommandBase : DataSetCommandBase { 13 private DatabaseCommandBase() 14 : base(null) { 15 } 16 30 [StorableConstructor] 31 protected DatabaseCommandBase(bool deserializing) : base(deserializing) { } 17 32 protected DatabaseCommandBase(DataSet dataSet, IDbExplorer dbExplorer) 18 33 : base(dataSet) { -
branches/HeuristicLab.DataImporter/HeuristicLab.DataImporter.DataProcessor/Command/LoadColumnGroupWithSqlStringFromDBCommand.cs
r7267 r9614 20 20 #endregion 21 21 22 using System; 23 using System.Collections.Generic; 24 using System.Linq; 25 using System.Text; 26 using System.Xml; 22 using HeuristicLab.DataImporter.Data.CommandBase; 27 23 using HeuristicLab.DataImporter.Data.Model; 28 using HeuristicLab.DataImporter.Data.CommandBase;29 24 using HeuristicLab.DataImporter.DbExplorer.Interfaces; 30 25 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable; … … 38 33 private ColumnGroup newColumnGroup; 39 34 40 private LoadColumnGroupWithSqlStringFromDBCommand() 41 : base(null, null) { 42 } 43 35 [StorableConstructor] 36 protected LoadColumnGroupWithSqlStringFromDBCommand(bool deserializing) : base(deserializing) { } 44 37 public LoadColumnGroupWithSqlStringFromDBCommand(DataSet dataSet, IDbExplorer dbExplorer, string sqlString) 45 38 : base(dataSet, dbExplorer) { -
branches/HeuristicLab.DataImporter/HeuristicLab.DataImporter.DataProcessor/Command/LoadColumnGroupsFromDBCommand.cs
r7267 r9614 20 20 #endregion 21 21 22 using System;23 22 using System.Collections.Generic; 24 using System.Linq; 25 using System.Text; 26 using System.Xml; 23 using HeuristicLab.DataImporter.Data.CommandBase; 27 24 using HeuristicLab.DataImporter.Data.Model; 28 using HeuristicLab.DataImporter.Data.CommandBase;29 25 using HeuristicLab.DataImporter.DbExplorer.Interfaces; 30 26 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable; … … 38 34 private List<ColumnGroup> newColumnGroups; 39 35 40 private LoadColumnGroupsFromDBCommand() 41 : base(null, null) { 36 [StorableConstructor] 37 protected LoadColumnGroupsFromDBCommand(bool deserializing) 38 : base(deserializing) { 42 39 this.newColumnGroups = new List<ColumnGroup>(); 43 40 } -
branches/HeuristicLab.DataImporter/HeuristicLab.DataImporter.DataProcessor/Command/ReorderColumnsCommand.cs
r7267 r9614 20 20 #endregion 21 21 22 using System;23 22 using System.Collections.Generic; 24 23 using System.Linq; 25 using System.Text;26 using System.Xml;27 24 using HeuristicLab.DataImporter.Data.CommandBase; 28 25 using HeuristicLab.DataImporter.Data.Model; … … 35 32 private Dictionary<string, int[]> displayedIndexes; 36 33 37 private ReorderColumnsCommand() 38 : base(null) { 39 } 40 34 [StorableConstructor] 35 protected ReorderColumnsCommand(bool deserializing) : base(deserializing) { } 41 36 public ReorderColumnsCommand(DataSet ds, Dictionary<string, int[]> displayedIndexes) 42 37 : base(ds) { -
branches/HeuristicLab.DataImporter/HeuristicLab.DataImporter.DataProcessor/DataProcessor.cs
r7267 r9614 20 20 #endregion 21 21 22 using System;23 using System.Collections.Generic;24 using System.Linq;25 using System.Text;26 using System.Xml;27 using HeuristicLab.DataImporter.DbExplorer.Interfaces;28 22 using HeuristicLab.DataImporter.Data; 29 23 using HeuristicLab.DataImporter.Data.Model; 24 using HeuristicLab.DataImporter.DbExplorer.Interfaces; 30 25 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable; 31 26 32 27 namespace HeuristicLab.DataImporter.DataProcessor { 33 28 [StorableClass] 34 public class DataProcessor {29 public class DataProcessor { 35 30 public DataProcessor() { 36 31 this.commandChain = new CommandChain(); 37 32 this.dataSet = new DataSet(); 33 } 34 [StorableConstructor] 35 protected DataProcessor(bool deserializing) 36 : base() { 37 this.commandChain = new CommandChain(); 38 38 } 39 39 -
branches/HeuristicLab.DataImporter/HeuristicLab.DataImporter.DataProcessor/Plugin.cs.frame
r8626 r9614 31 31 [PluginFile("HeuristicLab.DataImporter.DataProcessor-1.0.dll", PluginFileType.Assembly)] 32 32 [PluginFile("HeuristicLab.DataImporter.DbExplorer.Interfaces-1.0.dll", PluginFileType.Assembly)] 33 [PluginDependency("HeuristicLab.ALGLIB","3.6")]34 33 [PluginDependency("HeuristicLab.Common.Resources","3.3")] 34 [PluginDependency("HeuristicLab.Problems.DataAnalysis","3.4")] 35 35 [PluginDependency("HeuristicLab.Persistence","3.3")] 36 36 public class HeuristicLabDataImporterDataProcessorPlugin : PluginBase { -
branches/HeuristicLab.DataImporter/HeuristicLab.DataImporter.DbExplorer.Interfaces/DbColumn.cs
r7267 r9614 20 20 #endregion 21 21 22 using System;23 using System.Collections.Generic;24 using System.Linq;25 using System.Text;26 using System.Xml;27 22 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable; 28 23 … … 30 25 [StorableClass] 31 26 public class DbColumn { 32 private DbColumn() 33 : base() { 34 } 27 [StorableConstructor] 28 protected DbColumn(bool deserializing) : base() { } 35 29 36 30 public DbColumn(string columnName, string sqlDataType) { -
branches/HeuristicLab.DataImporter/HeuristicLab.DataImporter.DbExplorer.Interfaces/DbTable.cs
r7267 r9614 23 23 using System.Collections.Generic; 24 24 using System.Linq; 25 using System.Text;26 using System.Xml;27 25 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable; 28 26 … … 30 28 [StorableClass] 31 29 public class DbTable { 32 private DbTable() 30 [StorableConstructor] 31 protected DbTable(bool deserializing) 33 32 : base() { 34 this.columns = new List<DbColumn>();35 33 this.informationLoaded = new DateTime(1990, 1, 1); 36 34 } 37 35 38 36 public DbTable(string ownerName, string tableName) 39 : this() { 37 : base() { 38 this.informationLoaded = new DateTime(1990, 1, 1); 39 this.columns = new List<DbColumn>(); 40 40 this.ownerName = ownerName; 41 41 this.tableName = tableName;
Note: See TracChangeset
for help on using the changeset viewer.