Examples of ISessionWidget


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

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

            {
               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

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

   }

   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
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.