MCPcopy Create free account
hub / github.com/GateNLP/gate-core / initLocalData

Method initLocalData

src/main/java/gate/gui/MainFrame.java:567–583  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

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());

Callers 1

MainFrameMethod · 0.95

Calls 1

addMethod · 0.65

Tested by

no test coverage detected