diff options
Diffstat (limited to 'bundles/org.eclipse.equinox.registry/src/org/eclipse/core/runtime/dynamichelpers/IExtensionTracker.java')
-rw-r--r-- | bundles/org.eclipse.equinox.registry/src/org/eclipse/core/runtime/dynamichelpers/IExtensionTracker.java | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/bundles/org.eclipse.equinox.registry/src/org/eclipse/core/runtime/dynamichelpers/IExtensionTracker.java b/bundles/org.eclipse.equinox.registry/src/org/eclipse/core/runtime/dynamichelpers/IExtensionTracker.java index 663a1af04..40ad64255 100644 --- a/bundles/org.eclipse.equinox.registry/src/org/eclipse/core/runtime/dynamichelpers/IExtensionTracker.java +++ b/bundles/org.eclipse.equinox.registry/src/org/eclipse/core/runtime/dynamichelpers/IExtensionTracker.java @@ -4,7 +4,7 @@ * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v10.html - * + * * Contributors: * IBM Corporation - initial API and implementation *******************************************************************************/ @@ -29,28 +29,28 @@ public interface IExtensionTracker { /** * Constant for strong (normal) reference holding. - * + * * Value <code>1</code>. */ public static final int REF_STRONG = ReferenceHashSet.HARD; /** * Constant for soft reference holding. - * + * * Value <code>2</code>. */ public static final int REF_SOFT = ReferenceHashSet.SOFT; /** * Constant for weak reference holding. - * + * * Value <code>3</code>. */ public static final int REF_WEAK = ReferenceHashSet.WEAK; /** * Register an extension change handler with this tracker using the given filter. - * + * * @param handler the handler to be registered * @param filter the filter to use to choose interesting changes */ @@ -58,8 +58,8 @@ public interface IExtensionTracker { /** * Unregister the given extension change handler previously registered with this tracker. - * - * @param handler the handler to be unregistered + * + * @param handler the handler to be unregistered */ public void unregisterHandler(IExtensionChangeHandler handler); @@ -67,8 +67,8 @@ public interface IExtensionTracker { * Create an association between the given extension and the given object. * The referenceType indicates how strongly the object is being kept in memory. * There is 3 possible values: {@link #REF_STRONG}, {@link #REF_SOFT}, {@link #REF_WEAK}. - * - * @param extension the extension + * + * @param extension the extension * @param object the object to associate with the extension * @param referenceType one of REF_STRONG, REF_SOFT, REF_WEAK * @see #REF_STRONG @@ -79,7 +79,7 @@ public interface IExtensionTracker { /** * Remove an association between the given extension and the given object. - * + * * @param extension the extension under which the object has been registered * @param object the object to unregister */ @@ -88,7 +88,7 @@ public interface IExtensionTracker { /** * Remove all the objects associated with the given extension. Return * the removed objects. - * + * * @param extension the extension for which the objects are removed * @return the objects that were associated with the extension */ @@ -97,10 +97,10 @@ public interface IExtensionTracker { /** * Return all the objects that have been associated with the given extension. * All objects registered strongly will be return unless they have been unregistered. - * The objects registered softly or weakly may not be returned if they have been garbage collected. + * The objects registered softly or weakly may not be returned if they have been garbage collected. * Return an empty array if no associations exist. - * - * @param extension the extension for which the object must be returned + * + * @param extension the extension for which the object must be returned * @return the array of associated objects */ public Object[] getObjects(IExtension extension); |