Changeset 10904
- Timestamp:
- 05/28/14 14:35:48 (10 years ago)
- Location:
- branches/DataPreprocessing/HeuristicLab.DataPreprocessing.Views/3.3
- Files:
-
- 3 edited
- 2 moved
Legend:
- Unmodified
- Added
- Removed
-
branches/DataPreprocessing/HeuristicLab.DataPreprocessing.Views/3.3/DataPreprocessingView.cs
r10882 r10904 53 53 var dataCompletenessLogic = new ChartLogic(data); 54 54 55 var viewShortcuts = new Item Collection<IViewShortcut> {55 var viewShortcuts = new ItemList<IViewShortcut> { 56 56 new DataGridContent(dataGridLogic, manipulationLogic, filterLogic), 57 57 new StatisticsContent(statisticsLogic), … … 66 66 }; 67 67 68 viewShortcut CollectionView.Content = viewShortcuts.AsReadOnly();68 viewShortcutListView.Content = viewShortcuts.AsReadOnly(); 69 69 70 viewShortcut CollectionView.ItemsListView.Items[0].Selected = true;71 viewShortcut CollectionView.Select();70 viewShortcutListView.ItemsListView.Items[0].Selected = true; 71 viewShortcutListView.Select(); 72 72 73 73 } else { 74 viewShortcut CollectionView.Content = null;74 viewShortcutListView.Content = null; 75 75 } 76 76 } … … 78 78 protected override void SetEnabledStateOfControls() { 79 79 base.SetEnabledStateOfControls(); 80 viewShortcut CollectionView.Enabled = Content != null;80 viewShortcutListView.Enabled = Content != null; 81 81 applyInNewTabButton.Enabled = Content != null; 82 82 exportProblemButton.Enabled = Content != null; -
branches/DataPreprocessing/HeuristicLab.DataPreprocessing.Views/3.3/DataPreprocessingView.designer.cs
r10625 r10904 51 51 this.exportProblemButton = new System.Windows.Forms.Button(); 52 52 this.toolTip = new System.Windows.Forms.ToolTip(this.components); 53 this.viewShortcut CollectionView = new HeuristicLab.DataPreprocessing.Views.ViewShortcutCollectionView();53 this.viewShortcutListView = new HeuristicLab.DataPreprocessing.Views.ViewShortcutListView(); 54 54 this.SuspendLayout(); 55 55 // … … 87 87 this.exportProblemButton.Click += new System.EventHandler(this.exportProblemButton_Click); 88 88 // 89 // viewShortcutCollectionView89 // ViewShortcutListView 90 90 // 91 this.viewShortcut CollectionView.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)91 this.viewShortcutListView.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) 92 92 | System.Windows.Forms.AnchorStyles.Left) 93 93 | System.Windows.Forms.AnchorStyles.Right))); 94 this.viewShortcutCollectionView.Caption = "ViewShortcutCollection View"; 95 this.viewShortcutCollectionView.Content = null; 96 this.viewShortcutCollectionView.Location = new System.Drawing.Point(4, 33); 97 this.viewShortcutCollectionView.Name = "viewShortcutCollectionView"; 98 this.viewShortcutCollectionView.ReadOnly = false; 99 this.viewShortcutCollectionView.ShowDetails = true; 100 this.viewShortcutCollectionView.Size = new System.Drawing.Size(831, 413); 101 this.viewShortcutCollectionView.TabIndex = 4; 94 this.viewShortcutListView.Caption = "ViewShortcutCollection View"; 95 this.viewShortcutListView.Content = null; 96 this.viewShortcutListView.Location = new System.Drawing.Point(4, 33); 97 this.viewShortcutListView.Name = "viewShortcutListView"; 98 this.viewShortcutListView.ReadOnly = false; 99 this.viewShortcutListView.Size = new System.Drawing.Size(831, 413); 100 this.viewShortcutListView.TabIndex = 4; 102 101 // 103 102 // DataPreprocessingView … … 105 104 this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); 106 105 this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; 107 this.Controls.Add(this.viewShortcut CollectionView);106 this.Controls.Add(this.viewShortcutListView); 108 107 this.Controls.Add(this.undoButton); 109 108 this.Controls.Add(this.applyInNewTabButton); … … 121 120 private System.Windows.Forms.Button undoButton; 122 121 private System.Windows.Forms.ToolTip toolTip; 123 private ViewShortcut CollectionView viewShortcutCollectionView;122 private ViewShortcutListView viewShortcutListView; 124 123 125 124 } -
branches/DataPreprocessing/HeuristicLab.DataPreprocessing.Views/3.3/HeuristicLab.DataPreprocessing.Views-3.3.csproj
r10902 r10904 183 183 <Compile Include="Utils\FindPreprocessingItemsIterator.cs" /> 184 184 <Compile Include="Utils\IFindPreprocessingItemsIterator.cs" /> 185 <Compile Include="ViewShortcut CollectionView.cs">186 <SubType>UserControl</SubType> 187 </Compile> 188 <Compile Include="ViewShortcut CollectionView.Designer.cs">189 <DependentUpon>ViewShortcut CollectionView.cs</DependentUpon>185 <Compile Include="ViewShortcutListView.cs"> 186 <SubType>UserControl</SubType> 187 </Compile> 188 <Compile Include="ViewShortcutListView.Designer.cs"> 189 <DependentUpon>ViewShortcutListView.cs</DependentUpon> 190 190 </Compile> 191 191 </ItemGroup> -
branches/DataPreprocessing/HeuristicLab.DataPreprocessing.Views/3.3/ViewShortcutListView.Designer.cs
r10901 r10904 22 22 23 23 namespace HeuristicLab.DataPreprocessing.Views { 24 partial class ViewShortcut CollectionView {24 partial class ViewShortcutListView { 25 25 /// <summary> 26 26 /// Required designer variable. … … 48 48 this.SuspendLayout(); 49 49 // 50 // ViewShortcut CollectionView50 // ViewShortcutListView 51 51 // 52 52 this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); 53 this.Name = "ViewShortcut CollectionView";53 this.Name = "ViewShortcutListView"; 54 54 this.Size = new System.Drawing.Size(532, 383); 55 55 this.ResumeLayout(false); -
branches/DataPreprocessing/HeuristicLab.DataPreprocessing.Views/3.3/ViewShortcutListView.cs
r10901 r10904 20 20 #endregion 21 21 22 23 22 using HeuristicLab.Core; 24 23 using HeuristicLab.Core.Views; … … 27 26 namespace HeuristicLab.DataPreprocessing.Views { 28 27 [View("ViewShortcutCollection View")] 29 [Content(typeof(IItem Collection<IViewShortcut>), true)]30 public partial class ViewShortcut CollectionView : ItemCollectionView<IViewShortcut> {28 [Content(typeof(IItemList<IViewShortcut>), true)] 29 public partial class ViewShortcutListView : ItemListView<IViewShortcut> { 31 30 32 public ViewShortcut CollectionView() {31 public ViewShortcutListView() { 33 32 InitializeComponent(); 34 33 itemsGroupBox.Text = "View Shortcuts";
Note: See TracChangeset
for help on using the changeset viewer.