Package net.sourceforge.squirrel_sql.client.plugin

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


                        boolean foundTableExp = false;
                        boolean foundProcExp = false;
                        boolean foundUDTExp = false;
                        boolean foundDatabaseExp = false;
                        final IPluginManager pmgr = session.getApplication().getPluginManager();
                        for (Iterator<SessionPluginInfo> pluginItr = pmgr.getSessionPluginIterator(); pluginItr.hasNext();)
                        {
                            ISessionPlugin p = (pluginItr.next()).getSessionPlugin();
                            INodeExpander tableExp = p.getDefaultNodeExpander(session, DatabaseObjectType.TABLE_TYPE_DBO);
                            if (tableExp != null)
                            {
View Full Code Here


   * @return a set of plugin internal names
   */
  public Set<String> getInstalledPlugins()
  {
    Set<String> result = new HashSet<String>();
    IPluginManager pmgr = _app.getPluginManager();
    PluginInfo[] infos = pmgr.getPluginInformation();
    for (PluginInfo info : infos)
    {
      result.add(info.getInternalName());
    }
    return result;
View Full Code Here

  // TODO: This is a nasty quick hack. Needs an API to do this.
  private boolean isOsxPluginLoaded()
  {
    if (SystemProperties.isRunningOnOSX())
    {
      final IPluginManager mgr = _app.getPluginManager();
      PluginInfo[] ar = mgr.getPluginInformation();
      for (int i = 0; i < ar.length; ++i)
      {
        if (ar[i].getInternalName().equals("macosx"))
        {
          return ar[i].isLoaded();
View Full Code Here

TOP

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

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.