diff options
Diffstat (limited to 'bundles/org.eclipse.equinox.registry/src/org/eclipse')
4 files changed, 20 insertions, 16 deletions
diff --git a/bundles/org.eclipse.equinox.registry/src/org/eclipse/core/runtime/IConfigurationElement.java b/bundles/org.eclipse.equinox.registry/src/org/eclipse/core/runtime/IConfigurationElement.java index 31b5c5e95..9114c194c 100644 --- a/bundles/org.eclipse.equinox.registry/src/org/eclipse/core/runtime/IConfigurationElement.java +++ b/bundles/org.eclipse.equinox.registry/src/org/eclipse/core/runtime/IConfigurationElement.java @@ -89,10 +89,11 @@ public interface IConfigurationElement { * <p> * The names of configuration element attributes * are the same as the attribute names of the corresponding XML element. - * For example, the configuration markup + * For example, the configuration markup</p> * <pre> * <bg pattern="stripes"/> * </pre> + * <p> * corresponds to a configuration element named <code>"bg"</code> * with an attribute named <code>"pattern"</code> * with attribute value <code>"stripes"</code>. @@ -134,10 +135,11 @@ public interface IConfigurationElement { * <p> * The names of configuration element attributes * are the same as the attribute names of the corresponding XML element. - * For example, the configuration markup + * For example, the configuration markup</p> * <pre> * <bg pattern="stripes"/> * </pre> + * <p> * corresponds to a configuration element named <code>"bg"</code> * with an attribute named <code>"pattern"</code> * with attribute value <code>"stripes"</code>. @@ -162,10 +164,11 @@ public interface IConfigurationElement { * <p> * The names of configuration element attributes * are the same as the attribute names of the corresponding XML element. - * For example, the configuration markup + * For example, the configuration markup</p> * <pre> * <bg color="blue" pattern="stripes"/> * </pre> + * <p> * corresponds to a configuration element named <code>"bg"</code> * with attributes named <code>"color"</code> * and <code>"pattern"</code>. @@ -183,13 +186,14 @@ public interface IConfigurationElement { * <p> * Each child corresponds to a nested * XML element in the configuration markup. - * For example, the configuration markup + * For example, the configuration markup</p> * <pre> * <view> *     <verticalHint>top</verticalHint> *     <horizontalHint>left</horizontalHint> * </view> * </pre> + * <p> * corresponds to a configuration element, named <code>"view"</code>, * with two children. * </p> @@ -302,10 +306,11 @@ public interface IConfigurationElement { * <p> * Note that translation specified in the plug-in manifest * file is <b>not</b> automatically applied. - * For example, the configuration markup + * For example, the configuration markup</p> * <pre> * <tooltip>#hattip</tooltip> * </pre> + * <p> * corresponds to a configuration element, named <code>"tooltip"</code>, * with value <code>"#hattip"</code>. * </p> diff --git a/bundles/org.eclipse.equinox.registry/src/org/eclipse/core/runtime/IExecutableExtension.java b/bundles/org.eclipse.equinox.registry/src/org/eclipse/core/runtime/IExecutableExtension.java index 69d5f2ea3..7595c3eb6 100644 --- a/bundles/org.eclipse.equinox.registry/src/org/eclipse/core/runtime/IExecutableExtension.java +++ b/bundles/org.eclipse.equinox.registry/src/org/eclipse/core/runtime/IExecutableExtension.java @@ -13,8 +13,6 @@ *******************************************************************************/ package org.eclipse.core.runtime; -import org.eclipse.core.runtime.CoreException; - /** * Interface for executable extension classes that require access to * their configuration element, or implement an extension adapter. @@ -44,10 +42,11 @@ public interface IExecutableExtension { * <p> * Regular executable extensions specify their Java implementation * class name as an attribute of the configuration element for the - * extension. For example + * extension. For example</p> * <pre> * <action run="com.example.BaseAction"/> * </pre> + * <p> * In the above example, this method would be called with a reference * to the <code><action></code> element (first argument), and * <code>"run"</code> as the name of the attribute that defined @@ -69,24 +68,24 @@ public interface IExecutableExtension { * form. For example, if the extension point specifies an attribute * <code>"run"</code> to contain the name of the extension implementation, * an adapter can be configured as + * </p> * <pre> * <action run="com.example.ExternalAdapter:./cmds/util.exe -opt 3"/> * </pre> - * </p> * <p> * (2) by converting the attribute used to specify the executable * extension to a child element of the original configuration element, * and specifying the adapter data in the form of xml markup. * Using this form, the example above would become + * </p> * <pre> * <action> - * <<it>run</it> class="com.xyz.ExternalAdapter"> + * <run class="com.xyz.ExternalAdapter"> * <parameter name="exec" value="./cmds/util.exe"/> * <parameter name="opt" value="3"/> - * </<it>run</it>> + * </run> * </action> * </pre> - * </p> * <p> * Form (2) will typically only be * used for extension points that anticipate the majority of @@ -98,6 +97,7 @@ public interface IExecutableExtension { * 0-argument public constructor. The adapter data is passed as the * last argument of this method. The data argument is defined as Object. * It can have the following values: + * </p> * <ul> * <li><code>null</code>, if no adapter data was supplied</li> * <li>in case (1), the initialization data @@ -106,7 +106,6 @@ public interface IExecutableExtension { * as a <code>Hashtable</code> containing the actual * parameter names and values (both <code>String</code>s)</li> * </ul> - * </p> * * @param config the configuration element used to trigger this execution. * It can be queried by the executable extension for specific diff --git a/bundles/org.eclipse.equinox.registry/src/org/eclipse/core/runtime/IExtensionRegistry.java b/bundles/org.eclipse.equinox.registry/src/org/eclipse/core/runtime/IExtensionRegistry.java index 3cfd56dc9..5ec344b13 100644 --- a/bundles/org.eclipse.equinox.registry/src/org/eclipse/core/runtime/IExtensionRegistry.java +++ b/bundles/org.eclipse.equinox.registry/src/org/eclipse/core/runtime/IExtensionRegistry.java @@ -89,10 +89,10 @@ public interface IExtensionRegistry { * * </p><p> * This method is equivalent to: + * </p> * <pre> * addRegistryChangeListener(listener,null); * </pre> - * </p> * * @param listener the listener * @see IRegistryChangeListener diff --git a/bundles/org.eclipse.equinox.registry/src/org/eclipse/core/runtime/spi/RegistryStrategy.java b/bundles/org.eclipse.equinox.registry/src/org/eclipse/core/runtime/spi/RegistryStrategy.java index aa43b3413..0e207487a 100644 --- a/bundles/org.eclipse.equinox.registry/src/org/eclipse/core/runtime/spi/RegistryStrategy.java +++ b/bundles/org.eclipse.equinox.registry/src/org/eclipse/core/runtime/spi/RegistryStrategy.java @@ -117,13 +117,13 @@ public class RegistryStrategy { * to the registry. The method adds a log entry based on the supplied status. * <p> * This method writes a message to <code>System.out</code> - * in the following format: + * in the following format:</p> * <pre> * [Error|Warning|Log]: Main error message * [Error|Warning|Log]: Child error message 1 * ... * [Error|Warning|Log]: Child error message N - * </pre></p> + * </pre> * * @param status the status to log */ |