Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'bundles/org.eclipse.equinox.preferences/schema/preferences.exsd')
-rw-r--r--bundles/org.eclipse.equinox.preferences/schema/preferences.exsd23
1 files changed, 13 insertions, 10 deletions
diff --git a/bundles/org.eclipse.equinox.preferences/schema/preferences.exsd b/bundles/org.eclipse.equinox.preferences/schema/preferences.exsd
index abc45dbe3..6173800bc 100644
--- a/bundles/org.eclipse.equinox.preferences/schema/preferences.exsd
+++ b/bundles/org.eclipse.equinox.preferences/schema/preferences.exsd
@@ -1,16 +1,21 @@
<?xml version='1.0' encoding='UTF-8'?>
<!-- Schema file written by PDE -->
-<schema targetNamespace="org.eclipse.core.runtime">
+<schema targetNamespace="org.eclipse.core.runtime" xmlns="http://www.w3.org/2001/XMLSchema">
<annotation>
<appInfo>
<meta.schema plugin="org.eclipse.core.runtime" id="preferences" name="Preferences"/>
</appInfo>
<documentation>
- The preferences extension point allows plug-ins 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.
+ 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.
</documentation>
</annotation>
<element name="extension">
+ <annotation>
+ <appInfo>
+ <meta.element />
+ </appInfo>
+ </annotation>
<complexType>
<sequence>
<element ref="scope" minOccurs="0" maxOccurs="unbounded"/>
@@ -128,7 +133,7 @@
Following is an example of a preference scope declaration. This example declares that this plug-in will provide a preference implementation for the scope &quot;foo&quot;. It also declares that when the default values are loaded for this plug-in, the class &quot;MyPreferenceInitializer&quot; contains code to be run to initialize preference default values at runtime.
&lt;p&gt;
&lt;pre&gt;
- &lt;extension point=&quot;org.eclipse.core.runtime.preferences&quot;&gt;
+ &lt;extension point=&quot;org.eclipse.equinox.preferences.preferences&quot;&gt;
&lt;scope name=&quot;foo&quot; class=&quot;com.example.FooPrefs&quot;/&gt;
&lt;initializer class=&quot;com.example.MyPreferenceInitializer&quot;/&gt;
&lt;modifier class=&quot;com.example.MyModifyListener&quot;/&gt;
@@ -143,7 +148,7 @@
<meta.section type="apiInfo"/>
</appInfo>
<documentation>
- The preference service (obtained by calling &lt;code&gt;org.eclipse.core.runtime.Platform.getPreferencesService()&lt;/code&gt;) is the hook into the Eclipse preference mechanism.
+ The preference service (the OSGi service &lt;code&gt;org.eclipse.core.runtime.preferences.IPreferencesService&lt;/code&gt;) is the hook into the Eclipse preference mechanism.
</documentation>
</annotation>
@@ -152,7 +157,7 @@
<meta.section type="implementation"/>
</appInfo>
<documentation>
- The org.eclipse.core.runtime plug-in provides preference implementations for the &quot;configuration&quot;, &quot;instance&quot;, and &quot;default&quot; scopes. The org.eclipse.core.resources plug-in provides an implementation for &quot;project&quot; preferences.
+ The org.eclipse.equinox.preferences bundle provides preference implementations for the &quot;configuration&quot;, &quot;instance&quot;, and &quot;default&quot; scopes. The org.eclipse.core.resources bundle provides an implementation for &quot;project&quot; preferences.
</documentation>
</annotation>
@@ -161,13 +166,11 @@
<meta.section type="copyright"/>
</appInfo>
<documentation>
- Copyright (c) 2004, 2006 IBM Corporation and others.&lt;br&gt;
+ Copyright (c) 2004, 2009 IBM Corporation and others.&lt;br&gt;
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
-&lt;a
-href=&quot;http://www.eclipse.org/legal/epl-v10.html&quot;&gt;http://www.eclipse.org/legal/epl-v10.html&lt;/a&gt;
+accompanies this distribution, and is available at
+&lt;a href=&quot;http://www.eclipse.org/legal/epl-v10.html&quot;&gt;http://www.eclipse.org/legal/epl-v10.html&lt;/a&gt;
</documentation>
</annotation>

Back to the top