Package net.sourceforge.squirrel_sql.client.gui.db

Examples of net.sourceforge.squirrel_sql.client.gui.db.DataCache


      JOptionPane.showMessageDialog(null, errMsg, "SQuirreL failed to start", JOptionPane.ERROR_MESSAGE);
      System.exit(-1);
    }

    _cache =
      new DataCache(_driverMgr, _appFiles.getDatabaseDriversFile(), _appFiles.getDatabaseAliasesFile(),
        _resources.getDefaultDriversUrl(), this);

    indicateNewStartupTask(splash, s_stringMgr.getString("Application.splash.createWindowManager"));
    _windowManager = new WindowManager(this, args.getUserInterfaceDebugEnabled());
View Full Code Here


   }

   public void execute()
   {
      final List<ISQLAlias> aliases = new ArrayList<ISQLAlias>();
      final DataCache cache = _app.getDataCache();
      synchronized (cache)
      {
         for (Iterator<ISQLAlias> it = cache.aliases(); it.hasNext();)
         {
            ISQLAlias alias = it.next();
            if (alias.isConnectAtStartup())
            {
               aliases.add(alias);
View Full Code Here

   */
  public void execute() throws BaseException
  {
    try
    {
      final DataCache cache = _app.getDataCache();
      cache.loadDefaultDrivers(_url);
      new ShowLoadedDriversOnlyCommand(_app, false).execute();
    }
    catch (IOException ex)
    {
      throw new BaseException(ex);
View Full Code Here

   *
   * @throws  IOException    Thrown if an IO error occurs.
   */
  protected void writeToFile(File file) throws IOException, XMLException
  {
    final DataCache cache = _plugin.getApplication().getDataCache();
    cache.saveDrivers(file);
  }
View Full Code Here

TOP

Related Classes of net.sourceforge.squirrel_sql.client.gui.db.DataCache

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.