1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26 package org.ximtec.igesture.tool.view.testbench.panel;
27
28 import java.awt.Dimension;
29 import java.net.URL;
30
31 import org.ximtec.igesture.tool.core.Controller;
32 import org.ximtec.igesture.tool.util.HtmlPanel;
33 import org.ximtec.igesture.tool.util.TitleFactory;
34 import org.ximtec.igesture.tool.view.AbstractPanel;
35 import org.ximtec.igesture.tool.view.testbench.wrapper.AlgorithmList;
36
37
38
39
40
41
42
43 public class AlgorithmListPanel extends AbstractPanel {
44
45 public AlgorithmListPanel(Controller controller, AlgorithmList algorithmList) {
46 super(controller);
47
48 setTitle(TitleFactory.createStaticTitle("Test Bench"));
49
50 URL path = AlgorithmListPanel.class.getClassLoader().getResource("html/testBenchTab.html");
51
52 HtmlPanel htmlPanel = new HtmlPanel(path, new Dimension(400, 400));
53
54 setContent(htmlPanel);
55 }
56 }