Package org.eclipse.jface.preference

Examples of org.eclipse.jface.preference.BooleanFieldEditor


        setPreferenceStore(store);
    }
   
    @Override
    protected void createFieldEditors() {        
        addField(new BooleanFieldEditor(Preferences.DISPLAY_TMLEDITOR_TOOLBAR, "Display editors toolbar", getFieldEditorParent()));
    }
View Full Code Here


  protected void createFieldEditors() {
    addField(new IntegerFieldEditor(PreferenceConstants.TOMCAT_SERVER_PORT, "Tomcat server port:", getFieldEditorParent()));
    addField(new IntegerFieldEditor(PreferenceConstants.TOMCAT_HTTP_PORT, "Tomcat HTTP port:", getFieldEditorParent()));
    addField(new IntegerFieldEditor(PreferenceConstants.TOMCAT_REDIRECT_PORT, "Tomcat redirect port:", getFieldEditorParent()));
   
    addField(new BooleanFieldEditor(PreferenceConstants.TMLSCRIPT_DEBUG,
        "enable TML-Script debugger",
        SWT.NONE, getFieldEditorParent()));

    addField(new BooleanFieldEditor(PreferenceConstants.JAVA_DEBUG,
        "enable Java debugging",
        SWT.NONE, getFieldEditorParent()));
   
    addField(new IntegerFieldEditor(PreferenceConstants.JAVA_MIN_HEAP_SIZE, "Minimum Java heap size (in MB):", getFieldEditorParent()));
   
View Full Code Here

        tabMisc.setControl(rateGroup);

        SupportPanel.createSupportLinks(rateGroup);


        addField(new BooleanFieldEditor(
            BCOConstants.LINK_VIEW_TO_EDITOR, BytecodeOutlinePlugin
                .getResourceString("BCOPreferencePage.linkViewToEditor"),
            viewGroup));

        addField(new BooleanFieldEditor(
            BCOConstants.LINK_REF_VIEW_TO_EDITOR, BytecodeOutlinePlugin
                .getResourceString("BCOPreferencePage.linkRefViewToEditor"),
            viewGroup));

        addField(new BooleanFieldEditor(
            BCOConstants.SHOW_ONLY_SELECTED_ELEMENT, BytecodeOutlinePlugin
                .getResourceString("BCOPreferencePage.showOnlySelected"),
            viewGroup));

        addField(new BooleanFieldEditor(
            BCOConstants.SHOW_RAW_BYTECODE, BytecodeOutlinePlugin
                .getResourceString("BCOPreferencePage.showRawBytecode"),
            viewGroup));

        addField(new BooleanFieldEditor(
            BCOConstants.SHOW_ASMIFIER_CODE, BytecodeOutlinePlugin
                .getResourceString("BCOPreferencePage.showAsmifierCode"),
            viewGroup));

        addField(new BooleanFieldEditor(
            BCOConstants.SHOW_ANALYZER, BytecodeOutlinePlugin
                .getResourceString("BCOPreferencePage.showAnalyzer"), viewGroup));

        addField(new BooleanFieldEditor(
            BCOConstants.SHOW_LINE_INFO, BytecodeOutlinePlugin
                .getResourceString("BCOPreferencePage.showLineInfo"), viewGroup));

        addField(new BooleanFieldEditor(
            BCOConstants.SHOW_VARIABLES, BytecodeOutlinePlugin
                .getResourceString("BCOPreferencePage.showVariables"),
            viewGroup));

        addField(new BooleanFieldEditor(
            BCOConstants.SHOW_STACKMAP, BytecodeOutlinePlugin
                .getResourceString("BCOPreferencePage.showStackMap"), viewGroup));

        addField(new BooleanFieldEditor(
            BCOConstants.SHOW_HEX_VALUES, BytecodeOutlinePlugin
                .getResourceString("BCOPreferencePage.showHexValues"),
            viewGroup));

        addField(new BooleanFieldEditor(
            BCOConstants.EXPAND_STACKMAP, BytecodeOutlinePlugin
            .getResourceString("BCOPreferencePage.expandStackMap"),
            viewGroup));

        addField(new BooleanFieldEditor(
            BCOConstants.DIFF_SHOW_ASMIFIER_CODE, BytecodeOutlinePlugin
                .getResourceString("BCOPreferencePage.diffShowAsmifierCode"),
            compareGroup));
        addField(new BooleanFieldEditor(
            BCOConstants.DIFF_SHOW_LINE_INFO, BytecodeOutlinePlugin
                .getResourceString("BCOPreferencePage.diffShowLineInfo"),
            compareGroup));
        addField(new BooleanFieldEditor(
            BCOConstants.DIFF_SHOW_VARIABLES, BytecodeOutlinePlugin
                .getResourceString("BCOPreferencePage.diffShowVariables"),
            compareGroup));
        addField(new BooleanFieldEditor(
            BCOConstants.DIFF_SHOW_STACKMAP, BytecodeOutlinePlugin
                .getResourceString("BCOPreferencePage.diffShowStackMap"),
            compareGroup));

        addField(new BooleanFieldEditor(
            BCOConstants.DIFF_EXPAND_STACKMAP, BytecodeOutlinePlugin
                .getResourceString("BCOPreferencePage.diffExpandStackMap"),
            compareGroup));

        // addField( new BooleanFieldEditor( BCOConstants.RECALCULATE_STACKMAP,
View Full Code Here

    };

    addField(new ComboFieldEditor(Prefs.PROP_CHECK_SCOPE, "Check scope",
        values , getFieldEditorParent()));

    addField(new BooleanFieldEditor(Prefs.PROP_ADD_JAVAAGENT,
        "Add -javaagent:jmockit.jar when running JUnit", getFieldEditorParent()));
  }
View Full Code Here

   * of preferences. Each field editor knows how to save and
   * restore itself.
   */
  public void createFieldEditors() {
    addField(
      new BooleanFieldEditor(
        PreferenceConstants.P_TAB_EXPAND,
        "&Expand abbreviations by Tab key",
        getFieldEditorParent()));
   
    addField(
      new BooleanFieldEditor(
          PreferenceConstants.P_UPGRADE_EDITORS,
          "&Upgrade web editors",
          getFieldEditorParent()));
   
    addField(new LabelFieldEditor(
View Full Code Here

          { "Yes", OutputProfile.TRUE },
          { "No", OutputProfile.FALSE },
          { "Decide", OutputProfile.DECIDE }
        }, getFieldEditorParent(), true));
   
    addField(new BooleanFieldEditor(
        getPrefName(PreferenceConstants.P_PROFILE_PLACE_CURSOR),
        "Place caret placeholders in expanded abbreviations",
        getFieldEditorParent()));
   
    addField(new BooleanFieldEditor(
        getPrefName(PreferenceConstants.P_PROFILE_INDENT),
        "Indent tags",
        getFieldEditorParent()));
   
    SpinnerFieldEditor inlineBreak = new SpinnerFieldEditor(
View Full Code Here

    /*
     * @see org.eclipse.jface.preference.FieldEditorPreferencePage#createFieldEditors()
     */
    protected void createFieldEditors()
    {
        addField(new BooleanFieldEditor(PreferenceConstants.SOURCE_FOLDING,
                PreferencesMessages.sourceFolding, getFieldEditorParent()));

        addField(new SpacerFieldEditor(getFieldEditorParent()));

        addField(new LabelFieldEditor(PreferencesMessages.initiallyFold, getFieldEditorParent()));

        addField(new BooleanFieldEditor(PreferenceConstants.PERLDOC_FOLDING,
                PreferencesMessages.perldocFolding, getFieldEditorParent()));

        addField(new BooleanFieldEditor(PreferenceConstants.SUBROUTINE_FOLDING,
                PreferencesMessages.subroutineFolding, getFieldEditorParent()));
    }
View Full Code Here

  /**
   * The method creates and adds the fields
   */
  protected void createFieldEditors() {
    // create fields
    this.markOcc = new BooleanFieldEditor(
        MarkOccurrencesPreferences.MARK_OCCURRENCES,
        "Mark occurrences of the selected element in the current file",
        getFieldEditorParent());
    this.variable = new BooleanFieldEditor(
        MarkOccurrencesPreferences.VARIABLE, "Variable",
        getFieldEditorParent());
    this.comment = new BooleanFieldEditor(
        MarkOccurrencesPreferences.COMMENT, "Comment",
        getFieldEditorParent());
    this.number = new BooleanFieldEditor(MarkOccurrencesPreferences.NUMBER,
        "Number", getFieldEditorParent());
    this.literal = new BooleanFieldEditor(
        MarkOccurrencesPreferences.LITERAL, "Literal",
        getFieldEditorParent());
        this.name = new BooleanFieldEditor(
            MarkOccurrencesPreferences.NAME, "Name (subroutines/attributes)",
            getFieldEditorParent());
    this.operator = new BooleanFieldEditor(
        MarkOccurrencesPreferences.OPERATOR, "Operator",
        getFieldEditorParent());
    this.keyword = new BooleanFieldEditor(
        MarkOccurrencesPreferences.KEYWORD, "Keyword",
        getFieldEditorParent());
    this.pod = new BooleanFieldEditor(MarkOccurrencesPreferences.POD,
        "POD", getFieldEditorParent());
    this.keepMarks = new BooleanFieldEditor(
        MarkOccurrencesPreferences.KEEP_MARKS,
        "Keep marks when the selection changes",
        getFieldEditorParent());
    addField(markOcc);
    addField(variable);
View Full Code Here

    @Override
    public void createFieldEditors()
    {
        dirEditor = new DirectoryFieldEditor("dir", "Directory:", getFieldEditorParent());
        addField(dirEditor);
        addField(new BooleanFieldEditor("recurse", "Recurse:", getFieldEditorParent()));
    }
View Full Code Here

  }

  @Override
  public void createFieldEditors() {
    super.createFieldEditors();
    addField(new BooleanFieldEditor(ConfEditor.SOFT_TABS, "Indent with spaces (soft tabs)", getFieldEditorParent()));
    addField(new IntegerFieldEditor(ConfEditor.SOFT_TABS_WIDTH, "Soft tabs length", getFieldEditorParent()));
  }
View Full Code Here

TOP

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

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.