1 package org.catacomb.dataview.gui;
2
3 import org.catacomb.dataview.formats.DataHandler;
4 import org.catacomb.druid.gui.base.DruDataDisplay;
5 import org.catacomb.interlish.annotation.IOPoint;
6 import org.catacomb.interlish.structure.Controller;
7 import org.catacomb.report.E;
8
9
10 public class BasicPlotController implements Controller {
11
12 @IOPoint(xid="dataDisplay")
13 public DruDataDisplay dataDisplay;
14
15
16
17
18 public BasicPlotController() {
19
20 }
21
22
23
24 public void setDataHandler(DataHandler dh) {
25
26 dataDisplay.attachGraphicsController(dh);
27 }
28
29
30
31
32 public void attached() {
33
34
35 }
36
37
38
39 public void repaint() {
40 dataDisplay.repaint();
41
42 }
43
44 }