diff options
author | John Arthorne | 2009-05-12 15:38:05 +0000 |
---|---|---|
committer | John Arthorne | 2009-05-12 15:38:05 +0000 |
commit | 568231e2d6a9fcbc38ea9d7593fc10cf7c7ebe3b (patch) | |
tree | 000e954491b4ed0695199d46048ee9cfec5492cf /bundles | |
parent | 79a4fe3ed2c29889f66b90838a1873157c2957b2 (diff) | |
download | rt.equinox.bundles-568231e2d6a9fcbc38ea9d7593fc10cf7c7ebe3b.tar.gz rt.equinox.bundles-568231e2d6a9fcbc38ea9d7593fc10cf7c7ebe3b.tar.xz rt.equinox.bundles-568231e2d6a9fcbc38ea9d7593fc10cf7c7ebe3b.zip |
Update documentation to refer to correct bundle and extension point id
Diffstat (limited to 'bundles')
-rw-r--r-- | bundles/org.eclipse.equinox.preferences/schema/preferences.exsd | 23 |
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 "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.core.runtime.preferences"> + <extension point="org.eclipse.equinox.preferences.preferences"> <scope name="foo" class="com.example.FooPrefs"/> <initializer class="com.example.MyPreferenceInitializer"/> <modifier class="com.example.MyModifyListener"/> @@ -143,7 +148,7 @@ <meta.section type="apiInfo"/> </appInfo> <documentation> - The preference service (obtained by calling <code>org.eclipse.core.runtime.Platform.getPreferencesService()</code>) is the hook into the Eclipse preference mechanism. + The preference service (the OSGi service <code>org.eclipse.core.runtime.preferences.IPreferencesService</code>) 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 "configuration", "instance", and "default" scopes. The org.eclipse.core.resources plug-in provides an implementation for "project" preferences. + 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. </documentation> </annotation> @@ -161,13 +166,11 @@ <meta.section type="copyright"/> </appInfo> <documentation> - Copyright (c) 2004, 2006 IBM Corporation and others.<br> + 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> +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> </documentation> </annotation> |