Package net.sourceforge.squirrel_sql.client.plugin

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


    _mssqlMenu = createFullMssqlMenu();
       
    app.addToMenu(IApplication.IMenuIDs.SESSION_MENU, _mssqlMenu);
        super.registerSessionMenu(_mssqlMenu);
       
        _prefsManager = new PluginQueryTokenizerPreferencesManager();
        _prefsManager.initialize(this, new MSSQLPreferenceBean());       
    }
View Full Code Here


      } else
      {
        _oracleAliasPrefsByAliasIdentifier = new Hashtable<IIdentifier, OracleAliasPrefs>();
      }
      _prefsManager = new PluginQueryTokenizerPreferencesManager();
      _prefsManager.initialize(this, new OraclePreferenceBean());

      /* Register custom DataTypeComponent factory for Oracles XMLType */
      CellComponentFactory.registerDataTypeFactory(
         new OracleXmlTypeDataTypeComponentFactory(), 2007, "SYS.XMLTYPE");
View Full Code Here

      //Add session ended listener -- needs for Embedded Derby DB
      _app.getSessionManager().addSessionListener(new SessionListener());

     

      _prefsManager = new PluginQueryTokenizerPreferencesManager();
      _prefsManager.initialize(this, new DerbyPreferenceBean());

      /** Need to do this to pickup user's prefs from file */
      DerbyPreferenceBean prefBean = (DerbyPreferenceBean) _prefsManager.getPreferences();

View Full Code Here

    _mySQLMenu = createFullMysqlMenu();
    app.addToMenu(IApplication.IMenuIDs.SESSION_MENU, _mySQLMenu);
    super.registerSessionMenu(_mySQLMenu);

    _prefsManager = new PluginQueryTokenizerPreferencesManager();
    _prefsManager.initialize(this, new MysqlPreferenceBean());
   
      /* Register custom DataTypeComponent factory for MySQL TINYINT UNSIGNED type */
      CellComponentFactory.registerDataTypeFactory(new MySQLByteTypeDataTypeComponentFactory(),
                                                   -6,
View Full Code Here

    private IPlugin mockPlugin = mock(IPlugin.class)
   
    @Before
    public void setUp() throws Exception {
        createSQLFile();
        PluginQueryTokenizerPreferencesManager prefsManager = new PluginQueryTokenizerPreferencesManager();
        prefsManager.initialize(mockPlugin, new OraclePreferenceBean());
        _prefs = prefsManager.getPreferences();
        _prefs.setRemoveMultiLineComments(false);
    }
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

   * @see net.sourceforge.squirrel_sql.client.plugin.DefaultPlugin#initialize()
   */
  @Override
  public void initialize() throws PluginException
  {
    _prefsManager = new PluginQueryTokenizerPreferencesManager();
    _prefsManager.initialize(this, new NetezzaPreferenceBean());
 
View Full Code Here

TOP

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

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.