use of com.revolsys.swing.tree.node.ListTreeNode in project com.revolsys.open by revolsys.
the class ProjectFrame method newTabLeftCatalogPanel.
protected void newTabLeftCatalogPanel() {
final BaseTreeNode recordStores = RecordStoreConnectionTrees.newRecordStoreConnectionsTreeNode();
final BaseTreeNode fileSystems = PathTreeNode.newFileSystemsTreeNode();
final BaseTreeNode folderConnections = FolderConnectionsTrees.newFolderConnectionsTreeNode();
final BaseTreeNode webServices = WebServiceConnectionTrees.newWebServiceConnectionsTreeNode();
final ListTreeNode root = new ListTreeNode("/", recordStores, fileSystems, folderConnections, webServices);
final BaseTree tree = new BaseTree(root);
tree.setRootVisible(false);
recordStores.expandChildren();
fileSystems.expand();
folderConnections.expandChildren();
webServices.expandChildren();
this.catalogTree = tree;
final Icon icon = Icons.getIconWithBadge("folder", "tree");
final TabbedPane tabs = this.leftTabs;
final Component component = this.catalogTree;
tabs.addTab(icon, "Catalog", component, true);
}
Aggregations