Changeset 10771
- Timestamp:
- 04/23/14 11:42:51 (11 years ago)
- Location:
- branches/DataPreprocessing
- Files:
-
- 8 edited
- 2 copied
Legend:
- Unmodified
- Added
- Removed
-
branches/DataPreprocessing/HeuristicLab.DataPreprocessing.Views/3.3/HeuristicLab.DataPreprocessing.Views-3.3.csproj
r10763 r10771 83 83 </Compile> 84 84 <Compile Include="DataPreprocessorStarter.cs" /> 85 <Compile Include="PreprocessingDataTableView.cs"> 86 <SubType>UserControl</SubType> 87 </Compile> 88 <Compile Include="PreprocessingDataTableView.Designer.cs"> 89 <DependentUpon>PreprocessingDataTableView.cs</DependentUpon> 90 </Compile> 85 91 <Compile Include="FilterView.cs"> 86 92 <SubType>UserControl</SubType> … … 125 131 <Compile Include="PreprocessingCheckedItemListView.Designer.cs"> 126 132 <DependentUpon>PreprocessingCheckedItemListView.cs</DependentUpon> 127 </Compile>128 <Compile Include="PreprocessingDataTableView.cs">129 <SubType>UserControl</SubType>130 </Compile>131 <Compile Include="PreprocessingDataTableView.Designer.cs">132 <DependentUpon>PreprocessingDataTableView.cs</DependentUpon>133 133 </Compile> 134 134 <Compile Include="Properties\AssemblyInfo.cs" /> -
branches/DataPreprocessing/HeuristicLab.DataPreprocessing.Views/3.3/HistogramView.Designer.cs
r10736 r10771 43 43 // 44 44 this.allInOneCheckBox.AutoSize = true; 45 this.allInOneCheckBox.Checked = true;46 this.allInOneCheckBox.CheckState = System.Windows.Forms.CheckState.Checked;47 45 this.allInOneCheckBox.Location = new System.Drawing.Point(6, 19); 48 46 this.allInOneCheckBox.Name = "allInOneCheckBox"; -
branches/DataPreprocessing/HeuristicLab.DataPreprocessing.Views/3.3/HistogramView.cs
r10736 r10771 16 16 chartType = DataRowVisualProperties.DataRowChartType.Histogram; 17 17 chartTitle = HISTOGRAM_CHART_TITLE; 18 allInOneMode = false; 18 19 } 19 20 -
branches/DataPreprocessing/HeuristicLab.DataPreprocessing.Views/3.3/PreprocessingChartView.Designer.cs
r10717 r10771 46 46 /// </summary> 47 47 private void InitializeComponent() { 48 this.dataTableView = new HeuristicLab.Analysis.Views. DataTableView();48 this.dataTableView = new HeuristicLab.Analysis.Views.PreprocessingDataTableView(); 49 49 this.tableLayoutPanel = new System.Windows.Forms.TableLayoutPanel(); 50 50 this.checkedItemList = new HeuristicLab.DataPreprocessing.Views.PreprocessingCheckedItemListView(); … … 108 108 109 109 private PreprocessingCheckedItemListView checkedItemList; 110 private Analysis.Views. DataTableView dataTableView;110 private Analysis.Views.PreprocessingDataTableView dataTableView; 111 111 private System.Windows.Forms.TableLayoutPanel tableLayoutPanel; 112 112 } -
branches/DataPreprocessing/HeuristicLab.DataPreprocessing.Views/3.3/PreprocessingChartView.cs
r10741 r10771 282 282 } 283 283 284 DataTableView dataView = newDataTableView();284 PreprocessingDataTableView dataView = new PreprocessingDataTableView(); 285 285 enumerator.MoveNext(); 286 286 DataTable d = enumerator.Current; -
branches/DataPreprocessing/HeuristicLab.DataPreprocessing.Views/3.3/PreprocessingDataTableView.Designer.cs
r10761 r10771 21 21 22 22 namespace HeuristicLab.Analysis.Views { 23 partial class DataTableView {23 partial class PreprocessingDataTableView { 24 24 /// <summary> 25 25 /// Required designer variable. … … 45 45 /// </summary> 46 46 private void InitializeComponent() { 47 this.components = new System.ComponentModel.Container(); 47 48 System.Windows.Forms.DataVisualization.Charting.ChartArea chartArea1 = new System.Windows.Forms.DataVisualization.Charting.ChartArea(); 48 49 System.Windows.Forms.DataVisualization.Charting.Legend legend1 = new System.Windows.Forms.DataVisualization.Charting.Legend(); … … 50 51 System.Windows.Forms.DataVisualization.Charting.Title title1 = new System.Windows.Forms.DataVisualization.Charting.Title(); 51 52 this.chart = new HeuristicLab.Visualization.ChartControlsExtensions.EnhancedChart(); 52 ((System.ComponentModel.ISupportInitialize)(this.errorProvider)).BeginInit();53 53 ((System.ComponentModel.ISupportInitialize)(this.chart)).BeginInit(); 54 54 this.SuspendLayout(); 55 55 // 56 // nameTextBox57 //58 this.errorProvider.SetIconAlignment(this.nameTextBox, System.Windows.Forms.ErrorIconAlignment.MiddleLeft);59 this.errorProvider.SetIconPadding(this.nameTextBox, 2);60 this.nameTextBox.Location = new System.Drawing.Point(55, 0);61 this.nameTextBox.Size = new System.Drawing.Size(279, 20);62 //63 // infoLabel64 //65 this.infoLabel.Location = new System.Drawing.Point(340, 3);66 //67 56 // chart 68 57 // 69 this.chart.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) 70 | System.Windows.Forms.AnchorStyles.Left)71 58 this.chart.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) 59 | System.Windows.Forms.AnchorStyles.Left) 60 | System.Windows.Forms.AnchorStyles.Right))); 72 61 this.chart.BorderlineColor = System.Drawing.Color.Black; 73 62 this.chart.BorderlineDashStyle = System.Windows.Forms.DataVisualization.Charting.ChartDashStyle.Solid; … … 83 72 legend1.Name = "Default"; 84 73 this.chart.Legends.Add(legend1); 85 this.chart.Location = new System.Drawing.Point(0, 26);74 this.chart.Location = new System.Drawing.Point(0, 3); 86 75 this.chart.Name = "chart"; 87 76 series1.ChartArea = "Default"; … … 89 78 series1.Name = "Default"; 90 79 this.chart.Series.Add(series1); 91 this.chart.Size = new System.Drawing.Size(359, 2 48);80 this.chart.Size = new System.Drawing.Size(359, 271); 92 81 this.chart.TabIndex = 3; 93 82 this.chart.Text = "chart"; … … 95 84 title1.Name = "Default"; 96 85 title1.Text = "Title"; 86 title1.Visible = false; 97 87 this.chart.Titles.Add(title1); 98 88 this.chart.CustomizeLegend += new System.EventHandler<System.Windows.Forms.DataVisualization.Charting.CustomizeLegendEventArgs>(this.chart_CustomizeLegend); … … 100 90 this.chart.MouseMove += new System.Windows.Forms.MouseEventHandler(this.chart_MouseMove); 101 91 // 102 // DataTableView92 // PreprocessingDataTableView 103 93 // 104 this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);105 94 this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Inherit; 106 95 this.Controls.Add(this.chart); 107 this.Name = " DataTableView";96 this.Name = "PreprocessingDataTableView"; 108 97 this.Size = new System.Drawing.Size(359, 274); 109 this.Controls.SetChildIndex(this.infoLabel, 0);110 this.Controls.SetChildIndex(this.chart, 0);111 this.Controls.SetChildIndex(this.nameLabel, 0);112 this.Controls.SetChildIndex(this.nameTextBox, 0);113 ((System.ComponentModel.ISupportInitialize)(this.errorProvider)).EndInit();114 98 ((System.ComponentModel.ISupportInitialize)(this.chart)).EndInit(); 115 99 this.ResumeLayout(false); 116 this.PerformLayout();117 100 118 101 } -
branches/DataPreprocessing/HeuristicLab.DataPreprocessing.Views/3.3/PreprocessingDataTableView.cs
r10761 r10771 31 31 32 32 namespace HeuristicLab.Analysis.Views { 33 [View(" DataTable View")]34 [Content(typeof(DataTable), true)]35 public partial class DataTableView : NamedItemView, IConfigureableView {33 [View("Preprocessing DataTable View")] 34 [Content(typeof(DataTable), false)] 35 public partial class PreprocessingDataTableView : ItemView, IConfigureableView { 36 36 protected List<Series> invisibleSeries; 37 37 protected Dictionary<IObservableList<double>, DataRow> valuesRowsTable; … … 42 42 } 43 43 44 public DataTableView() {44 public PreprocessingDataTableView() { 45 45 InitializeComponent(); 46 46 valuesRowsTable = new Dictionary<IObservableList<double>, DataRow>(); … … 95 95 base.OnContentChanged(); 96 96 invisibleSeries.Clear(); 97 chart.Titles[0].Text = string.Empty;97 //chart.Titles[0].Text = string.Empty; 98 98 chart.ChartAreas[0].AxisX.Title = string.Empty; 99 99 chart.ChartAreas[0].AxisY.Title = string.Empty; … … 101 101 chart.Series.Clear(); 102 102 if (Content != null) { 103 chart.Titles[0].Text = Content.Name;103 //chart.Titles[0].Text = Content.Name; 104 104 AddDataRows(Content.Rows); 105 105 ConfigureChartArea(chart.ChartAreas[0]); … … 281 281 #region Event Handlers 282 282 #region Content Event Handlers 283 protected override void Content_NameChanged(object sender, EventArgs e) {284 if (InvokeRequired)285 Invoke(new EventHandler(Content_NameChanged), sender, e);286 else {287 chart.Titles[0].Text = Content.Name;288 base.Content_NameChanged(sender, e);289 }290 }291 283 private void Content_VisualPropertiesChanged(object sender, EventArgs e) { 292 284 if (InvokeRequired) -
branches/DataPreprocessing/HeuristicLab.DataPreprocessing/3.3/Implementations/HistogramContent.cs
r10658 r10771 37 37 38 38 public static new Image StaticItemImage { 39 get { return HeuristicLab.Common.Resources.VSImageLibrary. PieChart; }39 get { return HeuristicLab.Common.Resources.VSImageLibrary.Statistics; } 40 40 } 41 41 -
branches/DataPreprocessing/HeuristicLab.DataPreprocessing/3.3/Implementations/LineChartContent.cs
r10709 r10771 39 39 40 40 public static new Image StaticItemImage { 41 get { return HeuristicLab.Common.Resources.VSImageLibrary.P ieChart; }41 get { return HeuristicLab.Common.Resources.VSImageLibrary.Performance; } 42 42 } 43 43 -
branches/DataPreprocessing/HeuristicLab.DataPreprocessing/3.3/Implementations/StatisticsContent.cs
r10614 r10771 42 42 43 43 public static new Image StaticItemImage { 44 get { return HeuristicLab.Common.Resources.VSImageLibrary. Statistics; }44 get { return HeuristicLab.Common.Resources.VSImageLibrary.Object; } 45 45 } 46 46
Note: See TracChangeset
for help on using the changeset viewer.