Changeset 10313
- Timestamp:
- 01/08/14 16:24:17 (11 years ago)
- Location:
- branches/DataPreprocessing/HeuristicLab.DataPreprocessing/3.3
- Files:
-
- 1 added
- 10 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/DataPreprocessing/HeuristicLab.DataPreprocessing/3.3/HeuristicLab.DataPreprocessing-3.3.csproj
r10311 r10313 95 95 <Compile Include="Interfaces\ITransformationLogic.cs" /> 96 96 <Compile Include="PreprocessingCloner.cs" /> 97 <Compile Include="Properties\Resources.Designer.cs"> 98 <AutoGen>True</AutoGen> 99 <DesignTime>True</DesignTime> 100 <DependentUpon>Resources.resx</DependentUpon> 101 </Compile> 97 102 <Compile Include="Views\FilterView.cs"> 98 103 <SubType>UserControl</SubType> … … 219 224 </ProjectReference> 220 225 </ItemGroup> 226 <ItemGroup> 227 <EmbeddedResource Include="Properties\Resources.resx"> 228 <Generator>ResXFileCodeGenerator</Generator> 229 <LastGenOutput>Resources.Designer.cs</LastGenOutput> 230 </EmbeddedResource> 231 <EmbeddedResource Include="Views\DataPreprocessingView.resx"> 232 <DependentUpon>DataPreprocessingView.cs</DependentUpon> 233 </EmbeddedResource> 234 <EmbeddedResource Include="Views\StatisticsView.resx"> 235 <DependentUpon>StatisticsView.cs</DependentUpon> 236 </EmbeddedResource> 237 </ItemGroup> 221 238 <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" /> 222 239 <PropertyGroup> -
branches/DataPreprocessing/HeuristicLab.DataPreprocessing/3.3/Implementations/DataGridContent.cs
r10312 r10313 7 7 namespace HeuristicLab.DataPreprocessing { 8 8 9 [Item("DataGrid Content", "Represents a data grid.")]9 [Item("DataGrid", "Represents a data grid.")] 10 10 public class DataGridContent : Item, IDataGridContent, IContent { 11 11 -
branches/DataPreprocessing/HeuristicLab.DataPreprocessing/3.3/Implementations/FilterContent.cs
r10303 r10313 9 9 namespace HeuristicLab.DataPreprocessing 10 10 { 11 [Item("Filter Content", "Represents the filter grid.")]11 [Item("Filter", "Represents the filter grid.")] 12 12 public class FilterContent : Item 13 13 { 14 15 public static new Image StaticItemImage { 16 get { return HeuristicLab.Common.Resources.VSImageLibrary.Filter; } 17 } 14 18 15 19 private readonly IFilterLogic filterLogic; … … 32 36 } 33 37 34 public static new Image StaticItemImage35 {36 get { return HeuristicLab.Common.Resources.VSImageLibrary.Table; }37 }38 39 38 public override IDeepCloneable Clone(Cloner cloner) 40 39 { -
branches/DataPreprocessing/HeuristicLab.DataPreprocessing/3.3/Implementations/HistogramContent.cs
r10303 r10313 10 10 namespace HeuristicLab.DataPreprocessing 11 11 { 12 [Item("Histogram Content", "Represents the histogram grid.")]12 [Item("Histogram", "Represents the histogram grid.")] 13 13 public class HistogramContent : Item 14 14 { … … 36 36 public static new Image StaticItemImage 37 37 { 38 get { return HeuristicLab.Common.Resources.VSImageLibrary. Table; }38 get { return HeuristicLab.Common.Resources.VSImageLibrary.PieChart; } 39 39 } 40 40 -
branches/DataPreprocessing/HeuristicLab.DataPreprocessing/3.3/Implementations/LineChartContent.cs
r10303 r10313 9 9 namespace HeuristicLab.DataPreprocessing 10 10 { 11 [Item("LineChart Content", "Represents the line chart grid.")]11 [Item("LineChart", "Represents the line chart grid.")] 12 12 public class LineChartContent : Item 13 13 { … … 35 35 public static new Image StaticItemImage 36 36 { 37 get { return HeuristicLab.Common.Resources.VSImageLibrary. Table; }37 get { return HeuristicLab.Common.Resources.VSImageLibrary.PieChart; } 38 38 } 39 39 -
branches/DataPreprocessing/HeuristicLab.DataPreprocessing/3.3/Implementations/StatisticsContent.cs
r10303 r10313 9 9 namespace HeuristicLab.DataPreprocessing 10 10 { 11 [Item("Statistics Content", "Represents the statistics grid.")]11 [Item("Statistics", "Represents the statistics grid.")] 12 12 public class StatisticsContent : Item 13 13 { … … 35 35 public static new Image StaticItemImage 36 36 { 37 get { return HeuristicLab.Common.Resources.VSImageLibrary. Table; }37 get { return HeuristicLab.Common.Resources.VSImageLibrary.Statistics; } 38 38 } 39 39 -
branches/DataPreprocessing/HeuristicLab.DataPreprocessing/3.3/Implementations/TransformationContent.cs
r10303 r10313 9 9 namespace HeuristicLab.DataPreprocessing 10 10 { 11 [Item("Transformation Content", "Represents the transformation grid.")]11 [Item("Transformation", "Represents the transformation grid.")] 12 12 public class TransformationContent : Item 13 13 { … … 35 35 public static new Image StaticItemImage 36 36 { 37 get { return HeuristicLab.Common.Resources.VSImageLibrary. Table; }37 get { return HeuristicLab.Common.Resources.VSImageLibrary.Method; } 38 38 } 39 39 -
branches/DataPreprocessing/HeuristicLab.DataPreprocessing/3.3/Views/DataPreprocessingView.cs
r10310 r10313 34 34 35 35 listViewItem.Text = item.ToString(); 36 //listViewItem.ToolTipText = item.ItemName + ": " + item.ItemDescription;37 //itemsListView.SmallImageList.Images.Add(content.);38 //listViewItem.ImageIndex = itemsListView.SmallImageList.Images.Count - 1;39 //listViewItem.Tag = item;36 listViewItem.ToolTipText = item.ItemName + ": " + item.ItemDescription; 37 contentListView.SmallImageList.Images.Add(item.ItemImage); 38 listViewItem.ImageIndex = contentListView.SmallImageList.Images.Count - 1; 39 listViewItem.Tag = item; 40 40 return listViewItem; 41 41 } … … 52 52 53 53 listViewItemItemMapping = new Dictionary<ListViewItem, IItem>(); 54 contentListView.SmallImageList = new ImageList(); 54 55 ListViewItem contentListViewItem = CreateListViewItem(dataGridContent); 55 56 listViewItemItemMapping[contentListViewItem] = dataGridContent; … … 89 90 if (contentListView.SelectedItems.Count > 0) { 90 91 ListViewItem listViewItem = (ListViewItem)contentListView.SelectedItems[0]; 91 this.viewHost.Content = listViewItemItemMapping[listViewItem]; 92 //this.viewHost.Content = listViewItemItemMapping[listViewItem]; 93 this.viewHost.Content = (IItem)listViewItem.Tag; 92 94 } 93 95 } -
branches/DataPreprocessing/HeuristicLab.DataPreprocessing/3.3/Views/DataPreprocessingView.designer.cs
r10307 r10313 24 24 /// </summary> 25 25 private void InitializeComponent() { 26 this.components = new System.ComponentModel.Container(); 27 System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(DataPreprocessingView)); 26 28 this.splitContainer1 = new System.Windows.Forms.SplitContainer(); 29 this.undoButton = new System.Windows.Forms.Button(); 27 30 this.contentListView = new System.Windows.Forms.ListView(); 28 31 this.viewHost = new HeuristicLab.MainForm.WindowsForms.ViewHost(); 29 this. exportProblemButton = new System.Windows.Forms.Button();30 this. applyInNewTabButton = new System.Windows.Forms.Button();32 this.saveButton = new System.Windows.Forms.Button(); 33 this.tryOutAlgorithmButton = new System.Windows.Forms.Button(); 31 34 ((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).BeginInit(); 32 35 this.splitContainer1.Panel1.SuspendLayout(); … … 38 41 // 39 42 this.splitContainer1.Dock = System.Windows.Forms.DockStyle.Fill; 43 this.splitContainer1.FixedPanel = System.Windows.Forms.FixedPanel.Panel1; 40 44 this.splitContainer1.Location = new System.Drawing.Point(0, 0); 41 45 this.splitContainer1.Name = "splitContainer1"; … … 43 47 // splitContainer1.Panel1 44 48 // 49 this.splitContainer1.Panel1.Controls.Add(this.undoButton); 45 50 this.splitContainer1.Panel1.Controls.Add(this.contentListView); 51 this.splitContainer1.Panel1.Controls.Add(this.tryOutAlgorithmButton); 52 this.splitContainer1.Panel1.Controls.Add(this.saveButton); 46 53 // 47 54 // splitContainer1.Panel2 48 55 // 49 56 this.splitContainer1.Panel2.Controls.Add(this.viewHost); 50 this.splitContainer1.Panel2.Controls.Add(this. exportProblemButton);51 this.splitContainer1.Panel2.Controls.Add(this. applyInNewTabButton);57 this.splitContainer1.Panel2.Controls.Add(this.saveButton); 58 this.splitContainer1.Panel2.Controls.Add(this.tryOutAlgorithmButton); 52 59 this.splitContainer1.Size = new System.Drawing.Size(838, 449); 53 this.splitContainer1.SplitterDistance = 278;60 this.splitContainer1.SplitterDistance = 181; 54 61 this.splitContainer1.TabIndex = 0; 62 // 63 // undoButton 64 // 65 this.undoButton.Image = ((System.Drawing.Image)(resources.GetObject("undoButton.Image"))); 66 this.undoButton.Location = new System.Drawing.Point(72, 15); 67 this.undoButton.Name = "undoButton"; 68 this.undoButton.Size = new System.Drawing.Size(24, 24); 69 this.undoButton.TabIndex = 3; 70 this.toolTip.SetToolTip(this.undoButton, "Undo"); 71 this.undoButton.UseVisualStyleBackColor = true; 55 72 // 56 73 // contentListView … … 59 76 | System.Windows.Forms.AnchorStyles.Left) 60 77 | System.Windows.Forms.AnchorStyles.Right))); 61 this.contentListView.Location = new System.Drawing.Point(12, 15); 78 this.contentListView.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); 79 this.contentListView.Location = new System.Drawing.Point(12, 44); 62 80 this.contentListView.Name = "contentListView"; 63 this.contentListView.Size = new System.Drawing.Size( 254, 389);81 this.contentListView.Size = new System.Drawing.Size(157, 391); 64 82 this.contentListView.TabIndex = 0; 65 83 this.contentListView.UseCompatibleStateImageBehavior = false; … … 67 85 this.contentListView.SelectedIndexChanged += new System.EventHandler(this.listView1_SelectedIndexChanged); 68 86 this.contentListView.DoubleClick += new System.EventHandler(this.listView1_DoubleClick); 87 // 88 // tryOutAlgorithmButton 89 // 90 this.tryOutAlgorithmButton.Image = ((System.Drawing.Image)(resources.GetObject("tryOutAlgorithmButton.Image"))); 91 this.tryOutAlgorithmButton.Location = new System.Drawing.Point(42, 15); 92 this.tryOutAlgorithmButton.Name = "tryOutAlgorithmButton"; 93 this.tryOutAlgorithmButton.Size = new System.Drawing.Size(24, 24); 94 this.tryOutAlgorithmButton.TabIndex = 2; 95 this.toolTip.SetToolTip(this.tryOutAlgorithmButton, "Try Out Algorithm"); 96 this.tryOutAlgorithmButton.UseVisualStyleBackColor = true; 97 this.tryOutAlgorithmButton.Click += new System.EventHandler(this.tryOutAlgorithmButton_Click); 98 // 99 // saveButton 100 // 101 this.saveButton.Image = ((System.Drawing.Image)(resources.GetObject("saveButton.Image"))); 102 this.saveButton.Location = new System.Drawing.Point(12, 15); 103 this.saveButton.Name = "saveButton"; 104 this.saveButton.Size = new System.Drawing.Size(24, 24); 105 this.saveButton.TabIndex = 1; 106 this.toolTip.SetToolTip(this.saveButton, "Save"); 107 this.saveButton.UseVisualStyleBackColor = true; 69 108 // 70 109 // viewHost … … 76 115 this.viewHost.Content = null; 77 116 this.viewHost.Enabled = false; 78 this.viewHost.Location = new System.Drawing.Point(1 4, 15);117 this.viewHost.Location = new System.Drawing.Point(16, 44); 79 118 this.viewHost.Name = "viewHost"; 80 119 this.viewHost.ReadOnly = false; 81 this.viewHost.Size = new System.Drawing.Size( 526, 389);120 this.viewHost.Size = new System.Drawing.Size(621, 391); 82 121 this.viewHost.TabIndex = 4; 83 122 this.viewHost.ViewsLabelVisible = true; 84 123 this.viewHost.ViewType = null; 85 124 // 86 // exportProblemButton125 // saveButton 87 126 // 88 this.exportProblemButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); 89 this.exportProblemButton.Location = new System.Drawing.Point(318, 410); 90 this.exportProblemButton.Name = "exportProblemButton"; 91 this.exportProblemButton.Size = new System.Drawing.Size(100, 23); 92 this.exportProblemButton.TabIndex = 3; 93 this.exportProblemButton.Text = "Export Problem"; 94 this.exportProblemButton.UseVisualStyleBackColor = true; 95 this.exportProblemButton.Click += new System.EventHandler(this.exportProblemButton_Click); 127 this.saveButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); 128 this.saveButton.Location = new System.Drawing.Point(343, 410); 129 this.saveButton.Name = "saveButton"; 130 this.saveButton.Size = new System.Drawing.Size(75, 23); 131 this.saveButton.TabIndex = 3; 132 this.saveButton.Text = "Save"; 133 this.saveButton.UseVisualStyleBackColor = true; 96 134 // 97 // applyInNewTabButton135 // tryOutAlgorithmButton 98 136 // 99 this. applyInNewTabButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));100 this. applyInNewTabButton.Location = new System.Drawing.Point(432, 410);101 this. applyInNewTabButton.Name = "applyInNewTabButton";102 this. applyInNewTabButton.Size = new System.Drawing.Size(108, 23);103 this. applyInNewTabButton.TabIndex = 2;104 this. applyInNewTabButton.Text = "Apply in new Tab";105 this. applyInNewTabButton.UseVisualStyleBackColor = true;106 this. applyInNewTabButton.Click += new System.EventHandler(this.applyInNewTabButton_Click);137 this.tryOutAlgorithmButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); 138 this.tryOutAlgorithmButton.Location = new System.Drawing.Point(443, 410); 139 this.tryOutAlgorithmButton.Name = "tryOutAlgorithmButton"; 140 this.tryOutAlgorithmButton.Size = new System.Drawing.Size(97, 23); 141 this.tryOutAlgorithmButton.TabIndex = 2; 142 this.tryOutAlgorithmButton.Text = "Try Out Algorithm"; 143 this.tryOutAlgorithmButton.UseVisualStyleBackColor = true; 144 this.tryOutAlgorithmButton.Click += new System.EventHandler(this.tryOutAlgorithmButton_Click); 107 145 // 108 146 // DataPreprocessingView … … 127 165 private System.Windows.Forms.Button applyInNewTabButton; 128 166 private MainForm.WindowsForms.ViewHost viewHost; 129 private System.Windows.Forms.SplitContainer splitContainer1;130 167 131 168 } -
branches/DataPreprocessing/HeuristicLab.DataPreprocessing/3.3/Views/StatisticsView.Designer.cs
r10303 r10313 24 24 /// </summary> 25 25 private void InitializeComponent() { 26 components = new System.ComponentModel.Container(); 26 this.SuspendLayout(); 27 // 28 // StatisticsView 29 // 30 this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); 27 31 this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; 32 this.Name = "StatisticsView"; 33 this.Size = new System.Drawing.Size(549, 408); 34 this.ResumeLayout(false); 35 28 36 } 29 37
Note: See TracChangeset
for help on using the changeset viewer.