Squiz Matrix  4.12.2
 All Data Structures Namespaces Functions Variables Pages
FinderView.java
1 
16 package net.squiz.matrix.assetmap;
17 
18 import javax.swing.*;
19 import javax.swing.tree.*;
20 import net.squiz.matrix.matrixtree.*;
21 import java.awt.*;
22 import net.squiz.matrix.core.*;
23 import net.squiz.matrix.ui.*;
24 import javax.swing.plaf.*;
25 import net.squiz.matrix.plaf.*;
26 
27 public class FinderView extends BasicView {
28 
29  protected FinderTree tree;
30 
31  public FinderView() {
32  construct();
33  }
34 
35  private void construct() {
36  tree = (FinderTree)createFinderTree();
37  JScrollPane scrollPane = new JScrollPane(tree);
38  scrollPane.setBorder(BorderFactory.createEmptyBorder());
39 
40  setLayout(new BorderLayout());
41  add(scrollPane);
42  add(MatrixStatusBar.createStatusBar(), BorderLayout.SOUTH);
43  add(new AssetMapMenuPanel(tree, false), BorderLayout.NORTH);
44  setSize(300,500);
45  }
46 
47 }