Free cookie consent management tool by TermsFeed Policy Generator

source: branches/FitnessLandscapeAnalysis/HeuristicLab.Analysis.FitnessLandscape.Views/FDC/HeatMapView.cs @ 15166

Last change on this file since 15166 was 7128, checked in by epitzer, 13 years ago

#1696 Integrate fitness landscape analysis plugins from Heureka! repository.

File size: 873 bytes
Line 
1using System.Windows.Forms;
2using HeuristicLab.Core.Views;
3using HeuristicLab.MainForm;
4
5namespace HeuristicLab.Analysis.FitnessLandscape.FDC {
6
7  [View("HeatMap View")]
8  [Content(typeof(HeatMap), true)]
9  public partial class HeatMapView : NamedItemView {
10
11    public new HeatMap Content {
12      get { return (HeatMap)base.Content; }
13      set { base.Content = value; }
14    }
15
16    public HeatMapView() {
17      InitializeComponent();
18      OnContentChanged();
19    }
20
21    protected override void OnContentChanged() {
22      if (Content != null)
23        heatMapControl.AddPoints(Content.Points);
24      base.OnContentChanged();
25    }
26
27    protected override void RegisterContentEvents() {
28      base.RegisterContentEvents();
29    }
30
31    protected override void DeregisterContentEvents() {
32      base.DeregisterContentEvents();
33    }
34  }
35}
Note: See TracBrowser for help on using the repository browser.