Changeset 9614 for branches/HeuristicLab.DataImporter/HeuristicLab.DataImporter.Command/ChangeColumnGroup
- Timestamp:
- 06/12/13 13:32:34 (12 years ago)
- Location:
- branches/HeuristicLab.DataImporter/HeuristicLab.DataImporter.Command/ChangeColumnGroup
- Files:
-
- 12 edited
Legend:
- Unmodified
- Added
- Removed
-
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)
Note: See TracChangeset
for help on using the changeset viewer.