Author: rob.stryker(a)jboss.com
Date: 2009-06-22 03:59:54 -0400 (Mon, 22 Jun 2009)
New Revision: 16109
Added:
trunk/as/plugins/org.jboss.ide.eclipse.as.wtp.override.core/
trunk/as/plugins/org.jboss.ide.eclipse.as.wtp.override.core/.classpath
trunk/as/plugins/org.jboss.ide.eclipse.as.wtp.override.core/.project
trunk/as/plugins/org.jboss.ide.eclipse.as.wtp.override.core/.settings/
trunk/as/plugins/org.jboss.ide.eclipse.as.wtp.override.core/.settings/org.eclipse.jdt.core.prefs
trunk/as/plugins/org.jboss.ide.eclipse.as.wtp.override.core/META-INF/
trunk/as/plugins/org.jboss.ide.eclipse.as.wtp.override.core/META-INF/MANIFEST.MF
trunk/as/plugins/org.jboss.ide.eclipse.as.wtp.override.core/build.properties
trunk/as/plugins/org.jboss.ide.eclipse.as.wtp.override.core/src/
trunk/as/plugins/org.jboss.ide.eclipse.as.wtp.override.core/src/org/
trunk/as/plugins/org.jboss.ide.eclipse.as.wtp.override.core/src/org/jboss/
trunk/as/plugins/org.jboss.ide.eclipse.as.wtp.override.core/src/org/jboss/ide/
trunk/as/plugins/org.jboss.ide.eclipse.as.wtp.override.core/src/org/jboss/ide/eclipse/
trunk/as/plugins/org.jboss.ide.eclipse.as.wtp.override.core/src/org/jboss/ide/eclipse/as/
trunk/as/plugins/org.jboss.ide.eclipse.as.wtp.override.core/src/org/jboss/ide/eclipse/as/wtp/
trunk/as/plugins/org.jboss.ide.eclipse.as.wtp.override.core/src/org/jboss/ide/eclipse/as/wtp/override/
trunk/as/plugins/org.jboss.ide.eclipse.as.wtp.override.core/src/org/jboss/ide/eclipse/as/wtp/override/core/
trunk/as/plugins/org.jboss.ide.eclipse.as.wtp.override.core/src/org/jboss/ide/eclipse/as/wtp/override/core/Activator.java
trunk/as/plugins/org.jboss.ide.eclipse.as.wtp.override.core/src/org/jboss/ide/eclipse/as/wtp/override/core/modules/
trunk/as/plugins/org.jboss.ide.eclipse.as.wtp.override.core/src/org/jboss/ide/eclipse/as/wtp/override/core/modules/IChildModuleProvider.java
Log:
adding a wtp core overrides
Added: trunk/as/plugins/org.jboss.ide.eclipse.as.wtp.override.core/.classpath
===================================================================
--- trunk/as/plugins/org.jboss.ide.eclipse.as.wtp.override.core/.classpath
(rev 0)
+++ trunk/as/plugins/org.jboss.ide.eclipse.as.wtp.override.core/.classpath 2009-06-22
07:59:54 UTC (rev 16109)
@@ -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>
Added: trunk/as/plugins/org.jboss.ide.eclipse.as.wtp.override.core/.project
===================================================================
--- trunk/as/plugins/org.jboss.ide.eclipse.as.wtp.override.core/.project
(rev 0)
+++ trunk/as/plugins/org.jboss.ide.eclipse.as.wtp.override.core/.project 2009-06-22
07:59:54 UTC (rev 16109)
@@ -0,0 +1,28 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+ <name>org.jboss.ide.eclipse.as.wtp.override.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>
Added:
trunk/as/plugins/org.jboss.ide.eclipse.as.wtp.override.core/.settings/org.eclipse.jdt.core.prefs
===================================================================
---
trunk/as/plugins/org.jboss.ide.eclipse.as.wtp.override.core/.settings/org.eclipse.jdt.core.prefs
(rev 0)
+++
trunk/as/plugins/org.jboss.ide.eclipse.as.wtp.override.core/.settings/org.eclipse.jdt.core.prefs 2009-06-22
07:59:54 UTC (rev 16109)
@@ -0,0 +1,8 @@
+#Mon Jun 22 15:49:07 PDT 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
Added: trunk/as/plugins/org.jboss.ide.eclipse.as.wtp.override.core/META-INF/MANIFEST.MF
===================================================================
--- trunk/as/plugins/org.jboss.ide.eclipse.as.wtp.override.core/META-INF/MANIFEST.MF
(rev 0)
+++
trunk/as/plugins/org.jboss.ide.eclipse.as.wtp.override.core/META-INF/MANIFEST.MF 2009-06-22
07:59:54 UTC (rev 16109)
@@ -0,0 +1,11 @@
+Manifest-Version: 1.0
+Bundle-ManifestVersion: 2
+Bundle-Name: WTP Overrides Core
+Bundle-SymbolicName: org.jboss.ide.eclipse.as.wtp.override.core
+Bundle-Version: 1.0.0.qualifier
+Bundle-Activator: org.jboss.ide.eclipse.as.wtp.override.core.Activator
+Require-Bundle: org.eclipse.ui,
+ org.eclipse.core.runtime,
+ org.eclipse.wst.server.core;bundle-version="1.1.101"
+Bundle-ActivationPolicy: lazy
+Bundle-RequiredExecutionEnvironment: J2SE-1.5
Added: trunk/as/plugins/org.jboss.ide.eclipse.as.wtp.override.core/build.properties
===================================================================
--- trunk/as/plugins/org.jboss.ide.eclipse.as.wtp.override.core/build.properties
(rev 0)
+++
trunk/as/plugins/org.jboss.ide.eclipse.as.wtp.override.core/build.properties 2009-06-22
07:59:54 UTC (rev 16109)
@@ -0,0 +1,4 @@
+source.. = src/
+output.. = bin/
+bin.includes = META-INF/,\
+ .
Added:
trunk/as/plugins/org.jboss.ide.eclipse.as.wtp.override.core/src/org/jboss/ide/eclipse/as/wtp/override/core/Activator.java
===================================================================
---
trunk/as/plugins/org.jboss.ide.eclipse.as.wtp.override.core/src/org/jboss/ide/eclipse/as/wtp/override/core/Activator.java
(rev 0)
+++
trunk/as/plugins/org.jboss.ide.eclipse.as.wtp.override.core/src/org/jboss/ide/eclipse/as/wtp/override/core/Activator.java 2009-06-22
07:59:54 UTC (rev 16109)
@@ -0,0 +1,50 @@
+package org.jboss.ide.eclipse.as.wtp.override.core;
+
+import org.eclipse.ui.plugin.AbstractUIPlugin;
+import org.osgi.framework.BundleContext;
+
+/**
+ * The activator class controls the plug-in life cycle
+ */
+public class Activator extends AbstractUIPlugin {
+
+ // The plug-in ID
+ public static final String PLUGIN_ID =
"org.jboss.ide.eclipse.as.wtp.override.core";
+
+ // The shared instance
+ private static Activator plugin;
+
+ /**
+ * The constructor
+ */
+ public Activator() {
+ }
+
+ /*
+ * (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 Activator getDefault() {
+ return plugin;
+ }
+
+}
Added:
trunk/as/plugins/org.jboss.ide.eclipse.as.wtp.override.core/src/org/jboss/ide/eclipse/as/wtp/override/core/modules/IChildModuleProvider.java
===================================================================
---
trunk/as/plugins/org.jboss.ide.eclipse.as.wtp.override.core/src/org/jboss/ide/eclipse/as/wtp/override/core/modules/IChildModuleProvider.java
(rev 0)
+++
trunk/as/plugins/org.jboss.ide.eclipse.as.wtp.override.core/src/org/jboss/ide/eclipse/as/wtp/override/core/modules/IChildModuleProvider.java 2009-06-22
07:59:54 UTC (rev 16109)
@@ -0,0 +1,23 @@
+package org.jboss.ide.eclipse.as.wtp.override.core.modules;
+
+import org.eclipse.wst.server.core.IModule;
+
+
+public interface IChildModuleProvider {
+ /**
+ * Returns the modules contained within this module. The returned modules
+ * can be either modulecore projects or representations of binary jars
+ *
+ * @return a possibly empty array of modules contained within this application
+ */
+ public IModule[] getModules();
+
+ /**
+ * Returns the URI of the given module within this enterprise application.
+ *
+ * @param module a module within this application
+ * @return the URI of the given module, or <code>null</code> if the URI
could
+ * not be found
+ */
+ public String getURI(IModule module);
+}
Show replies by date