View Javadoc

1   /*
2    * @(#)$Id: AlgorithmListPanel.java 739 2009-08-14 18:59:10Z kurmannu $
3    *
4    * Author		:	Ueli Kurmann, igesture@uelikurmann.ch
5    *                  
6    *
7    * Purpose		: 
8    *
9    * -----------------------------------------------------------------------
10   *
11   * Revision Information:
12   *
13   * Date				Who			Reason
14   *
15   * 23.03.2008		ukurmann	Initial Release
16   *
17   * -----------------------------------------------------------------------
18   *
19   * Copyright 1999-2009 ETH Zurich. All Rights Reserved.
20   *
21   * This software is the proprietary information of ETH Zurich.
22   * Use is subject to license terms.
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   * Comment
39   * 
40   * @version 1.0 23.03.2008
41   * @author Ueli Kurmann
42   */
43  public class AlgorithmListPanel extends AbstractPanel {
44  
45    public AlgorithmListPanel(Controller controller, AlgorithmList algorithmList) {
46      super(controller);
47      // FIXME Implement View
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  }