| 565 | } // MainFrame(boolean simple) |
| 566 | |
| 567 | protected void initLocalData() { |
| 568 | resourcesTreeRoot = new DefaultMutableTreeNode("GATE", true); |
| 569 | applicationsRoot = new DefaultMutableTreeNode("Applications", true); |
| 570 | |
| 571 | languageResourcesRoot = |
| 572 | new DefaultMutableTreeNode("Language Resources", true); |
| 573 | |
| 574 | processingResourcesRoot = |
| 575 | new DefaultMutableTreeNode("Processing Resources", true); |
| 576 | datastoresRoot = new DefaultMutableTreeNode("Datastores", true); |
| 577 | resourcesTreeRoot.add(applicationsRoot); |
| 578 | resourcesTreeRoot.add(languageResourcesRoot); |
| 579 | resourcesTreeRoot.add(processingResourcesRoot); |
| 580 | resourcesTreeRoot.add(datastoresRoot); |
| 581 | |
| 582 | resourcesTreeModel = new ResourcesTreeModel(resourcesTreeRoot, true); |
| 583 | } |
| 584 | |
| 585 | protected void initGuiComponents() { |
| 586 | this.getContentPane().setLayout(new BorderLayout()); |