16 package net.squiz.matrix.assetmap;
19 import java.awt.event.*;
20 import net.squiz.matrix.matrixtree.*;
31 setDefaultCloseOperation(WindowConstants.DISPOSE_ON_CLOSE);
32 setTitle(view.getName());
33 getContentPane().add(view.getViewComponent());
35 JSplitPane splitPane = ((
BasicView)view).getSplitPane();
36 splitPane.setDividerLocation(Integer.MAX_VALUE);
39 public MatrixTree getTree() {
40 return view.getTree();
43 public View getInnerView() {
47 public int getIndex() {
51 public String getName() {
52 return view.getName();
55 public void setName(String name) {
59 public JComponent getViewComponent() {
60 return view.getViewComponent();