use of org.eclipse.jface.preference.BooleanFieldEditor in project linuxtools by eclipse.
the class LoggingPreferencePage method createFieldEditors.
@Override
protected void createFieldEditors() {
autoLogOnStart = new BooleanFieldEditor(PreferenceConstants.AUTOLOG_ON_START, PreferenceMessages.getString(AUTO_START_MSG), getFieldEditorParent());
addField(autoLogOnStart);
addTimeStamp = new BooleanFieldEditor(PreferenceConstants.LOG_TIMESTAMP, PreferenceMessages.getString(TIME_STAMP_MSG), getFieldEditorParent());
addField(addTimeStamp);
}
use of org.eclipse.jface.preference.BooleanFieldEditor in project linuxtools by eclipse.
the class RpmInformationsPreferencePage method createFieldEditors.
@Override
public void createFieldEditors() {
addField(maxProposalsIntegerFieldEditor());
addField(new BooleanFieldEditor(PreferenceConstants.P_RPMINFO_NAME, RpmTags.NAME, getFieldEditorParent()));
addField(new BooleanFieldEditor(PreferenceConstants.P_RPMINFO_VERSION, RpmTags.VERSION, getFieldEditorParent()));
addField(new BooleanFieldEditor(PreferenceConstants.P_RPMINFO_RELEASE, RpmTags.RELEASE, getFieldEditorParent()));
addField(new BooleanFieldEditor(PreferenceConstants.P_RPMINFO_SUMMARY, RpmTags.SUMMARY, getFieldEditorParent()));
addField(new BooleanFieldEditor(PreferenceConstants.P_RPMINFO_LICENSE, RpmTags.LICENSE, getFieldEditorParent()));
addField(new BooleanFieldEditor(PreferenceConstants.P_RPMINFO_GROUP, RpmTags.GROUP, getFieldEditorParent()));
addField(new BooleanFieldEditor(PreferenceConstants.P_RPMINFO_URL, RpmTags.URL, getFieldEditorParent()));
addField(new BooleanFieldEditor(PreferenceConstants.P_RPMINFO_INSTALLTIME, Messages.RpmInformationsPreferencePage_1, getFieldEditorParent()));
addField(new BooleanFieldEditor(PreferenceConstants.P_RPMINFO_DESCRIPTION, Messages.RpmInformationsPreferencePage_2, getFieldEditorParent()));
addField(new BooleanFieldEditor(PreferenceConstants.P_RPMINFO_PACKAGER, RpmTags.PACKAGER, getFieldEditorParent()));
addField(new BooleanFieldEditor(PreferenceConstants.P_RPMINFO_VENDOR, RpmTags.VENDOR, getFieldEditorParent()));
addField(new BooleanFieldEditor(PreferenceConstants.P_RPMINFO_SIZE, Messages.RpmInformationsPreferencePage_3, getFieldEditorParent()));
addField(new BooleanFieldEditor(PreferenceConstants.P_RPMINFO_BUILDTIME, Messages.RpmInformationsPreferencePage_4, getFieldEditorParent()));
addField(new BooleanFieldEditor(PreferenceConstants.P_RPMINFO_SOURCERPM, Messages.RpmInformationsPreferencePage_5, getFieldEditorParent()));
}
use of org.eclipse.jface.preference.BooleanFieldEditor in project linuxtools by eclipse.
the class RpmProposalsPreferencePage method createFieldEditors.
@Override
public void createFieldEditors() {
rpmtools = rpmtoolsRadioGroupFieldEditor();
addField(rpmtools);
// FIXME: there is validations problem when a FileFieldEditor is used,
// so
// as a quick fix, StringFieldEditor is used.
StringFieldEditor rpmListFieldEditor = new StringFieldEditor(PreferenceConstants.P_RPM_LIST_FILEPATH, Messages.RpmProposalsPreferencePage_0, getFieldEditorParent());
addField(rpmListFieldEditor);
addField(new BooleanFieldEditor(PreferenceConstants.P_RPM_LIST_BACKGROUND_BUILD, Messages.RpmProposalsPreferencePage_1, getFieldEditorParent()));
addField(buildTimeListRateFieldEditor());
}
use of org.eclipse.jface.preference.BooleanFieldEditor in project linuxtools by eclipse.
the class IDEPreferencePage method createFieldEditors.
@Override
public void createFieldEditors() {
addField(new BooleanFieldEditor(IDEPreferenceConstants.P_STORED_TREE, // $NON-NLS-1$
Localization.getString("IDEPreferencePage.UseStoredTapsetTree"), getFieldEditorParent()));
addField(new BooleanFieldEditor(IDEPreferenceConstants.P_REMOTE_PROBES, // $NON-NLS-1$
Localization.getString("IDEPreferencePage.RemoteProbes"), getFieldEditorParent()));
}
use of org.eclipse.jface.preference.BooleanFieldEditor in project linuxtools by eclipse.
the class DataTablePreferencePage method createFieldEditors.
@Override
public void createFieldEditors() {
addField(new BooleanFieldEditor(GraphingPreferenceConstants.P_JUMP_NEW_TABLE_ENTRY, // $NON-NLS-1$
Localization.getString("DataTablePreferencePage.JumpNewestEntry"), getFieldEditorParent()));
addField(new BooleanFieldEditor(GraphingPreferenceConstants.P_AUTO_RESIZE, // $NON-NLS-1$
Localization.getString("DataTablePreferencePage.AutoResizeColumns"), getFieldEditorParent()));
addField(new IntegerFieldEditor(GraphingPreferenceConstants.P_MAX_DATA_ITEMS, // $NON-NLS-1$
Localization.getString("DataTablePreferencePage.MaxDataItems"), getFieldEditorParent()));
}
Aggregations