1 package freemarker.eclipse.preferences; 2 3 import org.eclipse.jface.preference.BooleanFieldEditor; 4 import org.eclipse.jface.preference.FieldEditorPreferencePage; 5 import org.eclipse.ui.IWorkbench; 6 import org.eclipse.ui.IWorkbenchPreferencePage; 7 8 import freemarker.eclipse.FreemarkerPlugin; 9 10 18 public class OutlinePreferencePage 19 extends FieldEditorPreferencePage 20 implements IWorkbenchPreferencePage, IPreferenceConstants { 21 22 public OutlinePreferencePage() { 23 super(GRID); 24 setPreferenceStore(FreemarkerPlugin.getDefault().getPreferenceStore()); 25 setDescription("Outline View Settings"); 26 } 27 28 31 protected void createFieldEditors() { 32 addField(new BooleanFieldEditor(SHOW_ICONS, 33 "Show icons", getFieldEditorParent())); 34 } 35 36 39 public void init(IWorkbench workbench) { 40 } 41 42 } 43 | Popular Tags |