More renames to make deep linking work correctly
diff --git a/bundles/org.eclipse.e4.core.deeplink.typehandler.extensionpt/schema/deepLinkExtensionPointInstanceHandler.exsd b/bundles/org.eclipse.e4.core.deeplink.typehandler.extensionpt/schema/deepLinkExtensionPointInstanceHandler.exsd index 5cb5b79..5ab4801 100644 --- a/bundles/org.eclipse.e4.core.deeplink.typehandler.extensionpt/schema/deepLinkExtensionPointInstanceHandler.exsd +++ b/bundles/org.eclipse.e4.core.deeplink.typehandler.extensionpt/schema/deepLinkExtensionPointInstanceHandler.exsd
@@ -1,88 +1,92 @@ -<?xml version='1.0' encoding='UTF-8'?> -<!-- Schema file written by PDE --> -<schema targetNamespace="org.eclipse.e4.enterprise.deeplink.typehandler.extensionpt" xmlns="http://www.w3.org/2001/XMLSchema"> -<annotation> - <appinfo> - <meta.schema plugin="org.eclipse.e4.enterprise.deeplink.typehandler.extensionpt" id="deepLinkHandler" name="URL handler for a Deep Linked Application"/> - </appinfo> - <documentation> - Allow an application to register one or more deep link handlers. These will be called when referenced in a DeepLink URL, and the handler passed any parameters supplied on the URL query. - </documentation> - </annotation> - - <element name="extension"> - <annotation> - <appinfo> - <meta.element /> - </appinfo> - </annotation> - <complexType> - <sequence> - <element ref="deepLinkExtensionPointInstanceHandler"/> - </sequence> - <attribute name="point" type="string" use="required"> - <annotation> - <documentation> - - </documentation> - </annotation> - </attribute> - <attribute name="id" type="string"> - <annotation> - <documentation> - - </documentation> - </annotation> - </attribute> - <attribute name="name" type="string"> - <annotation> - <documentation> - - </documentation> - <appinfo> - <meta.attribute translatable="true"/> - </appinfo> - </annotation> - </attribute> - </complexType> - </element> - - <element name="deepLinkExtensionPointInstanceHandler"> - <complexType> - <attribute name="id" type="string" use="required"> - <annotation> - <documentation> - - </documentation> - </annotation> - </attribute> - <attribute name="name" type="string"> - <annotation> - <documentation> - - </documentation> - </annotation> - </attribute> - <attribute name="class" type="string" use="required"> - <annotation> - <documentation> - - </documentation> - <appinfo> - <meta.attribute kind="java" basedOn="org.eclipse.e4.core.deeplink.api.AbstractDeepLinkInstanceHandler:"/> - </appinfo> - </annotation> - </attribute> - </complexType> - </element> - - <annotation> - <appinfo> - <meta.section type="since"/> - </appinfo> - <documentation> - 1.0.0 - </documentation> - </annotation> - -</schema> +<?xml version='1.0' encoding='UTF-8'?> +<!-- Schema file written by PDE --> +<schema targetNamespace="org.eclipse.e4.enterprise.deeplink.typehandler.extensionpt" xmlns="http://www.w3.org/2001/XMLSchema"> +<annotation> + <appinfo> + <meta.schema plugin="org.eclipse.e4.enterprise.deeplink.typehandler.extensionpt" id="deepLinkHandler" name="URL handler for a Deep Linked Application"/> + </appinfo> + <documentation> + Allow an application to register one or more deep link handlers. These will be called when referenced in a DeepLink URL, and the handler passed any parameters supplied on the URL query. + </documentation> + </annotation> + + <element name="extension"> + <annotation> + <appinfo> + <meta.element /> + </appinfo> + </annotation> + <complexType> + <sequence> + <element ref="deepLinkExtensionPointInstanceHandler"/> + </sequence> + <attribute name="point" type="string" use="required"> + <annotation> + <documentation> + + </documentation> + </annotation> + </attribute> + <attribute name="id" type="string"> + <annotation> + <documentation> + + </documentation> + </annotation> + </attribute> + <attribute name="name" type="string"> + <annotation> + <documentation> + + </documentation> + <appinfo> + <meta.attribute translatable="true"/> + </appinfo> + </annotation> + </attribute> + </complexType> + </element> + + <element name="deepLinkExtensionPointInstanceHandler"> + <complexType> + <attribute name="id" type="string" use="required"> + <annotation> + <documentation> + + </documentation> + </annotation> + </attribute> + <attribute name="name" type="string"> + <annotation> + <documentation> + + </documentation> + </annotation> + </attribute> + <attribute name="class" type="string" use="required"> + <annotation> + <documentation> + + </documentation> + <appinfo> + <meta.attribute kind="java" basedOn="org.eclipse.e4.core.deeplink.api.AbstractDeepLinkInstanceHandler:"/> + </appinfo> + </annotation> + </attribute> + </complexType> + </element> + + <annotation> + <appinfo> + <meta.section type="since"/> + </appinfo> + <documentation> + 1.0.0 + </documentation> + </annotation> + + + + + +</schema>
diff --git a/bundles/org.eclipse.e4.core.deeplink.typehandler.extensionpt/src/org/eclipse/e4/core/deeplink/typehandler/extensionpt/Activator.java b/bundles/org.eclipse.e4.core.deeplink.typehandler.extensionpt/src/org/eclipse/e4/core/deeplink/typehandler/extensionpt/Activator.java index 1e55ac2..ebaaabf 100644 --- a/bundles/org.eclipse.e4.core.deeplink.typehandler.extensionpt/src/org/eclipse/e4/core/deeplink/typehandler/extensionpt/Activator.java +++ b/bundles/org.eclipse.e4.core.deeplink.typehandler.extensionpt/src/org/eclipse/e4/core/deeplink/typehandler/extensionpt/Activator.java
@@ -8,54 +8,54 @@ * Contributors: * David Orme - initial API and implementation ******************************************************************************/ -package org.eclipse.e4.core.deeplink.typehandler.extensionpt; - -import org.eclipse.core.runtime.Plugin; -import org.osgi.framework.BundleContext; - -/** - * The activator class controls the plug-in life cycle - */ -public class Activator extends Plugin { - - // The plug-in ID - public static final String PLUGIN_ID = "org.eclipse.e4.enterprise.deeplink.typehandler.extensionpt"; - public static final String DEEP_LINK_EXT_PT_ID = "deepLinkExtensionPointInstanceHandler"; - - // The shared instance - private static Activator plugin; - - /** - * The constructor - */ - public Activator() { - } - - /* - * (non-Javadoc) - * @see org.eclipse.core.runtime.Plugins#start(org.osgi.framework.BundleContext) - */ - public void start(BundleContext context) throws Exception { - super.start(context); - plugin = this; - } - - /* - * (non-Javadoc) - * @see org.eclipse.core.runtime.Plugin#stop(org.osgi.framework.BundleContext) - */ - public void stop(BundleContext context) throws Exception { - plugin = null; - super.stop(context); - } - - /** - * Returns the shared instance - * - * @return the shared instance - */ - public static Activator getDefault() { - return plugin; - } - -} +package org.eclipse.e4.core.deeplink.typehandler.extensionpt; + +import org.eclipse.core.runtime.Plugin; +import org.osgi.framework.BundleContext; + +/** + * The activator class controls the plug-in life cycle + */ +public class Activator extends Plugin { + + // The plug-in ID + public static final String PLUGIN_ID = "org.eclipse.e4.core.deeplink.typehandler.extensionpt"; + public static final String DEEP_LINK_EXT_PT_ID = "deepLinkExtensionPointInstanceHandler"; + + // The shared instance + private static Activator plugin; + + /** + * The constructor + */ + public Activator() { + } + + /* + * (non-Javadoc) + * @see org.eclipse.core.runtime.Plugins#start(org.osgi.framework.BundleContext) + */ + public void start(BundleContext context) throws Exception { + super.start(context); + plugin = this; + } + + /* + * (non-Javadoc) + * @see org.eclipse.core.runtime.Plugin#stop(org.osgi.framework.BundleContext) + */ + public void stop(BundleContext context) throws Exception { + plugin = null; + super.stop(context); + } + + /** + * Returns the shared instance + * + * @return the shared instance + */ + public static Activator getDefault() { + return plugin; + } + +}