[Esbox-commits] r202 - in trunk/org.indt.esbox.python.launch: . META-INF src src/org src/org/indt src/org/indt/esbox src/org/indt/esbox/python src/org/indt/esbox/python/launch
pauloromulo at garage.maemo.org
pauloromulo at garage.maemo.org
Tue Oct 30 20:00:11 EET 2007
Author: pauloromulo
Date: 2007-10-30 20:00:06 +0200 (Tue, 30 Oct 2007)
New Revision: 202
Added:
trunk/org.indt.esbox.python.launch/.classpath
trunk/org.indt.esbox.python.launch/.project
trunk/org.indt.esbox.python.launch/META-INF/
trunk/org.indt.esbox.python.launch/META-INF/MANIFEST.MF
trunk/org.indt.esbox.python.launch/build.properties
trunk/org.indt.esbox.python.launch/src/
trunk/org.indt.esbox.python.launch/src/org/
trunk/org.indt.esbox.python.launch/src/org/indt/
trunk/org.indt.esbox.python.launch/src/org/indt/esbox/
trunk/org.indt.esbox.python.launch/src/org/indt/esbox/python/
trunk/org.indt.esbox.python.launch/src/org/indt/esbox/python/launch/
trunk/org.indt.esbox.python.launch/src/org/indt/esbox/python/launch/PythonLaunchActivator.java
trunk/org.indt.esbox.python.launch/src/org/indt/esbox/python/launch/local/
Log:
Initial import of python launch.
Added: trunk/org.indt.esbox.python.launch/.classpath
===================================================================
--- trunk/org.indt.esbox.python.launch/.classpath (rev 0)
+++ trunk/org.indt.esbox.python.launch/.classpath 2007-10-30 18:00:06 UTC (rev 202)
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<classpath>
+ <classpathentry kind="src" path="src"/>
+ <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
+ <classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
+ <classpathentry kind="output" path="bin"/>
+</classpath>
Added: trunk/org.indt.esbox.python.launch/.project
===================================================================
--- trunk/org.indt.esbox.python.launch/.project (rev 0)
+++ trunk/org.indt.esbox.python.launch/.project 2007-10-30 18:00:06 UTC (rev 202)
@@ -0,0 +1,28 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+ <name>org.indt.esbox.python.launch</name>
+ <comment></comment>
+ <projects>
+ </projects>
+ <buildSpec>
+ <buildCommand>
+ <name>org.eclipse.jdt.core.javabuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ <buildCommand>
+ <name>org.eclipse.pde.ManifestBuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ <buildCommand>
+ <name>org.eclipse.pde.SchemaBuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ </buildSpec>
+ <natures>
+ <nature>org.eclipse.pde.PluginNature</nature>
+ <nature>org.eclipse.jdt.core.javanature</nature>
+ </natures>
+</projectDescription>
Added: trunk/org.indt.esbox.python.launch/META-INF/MANIFEST.MF
===================================================================
--- trunk/org.indt.esbox.python.launch/META-INF/MANIFEST.MF (rev 0)
+++ trunk/org.indt.esbox.python.launch/META-INF/MANIFEST.MF 2007-10-30 18:00:06 UTC (rev 202)
@@ -0,0 +1,10 @@
+Manifest-Version: 1.0
+Bundle-ManifestVersion: 2
+Bundle-Name: ESBox Python Launch Plug-in
+Bundle-SymbolicName: org.indt.esbox.python.launch
+Bundle-Version: 1.0.0
+Bundle-Activator: org.indt.esbox.python.launch.PythonLaunchActivator
+Bundle-Vendor: INdT
+Require-Bundle: org.eclipse.ui,
+ org.eclipse.core.runtime
+Eclipse-LazyStart: true
Added: trunk/org.indt.esbox.python.launch/build.properties
===================================================================
--- trunk/org.indt.esbox.python.launch/build.properties (rev 0)
+++ trunk/org.indt.esbox.python.launch/build.properties 2007-10-30 18:00:06 UTC (rev 202)
@@ -0,0 +1,4 @@
+source.. = src/
+output.. = bin/
+bin.includes = META-INF/,\
+ .
Added: trunk/org.indt.esbox.python.launch/src/org/indt/esbox/python/launch/PythonLaunchActivator.java
===================================================================
--- trunk/org.indt.esbox.python.launch/src/org/indt/esbox/python/launch/PythonLaunchActivator.java (rev 0)
+++ trunk/org.indt.esbox.python.launch/src/org/indt/esbox/python/launch/PythonLaunchActivator.java 2007-10-30 18:00:06 UTC (rev 202)
@@ -0,0 +1,50 @@
+package org.indt.esbox.python.launch;
+
+import org.eclipse.ui.plugin.AbstractUIPlugin;
+import org.osgi.framework.BundleContext;
+
+/**
+ * The activator class controls the plug-in life cycle
+ */
+public class PythonLaunchActivator extends AbstractUIPlugin {
+
+ // The plug-in ID
+ public static final String PLUGIN_ID = "org.indt.esbox.python.launch";
+
+ // The shared instance
+ private static PythonLaunchActivator plugin;
+
+ /**
+ * The constructor
+ */
+ public PythonLaunchActivator() {
+ }
+
+ /*
+ * (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 PythonLaunchActivator getDefault() {
+ return plugin;
+ }
+
+}
More information about the Esbox-commits
mailing list