This extension point is used to associate a preference store to a plugin.
You can choose either to implement the IPreferenceStoreProvider interface or to give the ID of the IPreferenceStore to use (stored in the workbench context of your E4 application).
If this extension point is not used, a default ScopedPreferenceStore will be used for the preference page.
Set here the plugin Id concerned by this extension.
Must be a valid plugin ID (control will be done at runtime)
Set a class to get the IPreferenceStore for the defined pluginID.
This parameter is optional if you use the contextId attribute.
If no class is defined, you can set here the ID of the IPreferenceStore available in the context.
This object must be set in the workbenchContext using an Addon for instance, with the following code (in addon):
@PostContextCreate
public void initMyAddon(IEclipseContext ctx)
{
IPreferenceStore ps = new ... . // The code to create your pref store
ctx.set(ID set in this extension, ps);
}
[Enter the first release in which this extension point appears.]
The definition could be like the following :
pluginId="yourPluginID"
provider="a class implementing IPreferenceStoreProvider"
Or using the key in context (usefull to share the same preference store between plugins) :
pluginId="yourPluginID"
keyInContext="the key of the IPreferenceStore stored in context"
[Enter API information here.]
[Enter information about supplied implementation of this extension point.]
@OPCoach 2014