Package net.sourceforge.squirrel_sql.client.plugin

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


      IObjectTreeAPI objectTreeApi = session.getSessionInternalFrame()
          .getObjectTreeAPI();
      objectTreeApi.addToPopup(DatabaseObjectType.SESSION,
          getSmarttoolsMenu(getApplication(), session, true));

      return new PluginSessionCallback() {
        public void sqlInternalFrameOpened(
            SQLInternalFrame sqlInternalFrame, ISession sess) {
          // plugin supports Session main window only
        }
View Full Code Here


    oracleSessions.add(session);

    checkTimestampSetting(session);

    PluginSessionCallback ret = new PluginSessionCallback()
    {
      public void sqlInternalFrameOpened(SQLInternalFrame sqlInternalFrame, ISession sess)
      {
        onSQLInternaFrameOpened(sqlInternalFrame, sess);
      }
View Full Code Here

      {
        session.getSQLPanelAPIOfActiveSessionWindow().addExecutor(new ExplainExecuterPanel(session));
      }
    });

    return new PluginSessionCallback()
    {
      public void sqlInternalFrameOpened(final SQLInternalFrame sqlInternalFrame, final ISession sess)
      {
        SwingUtilities.invokeLater(new Runnable()
        {
View Full Code Here

  }

  public PluginSessionCallback sessionStarted(ISession session)
  {

      PluginSessionCallback ret = new PluginSessionCallback()
      {
         public void sqlInternalFrameOpened(SQLInternalFrame sqlInternalFrame, ISession sess)
         {
            // TODO
            // Plugin supports only the main session window
View Full Code Here

       GUIUtils.processOnSwingEventThread(new Runnable() {
           public void run() {
               updateTreeApi(session);
           }
       });
       return new PluginSessionCallback()
       {
           public void sqlInternalFrameOpened(SQLInternalFrame sqlInternalFrame, ISession sess)
           {
               // Supports Session main window only
           }
View Full Code Here

    ISQLPanelAPI sqlPaneAPI = session.getSessionSheet().getSQLPaneAPI();
      initCodeCompletionSqlEditor(sqlPaneAPI, session);

      initCodeCompletionObjectTreeFind(session, session.getSessionSheet().getObjectTreePanel());

      PluginSessionCallback ret = new PluginSessionCallback()
    {
      public void sqlInternalFrameOpened(final SQLInternalFrame sqlInternalFrame, final ISession sess)
      {
            initCodeCompletionSqlEditor(sqlInternalFrame.getSQLPanelAPI(), sess);
      }
View Full Code Here

  public PluginSessionCallback sessionStarted(ISession session)
  {
      ISQLPanelAPI sqlPanelAPI = FrameWorkAcessor.getSQLPanelAPI(session, this);
      initEditExtras(sqlPanelAPI);

      PluginSessionCallback ret = new PluginSessionCallback()
      {
         public void sqlInternalFrameOpened(final SQLInternalFrame sqlInternalFrame,
                                            final ISession sess)
         {
             initEditExtras(sqlInternalFrame.getSQLPanelAPI());        
View Full Code Here

      {
        addActionsToPopup(session);
      }
    });

    PluginSessionCallback ret = new PluginSessionCallback()
    {
      public void sqlInternalFrameOpened(SQLInternalFrame sqlInternalFrame, ISession sess)
      {
        ActionCollection coll = sess.getApplication().getActionCollection();
        sqlInternalFrame.addSeparatorToToolbar();
View Full Code Here

    log.info("Initializing plugin");
    ISQLPanelAPI sqlPaneAPI = session.getSessionSheet().getSQLPaneAPI();

    initSQLParam(sqlPaneAPI, session);

    PluginSessionCallback ret = new PluginSessionCallback()
    {
      public void sqlInternalFrameOpened(final SQLInternalFrame sqlInternalFrame, final ISession sess)
      {
        initSQLParam(sqlInternalFrame.getSQLPanelAPI(), sess);
      }
View Full Code Here

        IObjectTreeAPI objectTreeApi = session
            .getSessionInternalFrame().getObjectTreeAPI();
        objectTreeApi.addToPopup(DatabaseObjectType.SESSION,
            getFirebirdManagerMenu(getApplication(), session, true));

        return new PluginSessionCallback() {
          public void sqlInternalFrameOpened(
              SQLInternalFrame sqlInternalFrame, ISession sess) {
            // plugin supports Session main window only
          }
View Full Code Here

TOP

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

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.