blob: 3b8891def407e53b58e4545f0df7873293ec7099 [file] [log] [blame]
package org.eclipse.ui;
/*
* (c) Copyright IBM Corp. 2000, 2001.
* All Rights Reserved.
*/
import org.eclipse.jface.preference.IPreferencePage;
/**
* Interface for workbench preference pages.
* <p>
* Clients should implement this interface and include the name of their class
* in an extension contributed to the workbench's preference extension point
* (named <code>"org.eclipse.ui.preferencePages"</code>).
* For example, the plug-in's XML markup might contain:
* <pre>
* &LT;extension point="org.eclipse.ui.preferencePages"&GT;
* &LT;page id="com.example.myplugin.prefs"
* name="Knobs"
* class="com.example.myplugin.MyPreferencePage" /&GT;
* &LT;/extension&GT;
* </pre>
* </p>
*/
public interface IWorkbenchPreferencePage extends IPreferencePage {
/**
* Initializes this preference page for the given workbench.
* <p>
* This method is called automatically as the preference page is being created
* and initialized. Clients must not call this method.
* </p>
*
* @param workbench the workbench
*/
void init(IWorkbench workbench);
}