Examples of BooleanFieldEditor


Examples of org.eclipse.jface.preference.BooleanFieldEditor

   */
  public void createFieldEditors() {
    addField(new ComboFieldEditor(PreferenceConstants.JSB_INDENT,
        "Indent with", indentArray, getFieldEditorParent()));

    addField(new BooleanFieldEditor(PreferenceConstants.JSB_PRESERVE_EMPTY,
        "Preserve empty lines", getFieldEditorParent()));

    addField(new BooleanFieldEditor(PreferenceConstants.JSB_DETECT_PACKERS,
        "Detect packers", getFieldEditorParent()));

    addField(new BooleanFieldEditor(PreferenceConstants.JSB_IDENT_SPACE,
        "Add space after identifiers (function, catch, etc.)",
        getFieldEditorParent()));

    addField(new BooleanFieldEditor(PreferenceConstants.JSB_LINT_HAPPY,
        "Enable jslint strict mode",
        getFieldEditorParent()));

    addField(new ComboFieldEditor(PreferenceConstants.JSB_BRACE_STYLE,
        "Brace Style", braceArray, getFieldEditorParent()));
View Full Code Here

Examples of org.eclipse.jface.preference.BooleanFieldEditor

   * GUI blocks needed to manipulate various types of preferences. Each field
   * editor knows how to save and restore itself.
   */
  public void createFieldEditors() {
   
    addField(new BooleanFieldEditor(PreferenceConstants.JSLINT_ADSAFE,"ADsafe", getFieldEditorParent()));
    addField(new BooleanFieldEditor(PreferenceConstants.JSLINT_BITWISE,"Tolerate bitwise operators", getFieldEditorParent()));
    addField(new BooleanFieldEditor(PreferenceConstants.JSLINT_BROWSER,"Assume a browser", getFieldEditorParent()));
    addField(new BooleanFieldEditor(PreferenceConstants.JSLINT_CAP,"Tolerate HTML case", getFieldEditorParent()));
    addField(new BooleanFieldEditor(PreferenceConstants.JSLINT_CONFUSION,"Tolerate type confusion", getFieldEditorParent()));
    addField(new BooleanFieldEditor(PreferenceConstants.JSLINT_CONTINUE,"Tolerate continue", getFieldEditorParent()));
    addField(new BooleanFieldEditor(PreferenceConstants.JSLINT_CSS,"Tolerate CSS workarounds", getFieldEditorParent()));
    addField(new BooleanFieldEditor(PreferenceConstants.JSLINT_DEBUG,"Tolerate debugger statements", getFieldEditorParent()));
    addField(new BooleanFieldEditor(PreferenceConstants.JSLINT_DEVEL,"Assume console, alert, ...", getFieldEditorParent()));
    addField(new BooleanFieldEditor(PreferenceConstants.JSLINT_EQEQ,"Tolerate == and !=", getFieldEditorParent()));
    addField(new BooleanFieldEditor(PreferenceConstants.JSLINT_ES5,"Tolerate ES5 syntax", getFieldEditorParent()));
    addField(new BooleanFieldEditor(PreferenceConstants.JSLINT_EVIL,"Tolerate eval", getFieldEditorParent()));
    addField(new BooleanFieldEditor(PreferenceConstants.JSLINT_FORIN,"Tolerate unfiltered for in", getFieldEditorParent()));
    addField(new BooleanFieldEditor(PreferenceConstants.JSLINT_FRAGMENT,"Tolerate HTML fragments", getFieldEditorParent()));
    addField(new BooleanFieldEditor(PreferenceConstants.JSLINT_NEWCAP,"Tolerate uncapitalized constructors", getFieldEditorParent()));
    addField(new BooleanFieldEditor(PreferenceConstants.JSLINT_NODE,"Assume Node.js", getFieldEditorParent()));
    addField(new BooleanFieldEditor(PreferenceConstants.JSLINT_NOMEN,"Tolerate dangling _ in identifiers", getFieldEditorParent()));
    addField(new BooleanFieldEditor(PreferenceConstants.JSLINT_ON,"Tolerate HTML event handlers", getFieldEditorParent()));
    addField(new BooleanFieldEditor(PreferenceConstants.JSLINT_PASSFAIL,"Stop on first error", getFieldEditorParent()));
    addField(new BooleanFieldEditor(PreferenceConstants.JSLINT_PLUSPLUS,"Tolerate ++ and --", getFieldEditorParent()));
    addField(new BooleanFieldEditor(PreferenceConstants.JSLINT_REGEXP,"Tolerate . and [^...]. in /RegExp/", getFieldEditorParent()));
    addField(new BooleanFieldEditor(PreferenceConstants.JSLINT_RHINO,"Assume Rhino", getFieldEditorParent()));
    addField(new BooleanFieldEditor(PreferenceConstants.JSLINT_SAFE,"Safe Subset", getFieldEditorParent()));
    addField(new BooleanFieldEditor(PreferenceConstants.JSLINT_SLOPPY,"Tolerate missing 'use strict' pragma", getFieldEditorParent()));
    addField(new BooleanFieldEditor(PreferenceConstants.JSLINT_SUB,"Tolerate inefficient subscripting", getFieldEditorParent()));
    addField(new BooleanFieldEditor(PreferenceConstants.JSLINT_UNDEF,"Tolerate misordered definitions", getFieldEditorParent()));
    addField(new BooleanFieldEditor(PreferenceConstants.JSLINT_UNPARAM,"Tolerate unused parameters", getFieldEditorParent()));
    addField(new BooleanFieldEditor(PreferenceConstants.JSLINT_VARS,"Tolerate many var statements per function", getFieldEditorParent()));
    addField(new BooleanFieldEditor(PreferenceConstants.JSLINT_WHITE,"Tolerate messy white space", getFieldEditorParent()));
    addField(new BooleanFieldEditor(PreferenceConstants.JSLINT_WIDGET,"Assume a Yahoo Widget", getFieldEditorParent()));
    addField(new BooleanFieldEditor(PreferenceConstants.JSLINT_WINDOWS,"Assume Windows", getFieldEditorParent()));
   
    addField(new StringFieldEditor(PreferenceConstants.JSLINT_INDENT, "Strict white space indentation", getFieldEditorParent()));
    addField(new StringFieldEditor(PreferenceConstants.JSLINT_LINELEN, "Maximum line length", getFieldEditorParent()));
    addField(new StringFieldEditor(PreferenceConstants.JSLINT_ERRS, "Maximum number of errors", getFieldEditorParent()));
    //addField(new StringFieldEditor(PreferenceConstants.JSLINT_PREDEF, "An array of strings (, separated), the names of predefined global variable.", getFieldEditorParent()));
View Full Code Here

Examples of org.eclipse.jface.preference.BooleanFieldEditor

                            false,
                            getFieldEditorParent());
            addField(driverLocation);
        }

        final BooleanFieldEditor fasterValidation =
                new BooleanFieldEditor(PREF_FASTER_VALIDATION,
                        EclipseCommonMessages.getString(
                                "MCSPreferencePage.fasterValidation"),
                        BooleanFieldEditor.DEFAULT, getFieldEditorParent());
        addField(fasterValidation);
    }
View Full Code Here

Examples of org.eclipse.jface.preference.BooleanFieldEditor

  public void createFieldEditors ()
    {
        addField(new DirectoryFieldEditor(Activator.PrefAWPath,
            "AribaWeb Dir:", getFieldEditorParent()));
        addField(new BooleanFieldEditor(Activator.PrefAutoCheck,
            "Auto check on startup", getFieldEditorParent()));
    }
View Full Code Here

Examples of org.eclipse.jface.preference.BooleanFieldEditor

  @Override
  protected void createFieldEditors() {
  
    // should the editor use the last selected type system to open the cas?
    showParentTypes = new BooleanFieldEditor(CasEditorViewsPreferenceConstants.SHOW_PARENT_TYPES,
            "Display parent types", getFieldEditorParent());
    addField(showParentTypes);
   
   
  }
View Full Code Here

Examples of org.eclipse.jface.preference.BooleanFieldEditor

        TextRulerLearnerParameter p = params[i];
        String id = algorithmController.getID() + "." + p.id;
        FieldEditor l = null;
        switch (p.type) {
          case ML_BOOL_PARAM: {
            l = new BooleanFieldEditor(id, p.name, top);
            fields.add(l);
            store.setDefault(id, (Boolean) values.get(p.id));
            l.setPreferenceStore(store);
            l.load();
            break;
View Full Code Here

Examples of org.eclipse.jface.preference.BooleanFieldEditor

        TextRulerLearnerParameter p = params[i];
        String id = algorithmController.getID() + "." + p.id;
        FieldEditor l = null;
        switch (p.type) {
          case ML_BOOL_PARAM: {
            l = new BooleanFieldEditor(id, p.name, top);
            fields.add(l);
            store.setDefault(id, (Boolean) values.get(p.id));
            l.setPreferenceStore(store);
            l.load();
            break;
View Full Code Here

Examples of org.eclipse.jface.preference.BooleanFieldEditor

  }

  @Override
  protected void createFieldEditors() {
    removeBasics = new BooleanFieldEditor(TextRulerPreferences.REMOVE_BASICS,
            "Remove basic annotations after testing rules.", getFieldEditorParent());
    addField(removeBasics);

    lowMemoryProfile = new BooleanFieldEditor(TextRulerPreferences.LOW_MEMORY_PROFILE,
            "Use low memory profile.", getFieldEditorParent());
    addField(lowMemoryProfile);
   
    maxErrorRate = new IntegerFieldEditor(TextRulerPreferences.MAX_ERROR_RATE,
            "Maximum error rate during testing.", getFieldEditorParent());
View Full Code Here

Examples of org.eclipse.jface.preference.BooleanFieldEditor

        TextRulerLearnerParameter p = params[i];
        String id = algorithmController.getID() + "." + p.id;
        FieldEditor l = null;
        switch (p.type) {
          case ML_BOOL_PARAM: {
            l = new BooleanFieldEditor(id, p.name, getFieldEditorParent());
            fields.add(l);
            addField(l);
            store.setDefault(id, (Boolean) values.get(p.id));
            l.setPreferenceStore(store);
            break;
View Full Code Here

Examples of org.eclipse.jface.preference.BooleanFieldEditor

        TextRulerLearnerParameter p = params[i];
        String id = algorithmController.getID() + "." + p.id;
        FieldEditor l = null;
        switch (p.type) {
          case ML_BOOL_PARAM: {
            l = new BooleanFieldEditor(id, p.name, getFieldEditorParent());
            fields.add(l);
            addField(l);
            store.setDefault(id, (Boolean) values.get(p.id));
            l.setPreferenceStore(store);
            break;
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.