Package net.sourceforge.squirrel_sql.client.plugin

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


   */
  public synchronized void load(IApplication app) throws PluginException
  {
    super.load(app);

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


  {
    Map<String, URL> lafs = new HashMap<String, URL>();
    // Directory containing the standard LAF jar files.
    final File stdLafJarDir = _plugin.getLookAndFeelFolder();
    // Load info about the standard LAFs that come with this plugin.
    PluginResources rsrc = _plugin.getResources();
    for (int i = 0; /* forever */; ++i)
    {
      try
      {
        String className = rsrc.getString(LAFPluginResources.IKeys.CLASSNAME + i);
        if (className == null || className.length() == 0)
        {
          break;
        }
        String jarName = rsrc.getString(LAFPluginResources.IKeys.JAR + i);
        if (jarName == null || jarName.length() == 0)
        {
          break;
        }

View Full Code Here

   {
      super.initialize();
      IApplication app = getApplication();

      _resources =
         new PluginResources(
            "net.sourceforge.squirrel_sql.plugins.graph.graph",
            this);


View Full Code Here

   */
  public synchronized void initialize() throws PluginException
  {
    super.initialize();

    _resources = new PluginResources(getClass().getName(), this);

    // Folder to store user settings.
    try
    {
      _userSettingsFolder = getPluginUserSettingsFolder();
View Full Code Here

  /**
   * Initialize this plugin.
   */
  public synchronized void initialize() throws PluginException
  {
    _resources = new PluginResources("net.sourceforge.squirrel_sql.plugins.i18n.i18n", this);
  }
View Full Code Here

    } catch (IOException ex) {
      throw new PluginException(ex);
    }
    _cache.load();

    _resources = new PluginResources("net.sourceforge.squirrel_sql.plugins.favs.saved_queries", this);

    ActionCollection coll = app.getActionCollection();

    coll.add(new DeleteSavedQueriesFolderAction(app, _resources));
    coll.add(new NewSavedQueriesFolderAction(app, _resources));
View Full Code Here

  /**
   * Initialize this plugin.
   */
  public synchronized void initialize() throws PluginException
  {
    _resources = new PluginResources("net.sourceforge.squirrel_sql.plugins.SybaseASE.SybaseASE", this);
        _prefsManager = new PluginQueryTokenizerPreferencesManager();
        _prefsManager.initialize(this, new SybasePreferenceBean());

  }
View Full Code Here

   {
      super.initialize();
      IApplication app = getApplication();

      _resources =
         new PluginResources(
            "net.sourceforge.squirrel_sql.plugins.userscript.userscript",
            this);


View Full Code Here

  /**
   * Initialize this plugin.
   */
  public synchronized void initialize() throws PluginException
  {
    _resources = new PluginResources("net.sourceforge.squirrel_sql.plugins.example.example", this);
  }
View Full Code Here

TOP

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

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.