44053733 |
1 | /** @file |
2 | |
3 | The file is used to create tree view sections |
4 | |
5 | Copyright (c) 2006, Intel Corporation |
6 | All rights reserved. This program and the accompanying materials |
7 | are licensed and made available under the terms and conditions of the BSD License |
8 | which accompanies this distribution. The full text of the license may be found at |
9 | http://opensource.org/licenses/bsd-license.php |
10 | |
11 | THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, |
12 | WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. |
13 | |
14 | **/ |
15 | package org.tianocore.frameworkwizard.platform.ui; |
16 | import java.awt.GridLayout; |
44053733 |
17 | |
44053733 |
18 | import javax.swing.JPanel; |
44053733 |
19 | import javax.swing.JTree; |
20 | import javax.swing.tree.DefaultMutableTreeNode; |
44053733 |
21 | import javax.swing.tree.DefaultTreeModel; |
44053733 |
22 | |
23 | |
24 | public class DynamicTree extends JPanel { |
25 | /** |
26 | * |
27 | */ |
28 | private static final long serialVersionUID = 1L; |
29 | protected DefaultMutableTreeNode rootNode; |
30 | protected DefaultTreeModel treeModel; |
31 | protected JTree tree; |
44053733 |
32 | |
33 | public DynamicTree() { |
34 | super(new GridLayout(1,0)); |
35 | |
9937fde1 |
36 | |
44053733 |
37 | } |
38 | |
9937fde1 |
39 | |
44053733 |
40 | } |
41 | |
42 | |