Package net.sourceforge.squirrel_sql.fw.gui

Examples of net.sourceforge.squirrel_sql.fw.gui.TextPopupMenu$IOptionTypes



  protected BaseSQLEntryPanel(IApplication app)
  {
    _entryPanelIdentifier = ENTRY_PANEL_IDENTIFIER_FACTORY.createIdentifier();
    _textPopupMenu = new TextPopupMenu();
    _app = app;

    SwingUtilities.invokeLater(new Runnable()
    {
      public void run()
View Full Code Here


  public PopupEditableIOPanel(ColumnDisplayDefinition colDef,
                     Object value, boolean isEditable) {

    originalValue = value;  // save for possible future use

    _popupMenu = new TextPopupMenu();

    _colDef = colDef;
    _ta = CellComponentFactory.getJTextArea(colDef, value);

    if (isEditable) {
View Full Code Here

   */
  private JPanel createMainPanel()
  {
    _contentsTxt.setEditable(false);
    _contentsTxt.setContentType("text/html");
    final TextPopupMenu pop = new TextPopupMenu();
    pop.setTextComponent(_contentsTxt);
    _contentsTxt.addMouseListener(new MouseAdapter()
    {
      public void mousePressed(MouseEvent evt)
      {
        if (evt.isPopupTrigger())
        {
          pop.show(evt.getComponent(), evt.getX(), evt.getY());
        }
      }
      public void mouseReleased(MouseEvent evt)
      {
        if (evt.isPopupTrigger())
        {
          pop.show(evt.getComponent(), evt.getX(), evt.getY());
        }
      }
    });

    final JPanel pnl = new JPanel(new BorderLayout());
View Full Code Here

   * Create the main panel containing the log details and selector.
   */
  private JPanel createMainPanel()
  {
    // _logContentsTxt.setEditable(false);
    final TextPopupMenu pop = new TextPopupMenu();
    pop.setTextComponent(_logContentsTxt);
    _logContentsTxt.addMouseListener(new MouseAdapter()
    {
      @Override
      public void mousePressed(MouseEvent evt)
      {
        if (evt.isPopupTrigger())
        {
          pop.show(evt.getComponent(), evt.getX(), evt.getY());
        }
      }

      @Override
      public void mouseReleased(MouseEvent evt)
      {
        if (evt.isPopupTrigger())
        {
          pop.show(evt.getComponent(), evt.getX(), evt.getY());
        }
      }
    });

    final File appLogFile = new ApplicationFiles().getExecutionLogFile();
View Full Code Here

TOP

Related Classes of net.sourceforge.squirrel_sql.fw.gui.TextPopupMenu$IOptionTypes

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.