Author: akazakov
Date: 2009-09-14 15:24:15 -0400 (Mon, 14 Sep 2009)
New Revision: 17557
Added:
trunk/cdi/plugins/org.jboss.tools.cdi.core/.classpath
trunk/cdi/plugins/org.jboss.tools.cdi.core/.project
trunk/cdi/plugins/org.jboss.tools.cdi.core/.settings/
trunk/cdi/plugins/org.jboss.tools.cdi.core/.settings/org.eclipse.jdt.core.prefs
trunk/cdi/plugins/org.jboss.tools.cdi.core/META-INF/
trunk/cdi/plugins/org.jboss.tools.cdi.core/META-INF/MANIFEST.MF
trunk/cdi/plugins/org.jboss.tools.cdi.core/build.properties
trunk/cdi/plugins/org.jboss.tools.cdi.core/src/
trunk/cdi/plugins/org.jboss.tools.cdi.core/src/org/
trunk/cdi/plugins/org.jboss.tools.cdi.core/src/org/jboss/
trunk/cdi/plugins/org.jboss.tools.cdi.core/src/org/jboss/tools/
trunk/cdi/plugins/org.jboss.tools.cdi.core/src/org/jboss/tools/cdi/
trunk/cdi/plugins/org.jboss.tools.cdi.core/src/org/jboss/tools/cdi/core/
trunk/cdi/plugins/org.jboss.tools.cdi.core/src/org/jboss/tools/cdi/core/CDICorePlugin.java
Log:
Share project "org.jboss.tools.cdi.core" into
"https://svn.jboss.org/repos/jbosstools"
Added: trunk/cdi/plugins/org.jboss.tools.cdi.core/.classpath
===================================================================
--- trunk/cdi/plugins/org.jboss.tools.cdi.core/.classpath (rev 0)
+++ trunk/cdi/plugins/org.jboss.tools.cdi.core/.classpath 2009-09-14 19:24:15 UTC (rev
17557)
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<classpath>
+ <classpathentry kind="con"
path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/J2SE-1.5"/>
+ <classpathentry kind="con"
path="org.eclipse.pde.core.requiredPlugins"/>
+ <classpathentry kind="src" path="src"/>
+ <classpathentry kind="output" path="bin"/>
+</classpath>
Property changes on: trunk/cdi/plugins/org.jboss.tools.cdi.core/.classpath
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: trunk/cdi/plugins/org.jboss.tools.cdi.core/.project
===================================================================
--- trunk/cdi/plugins/org.jboss.tools.cdi.core/.project (rev 0)
+++ trunk/cdi/plugins/org.jboss.tools.cdi.core/.project 2009-09-14 19:24:15 UTC (rev
17557)
@@ -0,0 +1,28 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+ <name>org.jboss.tools.cdi.core</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>
Property changes on: trunk/cdi/plugins/org.jboss.tools.cdi.core/.project
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: trunk/cdi/plugins/org.jboss.tools.cdi.core/.settings/org.eclipse.jdt.core.prefs
===================================================================
--- trunk/cdi/plugins/org.jboss.tools.cdi.core/.settings/org.eclipse.jdt.core.prefs
(rev 0)
+++
trunk/cdi/plugins/org.jboss.tools.cdi.core/.settings/org.eclipse.jdt.core.prefs 2009-09-14
19:24:15 UTC (rev 17557)
@@ -0,0 +1,8 @@
+#Mon Sep 14 23:19:30 MSD 2009
+eclipse.preferences.version=1
+org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
+org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.5
+org.eclipse.jdt.core.compiler.compliance=1.5
+org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
+org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
+org.eclipse.jdt.core.compiler.source=1.5
Property changes on:
trunk/cdi/plugins/org.jboss.tools.cdi.core/.settings/org.eclipse.jdt.core.prefs
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: trunk/cdi/plugins/org.jboss.tools.cdi.core/META-INF/MANIFEST.MF
===================================================================
--- trunk/cdi/plugins/org.jboss.tools.cdi.core/META-INF/MANIFEST.MF
(rev 0)
+++ trunk/cdi/plugins/org.jboss.tools.cdi.core/META-INF/MANIFEST.MF 2009-09-14 19:24:15
UTC (rev 17557)
@@ -0,0 +1,10 @@
+Manifest-Version: 1.0
+Bundle-ManifestVersion: 2
+Bundle-Name: %Bundle-Name
+Bundle-SymbolicName: org.jboss.tools.cdi.core
+Bundle-Version: 1.0.0
+Bundle-Activator: org.jboss.tools.cdi.core.CDICorePlugin
+Require-Bundle: org.eclipse.ui,
+ org.eclipse.core.runtime
+Bundle-ActivationPolicy: lazy
+Bundle-RequiredExecutionEnvironment: J2SE-1.5
Property changes on: trunk/cdi/plugins/org.jboss.tools.cdi.core/META-INF/MANIFEST.MF
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: trunk/cdi/plugins/org.jboss.tools.cdi.core/build.properties
===================================================================
--- trunk/cdi/plugins/org.jboss.tools.cdi.core/build.properties
(rev 0)
+++ trunk/cdi/plugins/org.jboss.tools.cdi.core/build.properties 2009-09-14 19:24:15 UTC
(rev 17557)
@@ -0,0 +1,7 @@
+source.. = src/
+output.. = bin/
+bin.includes = plugin.xml,\
+ META-INF/,\
+ .,\
+ OSGI-INF/l10n/bundle.properties
+src.includes = src/
Property changes on: trunk/cdi/plugins/org.jboss.tools.cdi.core/build.properties
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added:
trunk/cdi/plugins/org.jboss.tools.cdi.core/src/org/jboss/tools/cdi/core/CDICorePlugin.java
===================================================================
---
trunk/cdi/plugins/org.jboss.tools.cdi.core/src/org/jboss/tools/cdi/core/CDICorePlugin.java
(rev 0)
+++
trunk/cdi/plugins/org.jboss.tools.cdi.core/src/org/jboss/tools/cdi/core/CDICorePlugin.java 2009-09-14
19:24:15 UTC (rev 17557)
@@ -0,0 +1,61 @@
+package org.jboss.tools.cdi.core;
+
+import org.eclipse.jface.resource.ImageDescriptor;
+import org.eclipse.ui.plugin.AbstractUIPlugin;
+import org.osgi.framework.BundleContext;
+
+/**
+ * The activator class controls the plug-in life cycle
+ */
+public class CDICorePlugin extends AbstractUIPlugin {
+
+ // The plug-in ID
+ public static final String PLUGIN_ID = "org.jboss.tools.cdi.core";
+
+ // The shared instance
+ private static CDICorePlugin plugin;
+
+ /**
+ * The constructor
+ */
+ public CDICorePlugin() {
+ }
+
+ /*
+ * (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 CDICorePlugin getDefault() {
+ return plugin;
+ }
+
+ /**
+ * Returns an image descriptor for the image file at the given
+ * plug-in relative path
+ *
+ * @param path the path
+ * @return the image descriptor
+ */
+ public static ImageDescriptor getImageDescriptor(String path) {
+ return imageDescriptorFromPlugin(PLUGIN_ID, path);
+ }
+}
Property changes on:
trunk/cdi/plugins/org.jboss.tools.cdi.core/src/org/jboss/tools/cdi/core/CDICorePlugin.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain