Rename RAP
authorMathieu Baudier <mbaudier@argeo.org>
Sat, 26 Feb 2011 13:34:11 +0000 (13:34 +0000)
committerMathieu Baudier <mbaudier@argeo.org>
Sat, 26 Feb 2011 13:34:11 +0000 (13:34 +0000)
git-svn-id: https://svn.argeo.org/commons/trunk@4221 4cfe0d0a-d680-48aa-b62c-e0a02a3f76cc

gis/plugins/org.argeo.gis.ui.rap.openlayers/META-INF/MANIFEST.MF
gis/plugins/org.argeo.gis.ui.rap.openlayers/src/main/java/org/argeo/gis/ui/rap/openlayers/GisOpenlayersPlugin.java [new file with mode: 0644]
gis/plugins/org.argeo.gis.ui.rap.openlayers/src/main/java/org/argeo/gis/ui/rap/openlayers/GisRapPlugin.java [deleted file]

index c5b83b926a1b78d833aa409f119f4bb035cad275..a34e68b80e169b43ccff1b76b49746f9622bde1e 100644 (file)
@@ -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 (file)
index 0000000..18bca99
--- /dev/null
@@ -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 (file)
index 64bd478..0000000
+++ /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;
-       }
-
-}