Package net.sourceforge.squirrel_sql.client.plugin

Examples of net.sourceforge.squirrel_sql.client.plugin.PluginException


       
        // Folder to store user settings.
        try {
            _userSettingsFolder = plugin.getPluginUserSettingsFolder();
        } catch (IOException ex) {
            throw new PluginException(ex);
        }       
        _prefs = defaultPrefsBean;
        loadPrefs();
        _initialized = true;
    }
View Full Code Here


    {
      _userSettingsFolder = getPluginUserSettingsFolder();
    }
    catch (IOException ex)
    {
      throw new PluginException(ex);
    }

    _resources = new ExportConfigResources(getClass().getName(), this);
  }
View Full Code Here

    {
      pluginAppFolder = getPluginAppSettingsFolder();
    }
    catch (IOException ex)
    {
      throw new PluginException(ex);
    }

    // Folder that stores Look and Feel jars.
    _lafFolder = new File(pluginAppFolder, "lafs");
    if (!_lafFolder.exists())
    {
      _lafFolder.mkdir();
    }

    // Folder to store user settings.
    try
    {
      _userSettingsFolder = getPluginUserSettingsFolder();
    }
    catch (IOException ex)
    {
      throw new PluginException(ex);
    }

    // Folder to contain extra LAFs supplied by the user.
    _userExtraLAFFolder = new File(_userSettingsFolder, ILAFConstants.USER_EXTRA_LAFS_FOLDER);
View Full Code Here

    try
    {
      _pluginAppFolder = getPluginAppSettingsFolder();
    } catch (IOException ex)
    {
      throw new PluginException(ex);
    }

    // Folder to store user settings.
    try
    {
      _userSettingsFolder = getPluginUserSettingsFolder();
    } catch (IOException ex)
    {
      throw new PluginException(ex);
    }

    _resources = new SessionScriptResources(BUNDLE_BASE_NAME, this);

    ActionCollection coll = app.getActionCollection();
    ViewSessionScriptsAction action = new ViewSessionScriptsAction(app, _resources, this);
    coll.add(action);
    app.addToMenu(IApplication.IMenuIDs.PLUGINS_MENU, action);

    try
    {
      _cache = new AliasScriptCache(this);
    } catch (IOException ex)
    {
      throw new PluginException(ex);
    }
    _cache.load();

  }
View Full Code Here

       
        // Folder to store user settings.
        try {
            _userSettingsFolder = plugin.getPluginUserSettingsFolder();
        } catch (IOException ex) {
            throw new PluginException(ex);
        }       
       
        loadPrefs();
    }
View Full Code Here

       
        // Folder to store user settings.
        try {
            _userSettingsFolder = plugin.getPluginUserSettingsFolder();
        } catch (IOException ex) {
            throw new PluginException(ex);
        }       
       
        loadPrefs();
    }
View Full Code Here

    {
      pluginAppFolder = getPluginAppSettingsFolder();
    }
    catch (IOException ex)
    {
      throw new PluginException(ex);
    }

    // Load resources such as menu items, etc...
    resources = new SQLReplaceResources(RESOURCE_PATH, this);
    replacementManager = new ReplacementManager(this);
View Full Code Here

    {
      _userSettingsFolder = getPluginUserSettingsFolder();
    }
    catch (IOException ex)
    {
      throw new PluginException(ex);
    }

    // Load plugin preferences.
    loadPrefs();
View Full Code Here

    public static void initialize(IPlugin plugin) throws PluginException {
        firebirdManagerPlugin = plugin;
        try {
            userSettingsFolder = firebirdManagerPlugin.getPluginUserSettingsFolder();
        } catch (IOException ex) {
            throw new PluginException(ex);
        }       
        firebirdManagerPrefs = (FirebirdManagerPreferenceBean)loadPreferences(PREFERENCES_BEAN_GLOBAL);
    }
View Full Code Here

    {
      _userSettingsFolder = getPluginUserSettingsFolder();
    }
    catch (IOException ex)
    {
      throw new PluginException(ex);
    }

    // Load plugin preferences.
    loadPrefs();
View Full Code Here

TOP

Related Classes of net.sourceforge.squirrel_sql.client.plugin.PluginException

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.