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