Package de.chris_soft.nanodoa.gui.tree.path

Examples of de.chris_soft.nanodoa.gui.tree.path.SearchPath


   * Show a document from a search result list.
   * @param searchTerm Search items.
   * @param documentID Document to show.
   */
  public void showSearchedDocument(String searchTerm, long documentID) {
    God.specialsTree.setCurrentNode(new SearchPath(searchTerm));
    God.specialsTree.setCurrentChild(new DocumentPath(documentID));
  }
View Full Code Here


      }
    }
  }

  private void rightClickedOnSearchPath(MouseEvent e, DefaultMutableTreeNode node, JPopupMenu menu) {
    final SearchPath searchPath = (SearchPath) node.getUserObject();
    JMenuItem menuItem = new JMenuItem("Re-Search");
    menuItem.addActionListener(new ReSearchAction(searchPath.name, God.specialsTree));
    menu.add(menuItem);
    menu.show((JComponent) e.getSource(), e.getX(), e.getY());
  }
View Full Code Here

TOP

Related Classes of de.chris_soft.nanodoa.gui.tree.path.SearchPath

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.