Examples of IApplication


Examples of net.sourceforge.squirrel_sql.client.IApplication

   *
   * @param  evt  The current event.
   */
  public void actionPerformed(ActionEvent evt)
  {
    IApplication app = getApplication();
    CursorChanger cursorChg = new CursorChanger(app.getMainFrame());
    cursorChg.show();
    try
    {
      new CloseAllSessionsCommand(app).execute();
    }
View Full Code Here

Examples of net.sourceforge.squirrel_sql.client.IApplication

      super(app);
   }

   protected void moveToFrontAndSelectAliasFrame()
   {
      IApplication app = getApplication();
      AliasesListInternalFrame tw = app.getWindowManager().getAliasesListInternalFrame();
      tw.moveToFront();
      try
      {
         tw.setSelected(true);
      }
View Full Code Here

Examples of net.sourceforge.squirrel_sql.client.IApplication

     *
     * @param evt
     *            The current event.
     */
    public void actionPerformed(ActionEvent evt) {
        IApplication app = getApplication();
        SavePreferencesCommand command =
            new SavePreferencesCommand(app, getParentFrame(evt));
        command.setDialogUtils(new DialogUtils());
        command.execute();
    }
View Full Code Here

Examples of net.sourceforge.squirrel_sql.client.IApplication

   *
   * @param  evt   The current event.
   */
  public void actionPerformed(ActionEvent evt)
  {
    final IApplication app = getApplication();
    final DriversListInternalFrame tw = app.getWindowManager().getDriversListInternalFrame();
    tw.moveToFront();
    try
    {
      tw.setSelected(true);
    }
View Full Code Here

Examples of net.sourceforge.squirrel_sql.client.IApplication

   *
   * @param  evt   The current event.
   */
  public void actionPerformed(ActionEvent evt)
  {
    IApplication app = getApplication();
    DriversListInternalFrame tw = app.getWindowManager().getDriversListInternalFrame();
    tw.moveToFront();
    try
    {
      tw.setSelected(true);
    }
View Full Code Here

Examples of net.sourceforge.squirrel_sql.client.IApplication

      //throw new WrappedSQLException(ex);
        }
    }
   
    private JMenu createFullMssqlMenu() {
    final IApplication app = getApplication();
    final ActionCollection coll = app.getActionCollection();

    final JMenu mssqlMenu = _resources.createMenu(MssqlResources.IMenuResourceKeys.MSSQL);
       
        _resources.addToMenu(coll.get(GenerateSqlAction.class),mssqlMenu);
       
View Full Code Here

Examples of net.sourceforge.squirrel_sql.client.IApplication

       
    return mssqlMenu;
  }
   
    private JMenu addToMssqlCatalogMenu(JMenu menu) {
        final IApplication app = getApplication();
    final ActionCollection coll = app.getActionCollection();
        final MssqlPlugin plugin = this;

        final JMenu mssqlMenu;
        if (menu == null)
            mssqlMenu = _resources.createMenu(MssqlResources.IMenuResourceKeys.MSSQL);
View Full Code Here

Examples of net.sourceforge.squirrel_sql.client.IApplication

       
    return mssqlMenu;
    }
   
    private JMenu addToMssqlProcedureMenu(JMenu menu) {
        final IApplication app = getApplication();
    final ActionCollection coll = app.getActionCollection();

        final JMenu mssqlMenu;
        if (menu == null)
            mssqlMenu = _resources.createMenu(MssqlResources.IMenuResourceKeys.MSSQL);
        else
View Full Code Here

Examples of net.sourceforge.squirrel_sql.client.IApplication

    // Load plugin preferences.
    loadPrefs();

    // Install the factory for creating SQL entry text controls.
    final IApplication app = getApplication();
    final ISQLEntryPanelFactory originalFactory = app.getSQLEntryPanelFactory();
    //_sqlEntryFactoryProxy = new OsterSQLEntryAreaFactory(this, originalFactory);

    _sqlEntryFactoryProxy = new SQLEntryPanelFactoryProxy(this, originalFactory);

    app.setSQLEntryPanelFactory(_sqlEntryFactoryProxy);

    _autoCorrectProvider = new AutoCorrectProviderImpl(_userSettingsFolder);

    createMenu();
  }
View Full Code Here

Examples of net.sourceforge.squirrel_sql.client.IApplication

    createMenu();
  }

  private void createMenu()
  {
    IApplication app = getApplication();
    ActionCollection coll = app.getActionCollection();

    JMenu menu = _resources.createMenu(IMenuResourceKeys.MENU);
    app.addToMenu(IApplication.IMenuIDs.SESSION_MENU, menu);

    Action act = new ConfigureAutoCorrectAction(app, _resources, this);
    coll.add(act);
    _resources.addToMenu(act, menu);
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.