Esempio n. 1
0
 private void selectPlace(TreePlace place) {
   TreeNode node = navigationView.getMenuTree().getRootTreeNode();
   if (openNode(node, place)) {
     navigationView.getSelectionModel().setSelected(place, true);
     pendingPlace = null;
   } else {
     navigationView.getSelectionModel().clear();
   }
 }
Esempio n. 2
0
 private void refreshTree() {
   TreeNode node = navigationView.getMenuTree().getRootTreeNode();
   refreshTree(node);
 }