Package net.sourceforge.squirrel_sql.client.session

Examples of net.sourceforge.squirrel_sql.client.session.IObjectTreeAPI.refreshTree()


         SQLExecuterTask executer = new SQLExecuterTask(_session, buf.toString(), new DefaultSQLExecuterHandler(_session));
         executer.run();

      IObjectTreeAPI api = _session.getSessionInternalFrame().getObjectTreeAPI();
      api.refreshTree();
    }

  }
}
View Full Code Here


     *           the catalog that was selected.
     */
    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
Copyright © 2018 www.massapi.com. 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.