
schema.preferences.exsd Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of org.eclipse.equinox.preferences Show documentation
Show all versions of org.eclipse.equinox.preferences Show documentation
Eclipse org.eclipse.equinox.preferences project
The newest version!
The preferences extension point allows bundles to add new preference scopes to the Eclipse preference mechanism as well as specify the class to run to initialize default preference values at runtime.
Element describing a client's definiton of a new preference scope.
The name of the scope.
The name of the class.
Element which defines the class to use for runtime preference initialization.
The name of the class.
Element which defines the class to use for preference modification listening.
The name of the class.
3.0
Following is an example of a preference scope declaration. This example declares that this plug-in will provide a preference implementation for the scope "foo". It also declares that when the default values are loaded for this plug-in, the class "MyPreferenceInitializer" contains code to be run to initialize preference default values at runtime.
<p>
<pre>
<extension point="org.eclipse.equinox.preferences.preferences">
<scope name="foo" class="com.example.FooPrefs"/>
<initializer class="com.example.MyPreferenceInitializer"/>
<modifier class="com.example.MyModifyListener"/>
</extension>
</pre>
</p>
The preference service (the OSGi service <code>org.eclipse.core.runtime.preferences.IPreferencesService</code>) is the hook into the Eclipse preference mechanism.
The org.eclipse.equinox.preferences bundle provides preference implementations for the "configuration", "instance", and "default" scopes. The org.eclipse.core.resources bundle provides an implementation for "project" preferences.
Copyright (c) 2004, 2009 IBM Corporation and others.<br>
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
<a href="http://www.eclipse.org/legal/epl-v10.html">http://www.eclipse.org/legal/epl-v10.html</a>
© 2015 - 2025 Weber Informatics LLC | Privacy Policy