Example usage for org.eclipse.jface.preference IPreferenceStore getDefaultBoolean

List of usage examples for org.eclipse.jface.preference IPreferenceStore getDefaultBoolean

Introduction

In this page you can find the example usage for org.eclipse.jface.preference IPreferenceStore getDefaultBoolean.

Prototype

boolean getDefaultBoolean(String name);

Source Link

Document

Returns the default value for the boolean-valued preference with the given name.

Usage

From source file:org.apache.directory.studio.schemaeditor.view.preferences.SearchViewPreferencePage.java

License:Apache License

/**
 * {@inheritDoc}//w ww .  j  a  v  a  2 s . co m
 */
protected void performDefaults() {
    IPreferenceStore store = Activator.getDefault().getPreferenceStore();

    labelCombo.select(store.getDefaultInt(PluginConstants.PREFS_SEARCH_VIEW_LABEL));
    limitButton.setSelection(store.getDefaultBoolean(PluginConstants.PREFS_SEARCH_VIEW_ABBREVIATE));
    lengthText.setEnabled(limitButton.getSelection());
    lengthText.setText(store.getDefaultString(PluginConstants.PREFS_SEARCH_VIEW_ABBREVIATE_MAX_LENGTH));

    secondaryLabelButtonDisplay
            .setSelection(store.getDefaultBoolean(PluginConstants.PREFS_SEARCH_VIEW_SECONDARY_LABEL_DISPLAY));
    secondaryLabelCombo.select(store.getDefaultInt(PluginConstants.PREFS_SEARCH_VIEW_SECONDARY_LABEL));
    secondaryLabelLimitButton.setSelection(
            store.getDefaultBoolean(PluginConstants.PREFS_SEARCH_VIEW_SECONDARY_LABEL_ABBREVIATE));
    secondaryLabelLengthText.setText(
            store.getDefaultString(PluginConstants.PREFS_SEARCH_VIEW_SECONDARY_LABEL_ABBREVIATE_MAX_LENGTH));

    if (secondaryLabelButtonDisplay.getSelection()) {
        secondaryLabelCombo.setEnabled(true);
        secondaryLabelLimitButton.setEnabled(true);
        secondaryLabelLengthText.setEnabled(secondaryLabelLimitButton.getSelection());
    } else {
        secondaryLabelCombo.setEnabled(false);
        secondaryLabelLimitButton.setEnabled(false);
        secondaryLabelLengthText.setEnabled(false);
    }

    schemaLabelButtonDisplay
            .setSelection(store.getDefaultBoolean(PluginConstants.PREFS_SEARCH_VIEW_SCHEMA_LABEL_DISPLAY));

    super.performDefaults();
}

From source file:org.axdt.common.preferences.fields.BooleanField.java

License:Open Source License

public Boolean getDefault(IPreferenceStore store) {
    return store.getDefaultBoolean(key);
}

From source file:org.cfeclipse.cfml.preferences.OverlayPreferenceStore.java

License:Open Source License

private void loadProperty(IPreferenceStore orgin, OverlayKey key, IPreferenceStore target,
        boolean forceInitialization) {
    TypeDescriptor d = key.fDescriptor;/*from   ww w  .  j a v  a2 s .c o m*/
    if (BOOLEAN == d) {
        if (forceInitialization)
            target.setValue(key.fKey, true);
        target.setValue(key.fKey, orgin.getBoolean(key.fKey));
        target.setDefault(key.fKey, orgin.getDefaultBoolean(key.fKey));
    } else if (DOUBLE == d) {
        if (forceInitialization)
            target.setValue(key.fKey, 1.0D);
        target.setValue(key.fKey, orgin.getDouble(key.fKey));
        target.setDefault(key.fKey, orgin.getDefaultDouble(key.fKey));
    } else if (FLOAT == d) {
        if (forceInitialization)
            target.setValue(key.fKey, 1.0F);
        target.setValue(key.fKey, orgin.getFloat(key.fKey));
        target.setDefault(key.fKey, orgin.getDefaultFloat(key.fKey));
    } else if (INT == d) {
        if (forceInitialization)
            target.setValue(key.fKey, 1);
        target.setValue(key.fKey, orgin.getInt(key.fKey));
        target.setDefault(key.fKey, orgin.getDefaultInt(key.fKey));

    } else if (LONG == d) {
        if (forceInitialization)
            target.setValue(key.fKey, 1L);
        target.setValue(key.fKey, orgin.getLong(key.fKey));
        target.setDefault(key.fKey, orgin.getDefaultLong(key.fKey));
    } else if (STRING == d) {

        if (forceInitialization)
            target.setValue(key.fKey, "1");
        target.setValue(key.fKey, orgin.getString(key.fKey));
        target.setDefault(key.fKey, orgin.getDefaultString(key.fKey));
    }
}

From source file:org.csstudio.diirt.util.preferences.ChannelAccessPreferencePage.java

License:Open Source License

/**
 * Create contents of the preference page.
 * @param parent/*from   w  ww .ja  v a2  s .  co  m*/
 */
@Override
public Control createContents(Composite parent) {

    IPreferenceStore store = getPreferenceStore();
    Composite container = new Composite(parent, SWT.NULL);

    container.setLayoutData(new GridData(GridData.FILL_BOTH));
    container.setLayout(new GridLayout());

    contextOuterGroup = new Group(container, SWT.NONE);

    contextOuterGroup.setText(Messages.CAPP_contextGroup_text);
    contextOuterGroup.setLayoutData(new GridData(SWT.FILL, SWT.FILL, true, false, 1, 1));
    contextOuterGroup.setLayout(new GridLayout());

    contextInnerGroup = new Composite(contextOuterGroup, SWT.DOUBLE_BUFFERED);

    contextInnerGroup.setLayoutData(new GridData(SWT.FILL, SWT.FILL, true, false, 1, 1));
    contextInnerGroup.setLayout(new GridLayout());

    //  JCA no more available since DIIRT 3.1.7 ---------------------------
    //pureJavaEditor = new RadioGroupFieldEditor(PREF_PURE_JAVA, Messages.CAPP_modeCaption_text, 2, AVAILABLE_MODES, contextInnerGroup, false);
    //
    //addField(pureJavaEditor, contextInnerGroup, true, () -> store.getDefaultString(PREF_PURE_JAVA), () -> store.getString(PREF_PURE_JAVA));
    //  -------------------------------------------------------------------

    addressListEditor = new StringFieldEditor(PREF_ADDR_LIST, Messages.CAPP_addressListCaption_text,
            contextInnerGroup);

    addField(addressListEditor, contextInnerGroup, true, () -> store.getDefaultString(PREF_ADDR_LIST),
            () -> store.getString(PREF_ADDR_LIST));

    autoAddressListEditor = new BooleanFieldEditor(PREF_AUTO_ADDR_LIST, Messages.CAPP_autoCheckButton_text,
            BooleanFieldEditor.SEPARATE_LABEL, contextInnerGroup);

    addField(autoAddressListEditor, contextInnerGroup, true, () -> store.getDefaultBoolean(PREF_AUTO_ADDR_LIST),
            () -> store.getBoolean(PREF_AUTO_ADDR_LIST));

    new Separator(contextInnerGroup).setLayoutData(new GridData(SWT.CENTER, SWT.CENTER, true, false, 2, 1));

    connectionTimeoutEditor = new DoubleFieldEditor(PREF_CONNECTION_TIMEOUT,
            Messages.CAPP_connectionTimeoutCaption_text, contextInnerGroup);

    connectionTimeoutEditor.setValidRange(0, 300);
    connectionTimeoutEditor.setTextLimit(32);
    connectionTimeoutEditor.getTextControl(contextInnerGroup).setLayoutData(createIntegerFieldEditorGridData());

    addField(connectionTimeoutEditor, contextInnerGroup, true,
            () -> store.getDefaultString(PREF_CONNECTION_TIMEOUT),
            () -> store.getString(PREF_CONNECTION_TIMEOUT));

    beaconPeriodEditor = new DoubleFieldEditor(PREF_BEACON_PERIOD, Messages.CAPP_beaconPeriodCaption_text,
            contextInnerGroup);

    beaconPeriodEditor.setValidRange(0, 300);
    beaconPeriodEditor.setTextLimit(32);
    beaconPeriodEditor.getTextControl(contextInnerGroup).setLayoutData(createIntegerFieldEditorGridData());

    addField(beaconPeriodEditor, contextInnerGroup, true, () -> store.getDefaultString(PREF_BEACON_PERIOD),
            () -> store.getString(PREF_BEACON_PERIOD));

    new Separator(contextInnerGroup).setLayoutData(new GridData(SWT.CENTER, SWT.CENTER, true, false, 2, 1));

    serverPortEditor = new IntegerFieldEditor(PREF_SERVER_PORT, Messages.CAPP_serverPortCaption_text,
            contextInnerGroup);

    serverPortEditor.setValidRange(1024, 65535);
    serverPortEditor.setTextLimit(32);
    serverPortEditor.getTextControl(contextInnerGroup).setLayoutData(createIntegerFieldEditorGridData());

    addField(serverPortEditor, contextInnerGroup, true, () -> store.getDefaultString(PREF_SERVER_PORT),
            () -> store.getString(PREF_SERVER_PORT));

    repeaterPortEditor = new IntegerFieldEditor(PREF_REPEATER_PORT, Messages.CAPP_repeaterPortCaption_text,
            contextInnerGroup);

    repeaterPortEditor.setValidRange(1024, 65535);
    repeaterPortEditor.setTextLimit(32);
    repeaterPortEditor.getTextControl(contextInnerGroup).setLayoutData(createIntegerFieldEditorGridData());

    addField(repeaterPortEditor, contextInnerGroup, true, () -> store.getDefaultString(PREF_REPEATER_PORT),
            () -> store.getString(PREF_REPEATER_PORT));

    new Separator(contextInnerGroup).setLayoutData(new GridData(SWT.CENTER, SWT.CENTER, true, false, 2, 1));

    maxArraySizeEditor = new IntegerFieldEditor(PREF_MAX_ARRAY_SIZE,
            Messages.CAPP_maxArraySizeSpinnerCaption_text, contextInnerGroup);

    maxArraySizeEditor.setValidRange(16384, Integer.MAX_VALUE);
    maxArraySizeEditor.setTextLimit(32);
    maxArraySizeEditor.getTextControl(contextInnerGroup).setLayoutData(createIntegerFieldEditorGridData());

    addField(maxArraySizeEditor, contextInnerGroup, true, () -> store.getDefaultString(PREF_MAX_ARRAY_SIZE),
            () -> store.getString(PREF_MAX_ARRAY_SIZE));

    optionsOuterGroup = new Group(container, SWT.NONE);

    optionsOuterGroup.setText(Messages.CAPP_optionsGroup_text);
    optionsOuterGroup.setLayoutData(new GridData(SWT.FILL, SWT.FILL, true, false, 1, 1));
    optionsOuterGroup.setLayout(new GridLayout());

    optionsInnerGroup = new Composite(optionsOuterGroup, SWT.DOUBLE_BUFFERED);

    optionsInnerGroup.setLayoutData(new GridData(SWT.FILL, SWT.FILL, true, false, 1, 1));
    optionsInnerGroup.setLayout(new GridLayout());

    monitorMaskEditor = new RadioGroupFieldEditor(PREF_MONITOR_MASK, Messages.CAPP_monitorMaskCaption_text, 4,
            AVAILABLE_MONITOR_MASKS, optionsInnerGroup, false);

    addField(monitorMaskEditor, optionsInnerGroup, true, () -> store.getDefaultString(PREF_MONITOR_MASK),
            () -> store.getString(PREF_MONITOR_MASK), e -> {

                customMaskEditor.setEnabled(MonitorMask.CUSTOM.name().equals(e.getNewValue()),
                        optionsInnerGroup);

                if (MonitorMask.VALUE.name().equals(e.getNewValue())) {
                    customMaskEditor.getTextControl(optionsInnerGroup)
                            .setText(Integer.toString(MonitorMask.VALUE.mask()));
                } else if (MonitorMask.ARCHIVE.name().equals(e.getNewValue())) {
                    customMaskEditor.getTextControl(optionsInnerGroup)
                            .setText(Integer.toString(MonitorMask.ARCHIVE.mask()));
                } else if (MonitorMask.ALARM.name().equals(e.getNewValue())) {
                    customMaskEditor.getTextControl(optionsInnerGroup)
                            .setText(Integer.toString(MonitorMask.ALARM.mask()));
                }

            });

    customMaskEditor = new IntegerFieldEditor(PREF_CUSTOM_MASK, "", optionsInnerGroup);

    customMaskEditor.setEnabled(MonitorMask.CUSTOM.name().equals(store.getString(PREF_MONITOR_MASK)),
            optionsInnerGroup);
    customMaskEditor.setValidRange(0, 65536);
    customMaskEditor.setTextLimit(32);
    customMaskEditor.getTextControl(optionsInnerGroup).setLayoutData(createIntegerFieldEditorGridData());

    addField(customMaskEditor, optionsInnerGroup, true, () -> store.getDefaultString(PREF_CUSTOM_MASK),
            () -> store.getString(PREF_CUSTOM_MASK));

    new Separator(optionsInnerGroup).setLayoutData(new GridData(SWT.CENTER, SWT.CENTER, true, false, 2, 1));

    variableArrayEditor = new RadioGroupFieldEditor(PREF_VARIABLE_LENGTH_ARRAY,
            Messages.CAPP_variableLengthArrayCaption_text, 3, AVAILABLE_VAR_ARRAY_SUPPORTS, optionsInnerGroup,
            false);

    addField(variableArrayEditor, optionsInnerGroup, true,
            () -> store.getDefaultString(PREF_VARIABLE_LENGTH_ARRAY),
            () -> store.getString(PREF_VARIABLE_LENGTH_ARRAY));

    new Separator(optionsInnerGroup).setLayoutData(new GridData(SWT.CENTER, SWT.CENTER, true, false, 2, 1));

    dbePropertySupportedEditor = new BooleanFieldEditor(PREF_DBE_PROPERTY_SUPPORTED,
            Messages.CAPP_dbePropertySupportedCheckBox_text, BooleanFieldEditor.SEPARATE_LABEL,
            optionsInnerGroup);

    addField(dbePropertySupportedEditor, optionsInnerGroup, true,
            () -> store.getDefaultBoolean(PREF_DBE_PROPERTY_SUPPORTED),
            () -> store.getBoolean(PREF_DBE_PROPERTY_SUPPORTED));

    honorZeropRecisionEditor = new BooleanFieldEditor(PREF_HONOR_ZERO_PRECISION,
            Messages.CAPP_honorCheckBox_text, BooleanFieldEditor.SEPARATE_LABEL, optionsInnerGroup);

    addField(honorZeropRecisionEditor, optionsInnerGroup, true,
            () -> store.getDefaultBoolean(PREF_HONOR_ZERO_PRECISION),
            () -> store.getBoolean(PREF_HONOR_ZERO_PRECISION));

    valueRTYPMonitorEditor = new BooleanFieldEditor(PREF_VALUE_RTYP_MONITOR,
            Messages.CAPP_valueOnlyCheckBox_text, BooleanFieldEditor.SEPARATE_LABEL, optionsInnerGroup);

    addField(valueRTYPMonitorEditor, optionsInnerGroup, true,
            () -> store.getDefaultBoolean(PREF_VALUE_RTYP_MONITOR),
            () -> store.getBoolean(PREF_VALUE_RTYP_MONITOR));

    initializeValues(store);

    return container;

}

From source file:org.csstudio.diirt.util.preferences.DIIRTPreferencesPlugin.java

License:Open Source License

public static void copyChannelAccess(IPreferenceStore source, DIIRTPreferences destination) {

    destination.setDefaultBoolean(PREF_DBE_PROPERTY_SUPPORTED,
            source.getDefaultBoolean(PREF_DBE_PROPERTY_SUPPORTED));
    destination.setDefaultBoolean(PREF_HONOR_ZERO_PRECISION,
            source.getDefaultBoolean(PREF_HONOR_ZERO_PRECISION));
    destination.setDefaultString(PREF_MONITOR_MASK, source.getDefaultString(PREF_MONITOR_MASK));
    destination.setDefaultInteger(PREF_CUSTOM_MASK, source.getDefaultInt(PREF_CUSTOM_MASK));
    destination.setDefaultBoolean(PREF_VALUE_RTYP_MONITOR, source.getDefaultBoolean(PREF_VALUE_RTYP_MONITOR));
    destination.setDefaultString(PREF_VARIABLE_LENGTH_ARRAY,
            source.getDefaultString(PREF_VARIABLE_LENGTH_ARRAY));
    destination.setDefaultString(PREF_ADDR_LIST, source.getDefaultString(PREF_ADDR_LIST));
    destination.setDefaultBoolean(PREF_AUTO_ADDR_LIST, source.getDefaultBoolean(PREF_AUTO_ADDR_LIST));
    destination.setDefaultDouble(PREF_BEACON_PERIOD, source.getDefaultDouble(PREF_BEACON_PERIOD));
    destination.setDefaultDouble(PREF_CONNECTION_TIMEOUT, source.getDefaultDouble(PREF_CONNECTION_TIMEOUT));
    destination.setDefaultInteger(PREF_MAX_ARRAY_SIZE, source.getDefaultInt(PREF_MAX_ARRAY_SIZE));
    destination.setDefaultInteger(PREF_REPEATER_PORT, source.getDefaultInt(PREF_REPEATER_PORT));
    destination.setDefaultInteger(PREF_SERVER_PORT, source.getDefaultInt(PREF_SERVER_PORT));

    destination.setBoolean(PREF_DBE_PROPERTY_SUPPORTED, source.getBoolean(PREF_DBE_PROPERTY_SUPPORTED));
    destination.setBoolean(PREF_HONOR_ZERO_PRECISION, source.getBoolean(PREF_HONOR_ZERO_PRECISION));
    destination.setString(PREF_MONITOR_MASK, source.getString(PREF_MONITOR_MASK));
    destination.setInteger(PREF_CUSTOM_MASK, source.getInt(PREF_CUSTOM_MASK));
    destination.setBoolean(PREF_VALUE_RTYP_MONITOR, source.getBoolean(PREF_VALUE_RTYP_MONITOR));
    destination.setString(PREF_VARIABLE_LENGTH_ARRAY, source.getString(PREF_VARIABLE_LENGTH_ARRAY));
    destination.setString(PREF_ADDR_LIST, source.getString(PREF_ADDR_LIST));
    destination.setBoolean(PREF_AUTO_ADDR_LIST, source.getBoolean(PREF_AUTO_ADDR_LIST));
    destination.setDouble(PREF_BEACON_PERIOD, source.getDouble(PREF_BEACON_PERIOD));
    destination.setDouble(PREF_CONNECTION_TIMEOUT, source.getDouble(PREF_CONNECTION_TIMEOUT));
    destination.setInteger(PREF_MAX_ARRAY_SIZE, source.getInt(PREF_MAX_ARRAY_SIZE));
    destination.setInteger(PREF_REPEATER_PORT, source.getInt(PREF_REPEATER_PORT));
    destination.setInteger(PREF_SERVER_PORT, source.getInt(PREF_SERVER_PORT));

}

From source file:org.dawnsci.mx.ui.editors.MXPlotImageEditor.java

License:Open Source License

@Override
public boolean isApplicable(final String filePath, final String extension, final String perspectiveId) {
    IPreferenceStore preferenceStore = AnalysisRCPActivator.getDefault().getPreferenceStore();
    boolean mxImageGlobal = false;
    if (preferenceStore.isDefault(PreferenceConstants.DIFFRACTION_VIEWER_MX_IMAGE_GLOBAL))
        mxImageGlobal = preferenceStore
                .getDefaultBoolean(PreferenceConstants.DIFFRACTION_VIEWER_MX_IMAGE_GLOBAL);
    else//  w  ww .j a  va  2 s  .co m
        mxImageGlobal = preferenceStore.getBoolean(PreferenceConstants.DIFFRACTION_VIEWER_MX_IMAGE_GLOBAL);

    if (mxImageGlobal)
        return true;

    final String MXLIVE_ID = "uk.ac.diamond.sda.mxlive.mxliveperspective";
    final String DIVA_ID = "uk.ac.diamond.scisoft.diffractionviewerperspective";
    final String MX_ID = "uk.ac.diamond.scisoft.mx.rcp.mxperspective";
    if (MX_ID.equalsIgnoreCase(perspectiveId) || MXLIVE_ID.equalsIgnoreCase(perspectiveId)
            || DIVA_ID.equalsIgnoreCase(perspectiveId))
        return true;

    return false;
}

From source file:org.drools.eclipse.preferences.DroolsPreferencePage.java

License:Apache License

private void initializeDefaults() {
    IPreferenceStore store = getPreferenceStore();
    buildAllCheckBox.setSelection(store.getDefaultBoolean(IDroolsConstants.BUILD_ALL));
    collapseEditorCheckBox.setSelection(store.getDefaultBoolean(IDroolsConstants.EDITOR_FOLDING));
    cacheParsedRulesCheckBox.setSelection(store.getDefaultBoolean(IDroolsConstants.CACHE_PARSED_RULES));
    String skin = store.getDefaultString(IDroolsConstants.SKIN);
    int index = 0;
    if ("BPMN".equals(skin)) {
        index = 1;/*from   w w w . j  a  va2  s  .c o  m*/
    }
    processSkinCombo.select(index);
    allowNodeCustomizationCheckBox
            .setSelection(store.getDefaultBoolean(IDroolsConstants.ALLOW_NODE_CUSTOMIZATION));
    internalAPICombo.select(store.getDefaultInt(IDroolsConstants.ALLOW_NODE_CUSTOMIZATION));
}

From source file:org.ebayopensource.vjet.eclipse.internal.ui.preferences.VJOMembersOrderPreferencePage.java

License:Open Source License

protected void performDefaults() {
    IPreferenceStore prefs = DLTKUIPlugin.getDefault().getPreferenceStore();
    String str = prefs.getDefaultString(PREF_OUTLINE_SORT_OPTION);
    if (str != null)
        fSortOrderList.setElements(parseList(str));
    else//w  w w.j  a  va 2  s .c om
        fSortOrderList.setElements(parseList(ALL_SORTMEMBER_ENTRIES));

    str = prefs.getDefaultString(PREF_VISIBILITY_SORT_OPTION);
    if (str != null)
        fVisibilityOrderList.setElements(parseList(str));
    else
        fVisibilityOrderList.setElements(parseList(ALL_VISIBILITY_ENTRIES));

    fUseVisibilitySortField.setSelection(prefs.getDefaultBoolean(PREF_USE_VISIBILITY_SORT_OPTION));

    super.performDefaults();
}

From source file:org.eclipse.babel.editor.preferences.GeneralPrefPage.java

License:Open Source License

/**
 * @see org.eclipse.jface.preference.PreferencePage#performDefaults()
 *//*from  ww w.  jav  a2s  . com*/
protected void performDefaults() {
    IPreferenceStore prefs = getPreferenceStore();
    keyGroupSeparator.setText(prefs.getDefaultString(MsgEditorPreferences.GROUP__LEVEL_SEPARATOR));
    filterLocales.setText(prefs.getDefaultString(MsgEditorPreferences.FILTER_LOCALES_STRING_MATCHERS));
    convertEncodedToUnicode
            .setSelection(prefs.getDefaultBoolean(MsgEditorPreferences.UNICODE_UNESCAPE_ENABLED));
    supportNL.setSelection(prefs.getDefaultBoolean(MsgEditorPreferences.NL_SUPPORT_ENABLED));
    keyTreeHierarchical.setSelection(prefs.getDefaultBoolean(MsgEditorPreferences.KEY_TREE_HIERARCHICAL));
    keyTreeHierarchical.setSelection(prefs.getDefaultBoolean(MsgEditorPreferences.KEY_TREE_EXPANDED));
    fieldTabInserts.setSelection(prefs.getDefaultBoolean(MsgEditorPreferences.FIELD_TAB_INSERTS));
    setupRbeNatureAutomatically.setSelection(
            prefs.getDefaultBoolean(MsgEditorPreferences.ADD_MSG_EDITOR_BUILDER_TO_JAVA_PROJECTS));

    refreshEnabledStatuses();
    super.performDefaults();
}

From source file:org.eclipse.babel.tapiji.tools.core.ui.preferences.BuilderPreferencePage.java

License:Open Source License

@Override
protected void performDefaults() {
    IPreferenceStore prefs = getPreferenceStore();

    sourceAuditButton.setSelection(prefs.getDefaultBoolean(TapiJIPreferences.AUDIT_RESOURCE));
    rbAuditButton.setSelection(prefs.getDefaultBoolean(TapiJIPreferences.AUDIT_RB));
    checkMissingValueButton.setSelection(prefs.getDefaultBoolean(TapiJIPreferences.AUDIT_UNSPEZIFIED_KEY));
    checkSameValueButton.setSelection(prefs.getDefaultBoolean(TapiJIPreferences.AUDIT_SAME_VALUE));
    checkMissingLanguageButton.setSelection(prefs.getDefaultBoolean(TapiJIPreferences.AUDIT_MISSING_LANGUAGE));
}