Java tutorial
/****************************************************************************** * Copyright (c) 2011-2012 Yusuke Komori. All rights reserved. * * This program and the accompanying materials are made available under * the terms of the Eclipse Public License v1.0 which accompanies * this distribution, and is available at * http://www.eclipse.org/legal/epl-v10.html *****************************************************************************/ package jp.littleforest.pathtools.preferences; import static jp.littleforest.pathtools.Constants.*; import jp.littleforest.pathtools.Activator; import org.eclipse.jface.preference.FieldEditorPreferencePage; import org.eclipse.jface.preference.StringFieldEditor; import org.eclipse.ui.IWorkbench; import org.eclipse.ui.IWorkbenchPreferencePage; /** * ???<br /> * * @author y-komori */ public class PathToolsPreferencePage extends FieldEditorPreferencePage implements IWorkbenchPreferencePage { /** * {@link PathToolsPreferencePage} ???<br /> */ public PathToolsPreferencePage() { super(GRID); setPreferenceStore(Activator.getDefault().getPreferenceStore()); setDescription(""); } /* (non-Javadoc) * @see org.eclipse.ui.IWorkbenchPreferencePage#init(org.eclipse.ui.IWorkbench) */ public void init(IWorkbench workbench) { } /* (non-Javadoc) * @see org.eclipse.jface.preference.FieldEditorPreferencePage#createFieldEditors() */ @Override protected void createFieldEditors() { addField(new StringFieldEditor(P_OPEN_FOLDER_CMD, "????", getFieldEditorParent())); addField(new StringFieldEditor(P_OPEN_PROMPT_CMD, "????", getFieldEditorParent())); } }