Package net.sourceforge.squirrel_sql.client.session.schemainfo

Examples of net.sourceforge.squirrel_sql.client.session.schemainfo.FilterMatcher


      while (candidates.hasNext())
      {

         ArrayList<String> catSchemObj = candidates.next();

         success = objectTree.selectInObjectTree(catSchemObj.get(0), catSchemObj.get(1), new FilterMatcher(catSchemObj.get(2), null));
         if (success)
         {
            session.selectMainTab(ISession.IMainPanelTabIndexes.OBJECT_TREE_TAB);
            break;
         }
View Full Code Here


    */   
    public void expandNode(ObjectTreeNode node) {
        IDatabaseObjectInfo info = node.getDatabaseObjectInfo();
        TreePath path = getTreePath(info.getCatalogName(),
                                    info.getSchemaName(),
                                    new FilterMatcher(info.getSimpleName(), null));   
        _tree.fireTreeExpanded(path);
    }
View Full Code Here

     */
    private void expandTablesForCatalog(ISession session, String selectedCatalog)
    {
      IObjectTreeAPI api = session.getObjectTreeAPIOfActiveSessionWindow();
      api.refreshTree(true);
      if (api.selectInObjectTree(selectedCatalog, null, new FilterMatcher("TABLE", null)))
      {
        ObjectTreeNode[] nodes = api.getSelectedNodes();

        if (nodes.length > 0)
        {
View Full Code Here

TOP

Related Classes of net.sourceforge.squirrel_sql.client.session.schemainfo.FilterMatcher

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.