Package net.sourceforge.squirrel_sql.client.gui.desktopcontainer

Examples of net.sourceforge.squirrel_sql.client.gui.desktopcontainer.ISessionWidget


  /**
   * Close the session.
   */
  public void execute()
  {
      ISessionWidget activeSessionWindow = _session.getActiveSessionWindow();
      if(activeSessionWindow instanceof SQLInternalFrame || activeSessionWindow instanceof ObjectTreeInternalFrame)
      {
         activeSessionWindow.closeFrame(true);
      }
      else
      {
       _session.getApplication().getSessionManager().closeSession(_session);
      }
View Full Code Here


            {
               WindowManager wm = getSession().getApplication().getWindowManager();
               ISessionWidget[] frames = wm.getAllFramesOfSession(getSession().getIdentifier());
               for (int i = 0; i < frames.length; i++)
               {
                  ISessionWidget widget = frames[i];
                  try
                  {
                     if (widget instanceof SessionInternalFrame)
                     {
                        SessionInternalFrame sif =
View Full Code Here

   }

   private void repaintSqlEditor()
   {
      ISessionWidget activeSessionWidget = _session.getActiveSessionWindow();

      if (activeSessionWidget instanceof SQLInternalFrame)
      {
         ISQLEntryPanel sqlEntryPanel = ((SQLInternalFrame) activeSessionWidget).getSQLPanelAPI().getSQLEntryPanel();
         sqlEntryPanel.getTextComponent().repaint();
View Full Code Here

TOP

Related Classes of net.sourceforge.squirrel_sql.client.gui.desktopcontainer.ISessionWidget

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.