Changeset 7992
- Timestamp:
- 06/12/12 15:13:03 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HeuristicLab.DataImporter/HeuristicLab.DataImporter.Command/ChangeDataset/DeleteColumnGroupCommand.cs
r7267 r7992 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 HeuristicLab.DataImporter.Data; 27 24 using HeuristicLab.DataImporter.Data.CommandBase; … … 31 28 namespace HeuristicLab.DataImporter.Command { 32 29 [StorableClass] 33 [ViewableCommandInfoAttribute("Delete ColumnGroup", 1, ColumnGroupState.Active, "ColumnGroup Commands", Position = 1 )]30 [ViewableCommandInfoAttribute("Delete ColumnGroup", 1, ColumnGroupState.Active, "ColumnGroup Commands", Position = 1, MinActiveColumnGroups = 1)] 34 31 public class DeleteColumnGroupCommand : DataSetCommandWithAffectedColumnGroupsBase { 35 32 private List<KeyValuePair<int, ColumnGroup>> deletedColumnGroups; … … 62 59 public override void UndoExecute() { 63 60 base.UndoExecute(); 61 deletedColumnGroups.Reverse(); 64 62 for (int i = 0; i < deletedColumnGroups.Count; i++) 65 63 this.DataSet.InsertColumnGroup(deletedColumnGroups[i].Key, deletedColumnGroups[i].Value);
Note: See TracChangeset
for help on using the changeset viewer.