Package net.sourceforge.squirrel_sql.fw.gui

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


    gbc = new GridBagConstraints(0,0,1,1,0,0,GridBagConstraints.NORTHWEST, GridBagConstraints.HORIZONTAL, new Insets(5,5,5,5),0,0 );
    // i18n[codeCompletion.prefsExplain=When completing functions SQuirreL doesn't know
    // if a function is a stored procedure or a user defined function.
    // To make code completion of these two kinds of functions convenient SQuirreL offers to
    // configure which way completion should work.]
    add(new MultipleLineLabel(s_stringMgr.getString("codeCompletion.prefsExplain")), gbc);

    gbc = new GridBagConstraints(0,1,1,1,0,0,GridBagConstraints.NORTHWEST, GridBagConstraints.NONE, new Insets(5,5,5,5),0,0 );
    // i18n[codeCompletion.globalFunctCompltion=If there is no matching prefix configuration functions should complete like:]
    add(new JLabel(s_stringMgr.getString("codeCompletion.globalFunctCompltion")),gbc);
View Full Code Here


      GridBagConstraints gbc;

      // i18n[CodeCompletionPreferencesPanel.maxLastSelectedCompletionNames=If you call code completion without being in the scope of a table,
      //for which number of tables the parser last found would you like to see colums on top of the completion list?]
      MultipleLineLabel lbl = new MultipleLineLabel(s_stringMgr.getString("CodeCompletionPreferencesPanel.maxLastSelectedCompletionNames"));
      //JLabel lbl = new JLabel(s_stringMgr.getString("CodeCompletionPreferencesPanel.maxLastSelectedCompletionNames"));
      gbc = new GridBagConstraints(0, 0, 2, 1, 1, 0, GridBagConstraints.NORTHWEST, GridBagConstraints.HORIZONTAL, new Insets(0, 5, 5, 5), 0, 0);
      ret.add(lbl, gbc);

      gbc = new GridBagConstraints(0, 1, 1, 1, 0, 0, GridBagConstraints.NORTHWEST, GridBagConstraints.NONE, new Insets(0, 5, 5, 5), 0, 0);
View Full Code Here

      GridBagConstraints gbc;

      // i18n[CodeCompletionPreferencesPanel.showRemarksInColumnCompletionNote=
      // Choose this option to see column remarks in code completion lists.\n
      // Note: If you change this option on a running Session you need to do a Session cache refresh (F5)]
      MultipleLineLabel lbl = new MultipleLineLabel(s_stringMgr.getString("CodeCompletionPreferencesPanel.showRemarksInColumnCompletionNote"));
      gbc = new GridBagConstraints(0, 0, 2, 1, 1, 0, GridBagConstraints.NORTHWEST, GridBagConstraints.HORIZONTAL, new Insets(0, 5, 5, 5), 0, 0);
      ret.add(lbl, gbc);

      gbc = new GridBagConstraints(0, 1, 1, 1, 0, 0, GridBagConstraints.NORTHWEST, GridBagConstraints.NONE, new Insets(0, 5, 5, 5), 0, 0);
      // i18n[CodeCompletionPreferencesPanel.showRemarksInColumnCompletionChk=Show remarks in column completion]
View Full Code Here

      tblAutoCorrects = new JTable();
      gbc = new GridBagConstraints(0,1,4,1,1,1,GridBagConstraints.NORTHWEST, GridBagConstraints.BOTH, new Insets(5,5,5,5),0,0);
      getContentPane().add(new JScrollPane(tblAutoCorrects), gbc);

      //i8n[syntax.abrevNewLineNote=Use \n in corrections for line break. Note: Bookmarks are more powerful than abreviations.]
      lblNewLineNote = new MultipleLineLabel(s_stringMgr.getString("syntax.abrevNewLineNote"));
      lblNewLineNote.setForeground(Color.red);
      gbc = new GridBagConstraints(0,2,4,1,0,0,GridBagConstraints.NORTHWEST, GridBagConstraints.HORIZONTAL, new Insets(5,5,5,5),0,0);
      getContentPane().add(lblNewLineNote, gbc);

View Full Code Here

    // To have a ]] in a property use ]]]] in the comment. /* ... */ comments are not supported.\n\n
    //The parser is also able to replace a string in the source code by the usual s_stringMgr.getString("key") if:\n
    // - the string fits in none line\n
    // - the i18n comment is placed in the line above the string\n
    // - the string doesn't contain parameters]
    MultipleLineLabel lblDescription = new MultipleLineLabel(s_stringMgr.getString("I18n.appendCodeDescription"));
      add(lblDescription, gbc);

      gbc = new GridBagConstraints(0,2,3,1,0,0, GridBagConstraints.NORTHWEST, GridBagConstraints.NONE, new Insets(5,5,5,5),0,0);
    // i18n[I18n.appendI18nStringsProps=Create/Append I18nString.properties files]
      btnAppendI18nInCode = new JButton(s_stringMgr.getString("I18n.appendI18nStringsProps"));
View Full Code Here

      JPanel translationsPanel = getTranslationsPanel(resources);
      // i18n[I18n.tranlations=Translations]
      tabTranlators.addTab(s_stringMgr.getString("I18n.tranlations"), translationsPanel);

      // i18n[I18n.info=Info]
      tabTranlators.addTab(s_stringMgr.getString("I18n.info"), new JScrollPane(new MultipleLineLabel(infoText)));


      String includeTimestamp =
          Preferences.userRoot().get(PREF_KEY_INCLUDE_TIMESTAMP, "true");
     
View Full Code Here



      gbc = new GridBagConstraints(0, 3, 1, 1, 0, 0, GridBagConstraints.NORTHWEST, GridBagConstraints.NONE, new Insets(5, 5, 5, 5), 0, 0);
      // i18n[I18n.NativeToAscii=Path to native to Unicode converter (JDK's native2ascii)]
      ret.add(new MultipleLineLabel(s_stringMgr.getString("I18n.NativeToAscii")), gbc);

      gbc = new GridBagConstraints(1, 3, 1, 1, 1, 0, GridBagConstraints.CENTER, GridBagConstraints.HORIZONTAL, new Insets(5, 0, 0, 5), 0, 0);
      ret.add(txtNativeToAsciiCommand, gbc);

      btnChooseNativeToAsciiCommand = new JButton(resources.getIcon("Open"));
View Full Code Here

      gbc = new GridBagConstraints(0,3,1,1,0,0, GridBagConstraints.NORTHWEST, GridBagConstraints.HORIZONTAL, new Insets(5,5,5,5), 0,0);
      getContentPane().add(createNamePanel(), gbc);

      gbc = new GridBagConstraints(0,4,1,1,0,0, GridBagConstraints.NORTHWEST, GridBagConstraints.HORIZONTAL, new Insets(5,5,5,5), 0,0);
      MultipleLineLabel lblHint = new MultipleLineLabel(s_stringMgr.getString("graph.ConfigureNonDbConstraintDlg.NonDbConstraintHint"));
      lblHint.setForeground(Color.red);
      getContentPane().add(lblHint, gbc);

      gbc = new GridBagConstraints(0,5,1,1,0,0, GridBagConstraints.NORTHWEST, GridBagConstraints.HORIZONTAL, new Insets(5,5,5,5), 0,0);
      getContentPane().add(createButtonsPanel(), gbc);
View Full Code Here

TOP

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

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.