List of usage examples for org.eclipse.jface.preference FontFieldEditor setPreferenceStore
public void setPreferenceStore(IPreferenceStore store)
From source file:com.vectrace.MercurialEclipse.ui.SWTWidgetHelper.java
License:Open Source License
/** * @param prefHistoryMergeChangesetFont//from w ww . j a v a 2 s. c o m * @param string * @param g * @param historyPreferencePage * @param preferenceStore * @return */ public static FieldEditor createFontFieldEditor(String pref, String label, Composite parent, DialogPage page, IPreferenceStore preferenceStore) { FontFieldEditor editor = new FontFieldEditor(pref, label, parent); editor.setPage(page); editor.setPreferenceStore(preferenceStore); return editor; }