88377 - support RCP capability in PDE plugin project
diff --git a/features/org.eclipse.jem-feature/feature.xml b/features/org.eclipse.jem-feature/feature.xml index 7ce3e4f..b14f2ea 100644 --- a/features/org.eclipse.jem-feature/feature.xml +++ b/features/org.eclipse.jem-feature/feature.xml
@@ -2,7 +2,7 @@ <feature id="org.eclipse.jem" label="%featureName" - version="1.0.2.1" + version="1.0.2.2" provider-name="%providerName" image="eclipse_update_120.jpg">
diff --git a/plugins/org.eclipse.jem.proxy/plugin.xml b/plugins/org.eclipse.jem.proxy/plugin.xml index 69c1d2d..d24847f 100644 --- a/plugins/org.eclipse.jem.proxy/plugin.xml +++ b/plugins/org.eclipse.jem.proxy/plugin.xml
@@ -3,7 +3,7 @@ <plugin id="org.eclipse.jem.proxy" name="%pluginName" - version="1.0.2" + version="1.0.2.2" provider-name="%providerName" class="org.eclipse.jem.internal.proxy.core.ProxyPlugin">
diff --git a/plugins/org.eclipse.jem.proxy/proxy/org/eclipse/jem/internal/proxy/core/ProxyPlugin.java b/plugins/org.eclipse.jem.proxy/proxy/org/eclipse/jem/internal/proxy/core/ProxyPlugin.java index 1aae197..5ea9da3 100644 --- a/plugins/org.eclipse.jem.proxy/proxy/org/eclipse/jem/internal/proxy/core/ProxyPlugin.java +++ b/plugins/org.eclipse.jem.proxy/proxy/org/eclipse/jem/internal/proxy/core/ProxyPlugin.java
@@ -11,7 +11,7 @@ package org.eclipse.jem.internal.proxy.core; /* * $RCSfile: ProxyPlugin.java,v $ - * $Revision: 1.36 $ $Date: 2004/11/01 21:43:18 $ + * $Revision: 1.36.4.1 $ $Date: 2005/04/28 21:55:35 $ */ @@ -992,6 +992,20 @@ pdeprocess.findPlugins(project, pluginIds, visible, first); // expand the plugins for this project, if any. } + /** + * + * @param project + * + * @return true if this is a Plugin project or false if not + * @throws CoreException + * + * @since 1.0.2.2 + */ + public static boolean isPDEProject(IJavaProject project) throws CoreException { + return project.getProject().hasNature("org.eclipse.pde.PluginNature"); + } + + /* * Interface for processing Plugins. Used when PDE plugin is present in the installation. *