Package net.sourceforge.squirrel_sql.fw.gui

Examples of net.sourceforge.squirrel_sql.fw.gui.WindowState


  private void refresh()
  {
    if (_aliasesWindowState == null)
    {
      _aliasesWindowState = new WindowState();
    }
    if (_driversWindowState == null)
    {
      _driversWindowState = new WindowState();
    }

    if (_mgr != null)
    {
      _aliasesWindowState.copyFrom(_mgr.getAliasesWindowState());
View Full Code Here


    return _driversListWindow;
  }

  public WindowState getAliasesWindowState()
  {
    return new WindowState(_aliasesListWindow.getInternalFrame());
  }
View Full Code Here

    return new WindowState(_aliasesListWindow.getInternalFrame());
  }

  public WindowState getDriversWindowState()
  {
    return new WindowState(_driversListWindow.getInternalFrame());
  }
View Full Code Here

  }

   private void prepareDriversWindow(MainFrameWindowState ws)
   {
      _mainFrame.addWidget(_driversListWindow);
      WindowState toolWs = ws.getDriversWindowState();
      _driversListWindow.setBounds(toolWs.getBounds().createRectangle());

      if (toolWs.isVisible() && _app.getDesktopStyle().isInternalFrameStyle())
      {
         _driversListWindow.setVisible(true);

         // Has to be done directly on the main frame because of racing condition at start up.
         _mainFrame.setEnabledDriversMenu(true);
View Full Code Here

      }
   }

   private void prepareAliasWindow(MainFrameWindowState ws)
   {
      WindowState toolWs;
      _mainFrame.addWidget(_aliasesListWindow);
      toolWs = ws.getAliasesWindowState();
      _aliasesListWindow.setBounds(toolWs.getBounds().createRectangle());
      if (
              (toolWs.isVisible() && _app.getDesktopStyle().isInternalFrameStyle())
           || (false == _app.getDesktopStyle().isInternalFrameStyle() && false == _aliasesListWindow.isEmpty())
         )
      {
         _aliasesListWindow.setVisible(true);
View Full Code Here

TOP

Related Classes of net.sourceforge.squirrel_sql.fw.gui.WindowState

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.