From: Mathieu Baudier Date: Sat, 26 Feb 2011 13:34:11 +0000 (+0000) Subject: Rename RAP X-Git-Tag: argeo-commons-2.1.30~1410 X-Git-Url: http://git.argeo.org/?a=commitdiff_plain;h=ab41c59dc92ba8bbc4b64f8f619ac30bfe4c4630;p=lgpl%2Fargeo-commons.git Rename RAP git-svn-id: https://svn.argeo.org/commons/trunk@4221 4cfe0d0a-d680-48aa-b62c-e0a02a3f76cc --- diff --git a/gis/plugins/org.argeo.gis.ui.rap.openlayers/META-INF/MANIFEST.MF b/gis/plugins/org.argeo.gis.ui.rap.openlayers/META-INF/MANIFEST.MF index c5b83b926..a34e68b80 100644 --- a/gis/plugins/org.argeo.gis.ui.rap.openlayers/META-INF/MANIFEST.MF +++ b/gis/plugins/org.argeo.gis.ui.rap.openlayers/META-INF/MANIFEST.MF @@ -3,7 +3,7 @@ Bundle-ManifestVersion: 2 Bundle-Name: Rap Bundle-SymbolicName: org.argeo.gis.ui.rap.openlayers Bundle-Version: 1.0.0.qualifier -Bundle-Activator: org.argeo.gis.ui.rap.openlayers.GisRapPlugin +Bundle-Activator: org.argeo.gis.ui.rap.openlayers.GisOpenlayersPlugin Bundle-Vendor: Argeo Require-Bundle: org.eclipse.rap.ui, org.eclipse.core.runtime diff --git a/gis/plugins/org.argeo.gis.ui.rap.openlayers/src/main/java/org/argeo/gis/ui/rap/openlayers/GisOpenlayersPlugin.java b/gis/plugins/org.argeo.gis.ui.rap.openlayers/src/main/java/org/argeo/gis/ui/rap/openlayers/GisOpenlayersPlugin.java new file mode 100644 index 000000000..18bca9927 --- /dev/null +++ b/gis/plugins/org.argeo.gis.ui.rap.openlayers/src/main/java/org/argeo/gis/ui/rap/openlayers/GisOpenlayersPlugin.java @@ -0,0 +1,50 @@ +package org.argeo.gis.ui.rap.openlayers; + +import org.eclipse.ui.plugin.AbstractUIPlugin; +import org.osgi.framework.BundleContext; + +/** + * The activator class controls the plug-in life cycle + */ +public class GisOpenlayersPlugin extends AbstractUIPlugin { + + // The plug-in ID + public static final String PLUGIN_ID = "org.argeo.gis.ui.rap"; //$NON-NLS-1$ + + // The shared instance + private static GisOpenlayersPlugin plugin; + + /** + * The constructor + */ + public GisOpenlayersPlugin() { + } + + /* + * (non-Javadoc) + * @see org.eclipse.ui.plugin.AbstractUIPlugin#start(org.osgi.framework.BundleContext) + */ + public void start(BundleContext context) throws Exception { + super.start(context); + plugin = this; + } + + /* + * (non-Javadoc) + * @see org.eclipse.ui.plugin.AbstractUIPlugin#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 GisOpenlayersPlugin getDefault() { + return plugin; + } + +} diff --git a/gis/plugins/org.argeo.gis.ui.rap.openlayers/src/main/java/org/argeo/gis/ui/rap/openlayers/GisRapPlugin.java b/gis/plugins/org.argeo.gis.ui.rap.openlayers/src/main/java/org/argeo/gis/ui/rap/openlayers/GisRapPlugin.java deleted file mode 100644 index 64bd47805..000000000 --- a/gis/plugins/org.argeo.gis.ui.rap.openlayers/src/main/java/org/argeo/gis/ui/rap/openlayers/GisRapPlugin.java +++ /dev/null @@ -1,50 +0,0 @@ -package org.argeo.gis.ui.rap.openlayers; - -import org.eclipse.ui.plugin.AbstractUIPlugin; -import org.osgi.framework.BundleContext; - -/** - * The activator class controls the plug-in life cycle - */ -public class GisRapPlugin extends AbstractUIPlugin { - - // The plug-in ID - public static final String PLUGIN_ID = "org.argeo.gis.ui.rap"; //$NON-NLS-1$ - - // The shared instance - private static GisRapPlugin plugin; - - /** - * The constructor - */ - public GisRapPlugin() { - } - - /* - * (non-Javadoc) - * @see org.eclipse.ui.plugin.AbstractUIPlugin#start(org.osgi.framework.BundleContext) - */ - public void start(BundleContext context) throws Exception { - super.start(context); - plugin = this; - } - - /* - * (non-Javadoc) - * @see org.eclipse.ui.plugin.AbstractUIPlugin#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 GisRapPlugin getDefault() { - return plugin; - } - -}