/*
 * blanco Framework
 * Copyright (C) 2004-2006 IGA Tosiki
 * 
 * This library is free software; you can redistribute it and/or
 * modify it under the terms of the GNU Lesser General Public
 * License as published by the Free Software Foundation; either
 * version 2.1 of the License, or (at your option) any later version.
 */
package blanco.plugin.filemanager.preference;

import org.eclipse.jface.preference.FieldEditorPreferencePage;
import org.eclipse.ui.IWorkbench;
import org.eclipse.ui.IWorkbenchPreferencePage;

import blanco.plugin.filemanager.Activator;

/**
 * BlancoFileManagerPluginのプリファランス。
 * 
 * 参考情報: 作って覚えるEclipseプラグイン（4）: プラグインの設定を保存するには
 * http://www.atmarkit.co.jp/fjava/rensai3/eclipsepde04/eclipsepde04_1.html
 * 
 * @author IGA Tosiki
 */
public class BlancoFileManagerPreferencePage extends FieldEditorPreferencePage
        implements IWorkbenchPreferencePage {
    public BlancoFileManagerPreferencePage() {
        super(GRID);
        setPreferenceStore(Activator.getDefault().getPreferenceStore());
    }

    protected void createFieldEditors() {
        addField(new BlancoStringListFieldEditor("file.execute.pattern",
                "プロセス起動ファイルパターン", getFieldEditorParent()));
    }

    public void init(final IWorkbench workbench) {
    }
}
