Changeset 10882 for branches/DataPreprocessing/HeuristicLab.DataPreprocessing.Views/3.3/PreprocessingScatterPlotView.cs
- Timestamp:
- 05/21/14 15:28:27 (10 years ago)
- File:
-
- 1 copied
Legend:
- Unmodified
- Added
- Removed
-
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.