Package net.sourceforge.squirrel_sql.plugins.sqlval

Examples of net.sourceforge.squirrel_sql.plugins.sqlval.WebServiceSessionProperties


  public void actionPerformed(ActionEvent evt)
  {
    if (_session != null)
    {
      final WebServiceSessionProperties sessionProps = _plugin.getWebServiceSessionProperties(_session);
      final JDialog dlog = new LogonDialog(_session, _prefs, sessionProps);
      dlog.setVisible(true);
    }
  }
View Full Code Here


  public void actionPerformed(ActionEvent evt)
  {
    if (_session != null)
    {
      final WebServiceSessionProperties sessionProps = _plugin.getWebServiceSessionProperties(_session);
      if (!sessionProps.getWebServiceSession().isOpen())
      {
        JDialog dlog = new LogonDialog(_session, _prefs, sessionProps);
        dlog.setVisible(true);
      }

      if (sessionProps.getWebServiceSession().isOpen())
      {
        validateSQL();
      }
    }
  }
View Full Code Here

  {
    final ISQLPanelAPI api = _session.getSessionInternalFrame().getSQLPanelAPI();
    final String sql = api.getSQLScriptToBeExecuted();
    if (sql != null && sql.trim().length() > 0)
    {
      final WebServiceSessionProperties wssProps = _plugin.getWebServiceSessionProperties(_session);
      final String stmtSep= _session.getQueryTokenizer().getSQLStatementSeparator();
      final String solComment = _session.getQueryTokenizer().getLineCommentBegin();
      final ValidationProps valProps = new ValidationProps(_prefs, wssProps,
                          sql, stmtSep, solComment, _session);
      new Executor(_session.getApplication(), valProps, _session.getProperties()).execute();
View Full Code Here

  public void actionPerformed(ActionEvent evt)
  {
    if (_session != null)
    {
      WebServiceSessionProperties wss = _plugin.getWebServiceSessionProperties(_session);
      try
      {
        new DisconnectCommand(_session, _prefs, wss).execute();
      }
      catch (BaseException ex)
View Full Code Here

TOP

Related Classes of net.sourceforge.squirrel_sql.plugins.sqlval.WebServiceSessionProperties

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.