Package org.eclipse.jface.preference

Examples of org.eclipse.jface.preference.IntegerFieldEditor


    protected void createFieldEditors() {
        final Composite p = getFieldEditorParent();

        addField(new BooleanFieldEditor(USE_PYLINT, "Use pylint?", p));
        addField(new BooleanFieldEditor(USE_CONSOLE, "Redirect PyLint output to console?", p));
        addField(new IntegerFieldEditor(MAX_PYLINT_DELTA, "Max simultaneous processes for PyLint?", p));
        FileFieldEditor fileField = new FileFieldEditor(PYLINT_FILE_LOCATION, "Location of pylint (lint.py):", true, p);
        addField(fileField);

        addField(new RadioGroupFieldEditor(SEVERITY_FATAL, "FATAL Severity", COLS, LABEL_AND_VALUE, p, true));
View Full Code Here


        addField(new BooleanFieldEditor(USE_PYDEV_BUILDERS, "Use builders?", p));

        //Analysis only on save means that we'll not have parse notifications (so, things will be analyzed only on save)
        addField(new BooleanFieldEditor(PyParserManager.USE_PYDEV_ANALYSIS_ONLY_ON_DOC_SAVE,
                "Disable parser notifications?", p));
        addField(new IntegerFieldEditor(PyParserManager.PYDEV_ELAPSE_BEFORE_ANALYSIS,
                "Time to elapse before reparsing changed file (millis)", p));

        s = "If only open editors are analyzed, markers will only be added\n" +
                "to the opened PyDev editors.\n";
        addField(new LabelFieldEditor("ActiveBufferLabelFieldEditor", s, p));
View Full Code Here

    @Override
    protected void createFieldEditors() {
        Composite p = getFieldEditorParent();

        addField(new IntegerFieldEditor(
                CodeCompletionPreferencesInitializer.CHARS_FOR_CTX_INSENSITIVE_MODULES_COMPLETION,
                "Number of chars for showing modules in context-insensitive completions?", p));

        addField(new IntegerFieldEditor(
                CodeCompletionPreferencesInitializer.CHARS_FOR_CTX_INSENSITIVE_TOKENS_COMPLETION,
                "Number of chars for showing global tokens in context-insensitive completions?", p));

        addField(new BooleanFieldEditor(CodeCompletionPreferencesInitializer.USE_KEYWORDS_CODE_COMPLETION,
                "Use common tokens auto code completion?", p));
View Full Code Here

                "Initial\ninterpreter\ncommands:\n", p));

        addField(new StringFieldEditor(PydevConsoleConstants.INTERACTIVE_CONSOLE_VM_ARGS,
                "Vm Args for jython\n(used only on external\nprocess option):", p));

        addField(new IntegerFieldEditor(PydevConsoleConstants.INTERACTIVE_CONSOLE_MAXIMUM_CONNECTION_ATTEMPTS,
                "Maximum connection attempts\nfor initial communication:", p));

        addField(new BooleanFieldEditor(PydevConsoleConstants.INTERACTIVE_CONSOLE_FOCUS_ON_CONSOLE_START,
                "Focus console when it's started?", BooleanFieldEditor.SEPARATE_LABEL, p));
View Full Code Here

                PreferenceConstants.EDITOR_MATCHING_BRACKETS,
                Messages.ClojurePreferencePage_highlight_matching_brackets,
                getFieldEditorParent()));

        addField(
            new IntegerFieldEditor(AbstractDecoratedTextEditorPreferenceConstants.EDITOR_TAB_WIDTH, Messages.ClojurePreferencePage_displayed_tab_width, getFieldEditorParent()));
       
        addField(
        new BooleanFieldEditor(ccw.preferences.PreferenceConstants.SWITCH_TO_NS_ON_REPL_STARTUP, Messages.ClojurePreferencePage_switch_to_ns_on_repl_startup, getFieldEditorParent()));

        addField(
View Full Code Here

        setDescription(Messages.ClojureREPLHistoryPreferencePage_Description);
    }

    public void createFieldEditors() {

      addField(new IntegerFieldEditor(
          ccw.preferences.PreferenceConstants.REPL_HISTORY_MAX_SIZE,
          Messages.REPLHistoryPreferencePage_max_size,
          getFieldEditorParent()));
      addField(new IntegerFieldEditor(
          ccw.preferences.PreferenceConstants.REPL_HISTORY_PERSIST_SCHEDULE,
          Messages.REPLHistoryPreferencePage_persist_schedule,
          getFieldEditorParent()));
    }
View Full Code Here

        .setToolTipText(
            UIText.CommittingPreferencePage_signedOffByTooltip);
    addField(signedOffBy);
    updateMargins(footersGroup);

    IntegerFieldEditor historySize = new IntegerFieldEditor(
        UIPreferences.COMMIT_DIALOG_HISTORY_SIZE,
        UIText.CommittingPreferencePage_commitMessageHistory, main);
    addField(historySize);

    BooleanFieldEditor includeUntracked = new BooleanFieldEditor(
View Full Code Here

    GridDataFactory.fillDefaults().grab(true, false).span(GROUP_SPAN, 1)
        .applyTo(remoteConnectionsGroup);
    remoteConnectionsGroup
        .setText(UIText.GitPreferenceRoot_RemoteConnectionsGroupHeader);

    IntegerFieldEditor timeoutEditor = new IntegerFieldEditor(
        UIPreferences.REMOTE_CONNECTION_TIMEOUT,
        UIText.RemoteConnectionPreferencePage_TimeoutLabel,
        remoteConnectionsGroup);
    timeoutEditor.getLabelControl(remoteConnectionsGroup).setToolTipText(
        UIText.RemoteConnectionPreferencePage_ZeroValueTooltip);
    addField(timeoutEditor);
    updateMargins(remoteConnectionsGroup);

    Group repoChangeScannerGroup = new Group(main, SWT.SHADOW_ETCHED_IN);
View Full Code Here

        showGroup));
    addField(new BooleanFieldEditor(
        UIPreferences.RESOURCEHISTORY_SHOW_EMAIL_ADDRESSES,
        UIText.HistoryPreferencePage_toggleEmailAddresses,
        showGroup));
    addField(new IntegerFieldEditor(UIPreferences.HISTORY_MAX_NUM_COMMITS,
        UIText.ResourceHistory_MaxNumCommitsInList,
        showGroup));
    addField(new IntegerFieldEditor(UIPreferences.HISTORY_MAX_TAG_LENGTH,
        UIText.HistoryPreferencePage_MaxTagLength,
        showGroup));
    addField(new IntegerFieldEditor(
        UIPreferences.HISTORY_MAX_BRANCH_LENGTH,
        UIText.HistoryPreferencePage_MaxBranchLength,
        showGroup));
    addField(new BooleanFieldEditor(UIPreferences.HISTORY_CUT_AT_START,
        UIText.HistoryPreferencePage_toggleShortenAtStart, showGroup));
View Full Code Here

   * Creates the field editors. Field editors are abstractions of the common
   * GUI blocks needed to manipulate various types of preferences. Each field
   * editor knows how to save and restore itself.
   */
  public void createFieldEditors() {
    addField(new IntegerFieldEditor(PreferenceConstants.P_PORT, "&Port number:", getFieldEditorParent()));
    addField(new BooleanFieldEditor(PreferenceConstants.P_FOCUS, "&Focus window after opening",
        getFieldEditorParent()));
  }
View Full Code Here

TOP

Related Classes of org.eclipse.jface.preference.IntegerFieldEditor

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.