- Timestamp:
- 05/21/14 15:28:27 (10 years ago)
- Location:
- branches/DataPreprocessing/HeuristicLab.DataPreprocessing.Views/3.3
- Files:
-
- 2 added
- 2 edited
- 2 copied
Legend:
- Unmodified
- Added
- Removed
-
branches/DataPreprocessing/HeuristicLab.DataPreprocessing.Views/3.3/DataPreprocessingView.cs
r10877 r10882 49 49 var statisticsLogic = new StatisticsLogic(data, searchLogic); 50 50 var manipulationLogic = new ManipulationLogic(data, searchLogic, statisticsLogic, dataGridLogic); 51 var lineChartLogic = new ChartLogic(data); 52 var histogramLogic = new ChartLogic(data); 51 var chartLogic = new ChartLogic(data); 53 52 var filterLogic = new FilterLogic(data); 54 53 var dataCompletenessLogic = new ChartLogic(data); … … 60 59 new TransformationContent(data), 61 60 new ManipulationContent(manipulationLogic, searchLogic), 62 new LineChartContent(lineChartLogic), 63 new HistogramContent(histogramLogic)//, 61 new LineChartContent(chartLogic), 62 new HistogramContent(chartLogic), 63 new ScatterPlotContent(chartLogic) 64 //, 64 65 //new DataCompletenessChartContent(dataCompletenessLogic) 65 66 }; -
branches/DataPreprocessing/HeuristicLab.DataPreprocessing.Views/3.3/HeuristicLab.DataPreprocessing.Views-3.3.csproj
r10877 r10882 113 113 <DependentUpon>FilterView.cs</DependentUpon> 114 114 </Compile> 115 <Compile Include="MultiScatterPlotView.cs"> 116 <SubType>UserControl</SubType> 117 </Compile> 118 <Compile Include="MultiScatterPlotView.Designer.cs"> 119 <DependentUpon>MultiScatterPlotView.cs</DependentUpon> 120 </Compile> 121 <Compile Include="PreprocessingScatterPlotView.cs"> 122 <SubType>UserControl</SubType> 123 </Compile> 124 <Compile Include="PreprocessingScatterPlotView.Designer.cs"> 125 <DependentUpon>PreprocessingScatterPlotView.cs</DependentUpon> 126 </Compile> 115 127 <Compile Include="SearchAndReplaceDialog.cs"> 116 128 <SubType>Form</SubType> -
branches/DataPreprocessing/HeuristicLab.DataPreprocessing.Views/3.3/PreprocessingScatterPlotView.Designer.cs
r10877 r10882 20 20 #endregion 21 21 22 namespace HeuristicLab. Analysis.Views {23 partial class ScatterPlotView {22 namespace HeuristicLab.DataPreprocessing.Views { 23 partial class PreprocessingScatterPlotView { 24 24 /// <summary> 25 25 /// Required designer variable. … … 50 50 System.Windows.Forms.DataVisualization.Charting.Title title1 = new System.Windows.Forms.DataVisualization.Charting.Title(); 51 51 this.chart = new HeuristicLab.Visualization.ChartControlsExtensions.EnhancedChart(); 52 ((System.ComponentModel.ISupportInitialize)(this.errorProvider)).BeginInit();53 52 ((System.ComponentModel.ISupportInitialize)(this.chart)).BeginInit(); 54 53 this.SuspendLayout(); 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 54 // 67 55 // chart … … 107 95 this.Name = "ScatterPlotView"; 108 96 this.Size = new System.Drawing.Size(359, 274); 109 this.Controls.SetChildIndex(this.infoLabel, 0);110 97 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); -
branches/DataPreprocessing/HeuristicLab.DataPreprocessing.Views/3.3/PreprocessingScatterPlotView.cs
r10877 r10882 26 26 using System.Windows.Forms; 27 27 using System.Windows.Forms.DataVisualization.Charting; 28 using HeuristicLab.Analysis; 29 using HeuristicLab.Analysis.Views; 28 30 using HeuristicLab.Collections; 29 31 using HeuristicLab.Common; … … 31 33 using HeuristicLab.MainForm; 32 34 33 namespace HeuristicLab. Analysis.Views {34 [View(" ScatterPlot View")]35 [Content(typeof(ScatterPlot), true)]36 public partial class ScatterPlotView : NamedItemView, IConfigureableView {35 namespace HeuristicLab.DataPreprocessing.Views { 36 [View("Preprocessing ScatterPlot View")] 37 [Content(typeof(ScatterPlot), false)] 38 public partial class PreprocessingScatterPlotView : ItemView, IConfigureableView { 37 39 protected List<Series> invisibleSeries; 38 40 protected Dictionary<IObservableList<Point2D<double>>, ScatterPlotDataRow> pointsRowsTable; … … 43 45 } 44 46 45 public ScatterPlotView() {47 public PreprocessingScatterPlotView() { 46 48 InitializeComponent(); 47 49 pointsRowsTable = new Dictionary<IObservableList<Point2D<double>>, ScatterPlotDataRow>(); … … 227 229 #region Event Handlers 228 230 #region Content Event Handlers 229 protected override void Content_NameChanged(object sender, EventArgs e) { 230 if (InvokeRequired) 231 Invoke(new EventHandler(Content_NameChanged), sender, e); 232 else { 233 chart.Titles[0].Text = Content.Name; 234 base.Content_NameChanged(sender, e); 235 } 236 } 231 237 232 private void Content_VisualPropertiesChanged(object sender, EventArgs e) { 238 233 if (InvokeRequired)
Note: See TracChangeset
for help on using the changeset viewer.