Package org.eclipse.jface.preference

Examples of org.eclipse.jface.preference.BooleanFieldEditor


  public void createFieldEditors() {
    addField(new LabelFieldEditor("", getFieldEditorParent()));
    addField(new LabelFieldEditor(
        "Code manipulation options after drag and drop operations",
        getFieldEditorParent()));
    addField(new BooleanFieldEditor(
        PreferenceConstants.P_OVERWRITE_ON_INSERT,
        "Overwrite existing code on insert",
        BooleanFieldEditor.DEFAULT, getFieldEditorParent()));
    addField(new BooleanFieldEditor(PreferenceConstants.P_ORGANIZE_IMPORTS,
        "Auto-Organize imports after code insertion",
        BooleanFieldEditor.DEFAULT, getFieldEditorParent()));
    addField(new BooleanFieldEditor(PreferenceConstants.P_FORMAT_ON_INSERT,
        "Auto-Format compilation unit after code insertion",
        BooleanFieldEditor.DEFAULT, getFieldEditorParent()));
  }
View Full Code Here


    addField(new LabelFieldEditor(
        "To help us improve Code Conjurer, the plug-in can send anonymous\r\n"
            + "usage data and crash reports to the developers. If you agree that\r\n"
            + "Code Conjurer sends this data, please leave the following options checked.",
        getFieldEditorParent()));
    addField(new BooleanFieldEditor(PreferenceConstants.P_UDC,
        "Anonymous usage data collection", BooleanFieldEditor.DEFAULT,
        getFieldEditorParent()));
    addField(new BooleanFieldEditor(PreferenceConstants.P_CRASH_REPORTING,
        "Send plug-in crash information to developers",
        BooleanFieldEditor.DEFAULT, getFieldEditorParent()));
  }
View Full Code Here

    addField(new IntegerFieldEditor(PreferenceConstants.LAYOUT_AREA_HEIGHT, "Layout area &height", getFieldEditorParent()));
    addField(new IntegerFieldEditor(PreferenceConstants.THREAD_POOL_SIZE, "&Thread Pool size", getFieldEditorParent()));
    addField(new IntegerFieldEditor(PreferenceConstants.HID_CONNECTION_BY_COST, "&Hide connections with cost > ", getFieldEditorParent()));

//    addField(new BooleanFieldEditor(PreferenceConstants.HID_DIRECT_CONNECTION, "&Hid direct connections", getFieldEditorParent()));
    addField(new BooleanFieldEditor(PreferenceConstants.LOG_POSSIBLE_PATHS_OCCURENCE, "&Log path occurences", getFieldEditorParent()));
   
    addField(new FontFieldEditor(PreferenceConstants.PROJECT_NAME_FONT, "&Project name Font", getFieldEditorParent()));
  }
View Full Code Here

  @Override
  protected void createFieldEditors() {
  
    // should the editor use the last selected type system to open the cas?
    mEditorRememberTypesystem = new BooleanFieldEditor(CasEditorIdePreferenceConstants.CAS_EDITOR_REMEMBER_TYPESYSTEM,
            "Use the previously selected type system to open a CAS", getFieldEditorParent());
    addField(mEditorRememberTypesystem);
   
   
  }
View Full Code Here

            AnnotationEditorPreferenceConstants.ANNOTATION_EDITOR_TEXT_SIZE,
            "Editor Text Size", getFieldEditorParent());
    addField(mEditorTextSize);
   
    // load CAS with partial type system
    mEditorPartialTypeystem = new BooleanFieldEditor(
            AnnotationEditorPreferenceConstants.ANNOTATION_EDITOR_PARTIAL_TYPESYSTEM,
            "Load CAS leniently (WARNING: only for experienced users)", getFieldEditorParent());
    addField(mEditorPartialTypeystem);
   
  }
View Full Code Here

    store.setDefault(P_VNS_PORT, "9000");
    // store.setDefault(P_DATA_PATH, "");
  }

  public void createFieldEditors() {
    addField(new BooleanFieldEditor(P_JCAS, "&Automatically run JCasGen when Types change",
            getFieldEditorParent()));

    addField(new BooleanFieldEditor(P_JCAS_LIMIT_TO_PROJECT_SCOPE, "&Limit JCasGen to types defined in this project",
        getFieldEditorParent()));

    addField(new BooleanFieldEditor(P_SHOW_FULLY_QUALIFIED_NAMES, "&Show fully qualified names",
            getFieldEditorParent()));

    addField(new IntegerFieldEditor(P_XML_TAB_SPACES, "&XML indentation", getFieldEditorParent()));

    addField(new StringFieldEditor(P_VNS_HOST, "&Vinci Name Service Host IP address",
View Full Code Here

   * of preferences. Each field editor knows how to save and
   * restore itself.
   */
  @Override
   public void createFieldEditors() {
      checkbox = new BooleanFieldEditor(PreferenceConstants.P_USE_DEFAULT_ORDER,
                     Messages.BasicWMSRendererPreferencePage_useDefaults,
                     getFieldEditorParent());
//      checkbox.setPropertyChangeListener(this);
      addField( checkbox );
      editor = new ImageTypeListEditor(PreferenceConstants.P_IMAGE_TYPE_ORDER,
View Full Code Here

        setDescription(Messages.PerformancelPreferences_description);
    }

    @Override
    protected void createFieldEditors() {
        addField( new BooleanFieldEditor(PreferenceConstants.P_FILL_POLYGONS,
                Messages.PerformancelPreferences_fill_polygons,
                getFieldEditorParent()));
        addField( new BooleanFieldEditor(PreferenceConstants.P_HIDE_SELECTED_FEATURES,
                Messages.PerformancelPreferences_hide_features,
                getFieldEditorParent()));
        addField( new BooleanFieldEditor(org.locationtech.udig.project.preferences.PreferenceConstants.P_SHOW_ANIMATIONS,
                org.locationtech.udig.project.ui.internal.Messages.RenderPreferences_animations,
                getFieldEditorParent()){
           
            @Override
            public IPreferenceStore getPreferenceStore() {
View Full Code Here

        setDescription(Messages.EditToolPreferences_description);
    }

    @Override
    protected void createFieldEditors() {
        addField(new BooleanFieldEditor(PreferenceConstants.P_ADVANCED_ACTIVE, Messages.EditToolPreferences_advanced_editing_name,
                getFieldEditorParent()));
        addField(new BooleanFieldEditor(PreferenceConstants.P_SELECT_POST_ACCEPT, Messages.EditToolPreferences_CreateFeaturePreference,
                getFieldEditorParent()));
        addField(new IntegerFieldEditor(PreferenceConstants.P_SNAP_RADIUS,
            Messages.EditToolPreferences_snapRadius,
                getFieldEditorParent()));
        addField(new RadioGroupFieldEditor(
View Full Code Here

        addField(new CharSetFieldEditor(
                org.locationtech.udig.ui.preferences.PreferenceConstants.P_DEFAULT_CHARSET,
                Messages.UiPreferences_charset, getFieldEditorParent()));

        //if (Platform.getOS().equals(Platform.OS_LINUX)) {
            addField(new BooleanFieldEditor(
                    org.locationtech.udig.ui.preferences.PreferenceConstants.P_ADVANCED_GRAPHICS,
                    Messages.UiPreferences_advancedGraphics_label, getFieldEditorParent()));
        //}
          
            String[][] values = {{Messages.UiPreferences_AutoUnits, PreferenceConstants.AUTO_UNITS}, {Messages.UiPreferences_MetricUnits, PreferenceConstants.METRIC_UNITS}, {Messages.UiPreferences_ImperialUnits,PreferenceConstants.IMPERIAL_UNITS}};
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.