Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMilos Kleint2011-01-17 14:19:18 -0500
committerMilos Kleint2011-01-17 14:19:51 -0500
commita45d7e0dbba74c2b19e578a1b569876f83f777da (patch)
tree8ad76f357f59dd644f8e77719f27355f689034ad /org.eclipse.m2e.refactoring
parenteb3ecfacce6aa8cac0d11dea37e40a969db38a39 (diff)
downloadm2e-core-a45d7e0dbba74c2b19e578a1b569876f83f777da.tar.gz
m2e-core-a45d7e0dbba74c2b19e578a1b569876f83f777da.tar.xz
m2e-core-a45d7e0dbba74c2b19e578a1b569876f83f777da.zip
MNGECLIPSE-2707 comment out the m2menu extension impls, add declarative bindings for dependencies -> ArtifactKey
Diffstat (limited to 'org.eclipse.m2e.refactoring')
-rw-r--r--org.eclipse.m2e.refactoring/plugin.xml35
1 files changed, 33 insertions, 2 deletions
diff --git a/org.eclipse.m2e.refactoring/plugin.xml b/org.eclipse.m2e.refactoring/plugin.xml
index 4f7f09e0..f7bf62fa 100644
--- a/org.eclipse.m2e.refactoring/plugin.xml
+++ b/org.eclipse.m2e.refactoring/plugin.xml
@@ -71,10 +71,41 @@
label="%action.exclude3.label"
menubarPath="additions"/>
</objectContribution>
+
+
+ <objectContribution id="org.eclipse.m2e.refactoring.DependencyExclude"
+ objectClass="org.eclipse.jdt.core.IPackageFragmentRoot"
+ adaptable="true">
+ <action id="org.eclipse.m2e.refactoring.DependencyExclude"
+ class="org.eclipse.m2e.refactoring.exclude.DependencyExcludeAction"
+ label="%action.exclude3.label"
+ icon="icons/exclude.gif"
+ style="push"
+ menubarPath="org.eclipse.m2e.classpathMenu/open"
+ enablesFor="1"/>
+ <enablement>
+ <test property="org.eclipse.m2e.hasArtifactKey"/>
+ </enablement>
+ </objectContribution>
+ <objectContribution id="org.eclipse.m2e.refactoring.DependencyExclude2"
+ objectClass="org.eclipse.jdt.internal.ui.packageview.ClassPathContainer$RequiredProjectWrapper"
+ adaptable="true">
+ <action id="org.eclipse.m2e.refactoring.DependencyExclude"
+ class="org.eclipse.m2e.refactoring.exclude.DependencyExcludeAction"
+ label="%action.exclude3.label"
+ icon="icons/exclude.gif"
+ style="push"
+ menubarPath="org.eclipse.m2e.classpathMenuWrapper/open"
+ enablesFor="1"/>
+ <enablement>
+ <test property="org.eclipse.m2e.hasArtifactKey"/>
+ </enablement>
+ </objectContribution>
+
</extension>
- <extension point="org.eclipse.m2e.core.m2menu">
+ <!--extension point="org.eclipse.m2e.core.m2menu">
<factory class="org.eclipse.m2e.refactoring.internal.RefactoringMavenMenuCreator"/>
- </extension>
+ </extension-->
</plugin>

Back to the top