IScriptCompletionProposalFactory: annotate with @ExtensionPoint
diff --git a/core/plugins/org.eclipse.dltk.ui/src/org/eclipse/dltk/internal/ui/text/completion/ScriptCompletionProposalFactoryRegistry.java b/core/plugins/org.eclipse.dltk.ui/src/org/eclipse/dltk/internal/ui/text/completion/ScriptCompletionProposalFactoryRegistry.java
index 6ecb895..a67ef20 100644
--- a/core/plugins/org.eclipse.dltk.ui/src/org/eclipse/dltk/internal/ui/text/completion/ScriptCompletionProposalFactoryRegistry.java
+++ b/core/plugins/org.eclipse.dltk.ui/src/org/eclipse/dltk/internal/ui/text/completion/ScriptCompletionProposalFactoryRegistry.java
@@ -18,14 +18,16 @@
 
 public class ScriptCompletionProposalFactoryRegistry {
 
+	public static final String EXT_POINT = DLTKUIPlugin.PLUGIN_ID
+			+ ".completion";
+
 	private static NatureExtensionManager<IScriptCompletionProposalFactory> manager = null;
 
 	public static synchronized IScriptCompletionProposalFactory[] getFactories(
 			String natureId) {
 		if (manager == null) {
 			manager = new NatureExtensionManager<IScriptCompletionProposalFactory>(
-					DLTKUIPlugin.PLUGIN_ID + ".completion",
-					IScriptCompletionProposalFactory.class) {
+					EXT_POINT, IScriptCompletionProposalFactory.class) {
 				@Override
 				protected boolean isValidElement(IConfigurationElement element) {
 					return "proposalFactory".equals(element.getName());
diff --git a/core/plugins/org.eclipse.dltk.ui/src/org/eclipse/dltk/ui/text/completion/IScriptCompletionProposalFactory.java b/core/plugins/org.eclipse.dltk.ui/src/org/eclipse/dltk/ui/text/completion/IScriptCompletionProposalFactory.java
index 33d22c3..ac52ed8 100644
--- a/core/plugins/org.eclipse.dltk.ui/src/org/eclipse/dltk/ui/text/completion/IScriptCompletionProposalFactory.java
+++ b/core/plugins/org.eclipse.dltk.ui/src/org/eclipse/dltk/ui/text/completion/IScriptCompletionProposalFactory.java
@@ -11,18 +11,18 @@
  *******************************************************************************/
 package org.eclipse.dltk.ui.text.completion;
 
+import org.eclipse.dltk.annotations.ExtensionPoint;
 import org.eclipse.dltk.core.CompletionProposal;
+import org.eclipse.dltk.internal.ui.text.completion.ScriptCompletionProposalFactoryRegistry;
 
 /**
  * Interface to plug-in factories for converting {@link CompletionProposal}
  * generated by the {@link org.eclipse.dltk.codeassist.ICompletionEngine} to
  * {@link IScriptCompletionProposal} used to display proposals to the user.
  * 
- * Implementations should be contributed using
- * <code>org.eclipse.dltk.ui.completion/proposalFactory</code> extension point.
- * 
  * @since 3.0
  */
+@ExtensionPoint(point = ScriptCompletionProposalFactoryRegistry.EXT_POINT, element = "proposalFactory", attribute = "class")
 public interface IScriptCompletionProposalFactory {
 	/**
 	 * Creates the UI completion proposal or returns <code>null</code> if not