Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFred Bricon2019-05-29 14:31:18 +0000
committerFred Bricon2019-05-29 14:31:18 +0000
commitf9f6690e30ba3085dc844c439db55596d0c674b0 (patch)
tree4b710bfb1fec0deb7b21a97fb8d03629993db338 /org.eclipse.m2e.core.ui
parent7dc19b924f65d87d9a7d572102dc1394547fda33 (diff)
downloadm2e-core-f9f6690e30ba3085dc844c439db55596d0c674b0.tar.gz
m2e-core-f9f6690e30ba3085dc844c439db55596d0c674b0.tar.xz
m2e-core-f9f6690e30ba3085dc844c439db55596d0c674b0.zip
Bug 547765 : add 'Update Configuration...' to pom.xml context menu
Change-Id: I88328766d81cefcfaa066865494dcbef691f0581 Signed-off-by: Fred Bricon <fbricon@gmail.com>
Diffstat (limited to 'org.eclipse.m2e.core.ui')
-rw-r--r--org.eclipse.m2e.core.ui/plugin.xml16
1 files changed, 15 insertions, 1 deletions
diff --git a/org.eclipse.m2e.core.ui/plugin.xml b/org.eclipse.m2e.core.ui/plugin.xml
index fbc84159..4b5dcea3 100644
--- a/org.eclipse.m2e.core.ui/plugin.xml
+++ b/org.eclipse.m2e.core.ui/plugin.xml
@@ -214,7 +214,21 @@
<objectState name="name" value="pom.xml"/>
</visibility>
</objectContribution>
-
+ <objectContribution id="org.eclipse.m2e.core.fileMenu.updateProjectAction"
+ objectClass="org.eclipse.core.resources.IFile"
+ adaptable="true">
+ <action id="org.eclipse.m2e.updateProjectAction"
+ class="org.eclipse.m2e.core.ui.internal.actions.UpdateMavenProjectAction"
+ label="%m2.popup.UpdateMavenProjectAction"
+ style="push"
+ menubarPath="org.eclipse.m2e.core.fileMenu/update"
+ enablesFor="1"/>
+ <visibility>
+ <and>
+ <objectState name="name" value="pom.xml"/>
+ </and>
+ </visibility>
+ </objectContribution>
<!-- MNGECLIPSE-2564 -for *not* maven project, add the Convert to Maven Project action -->
<objectContribution id="org.eclipse.m2e.enableNatureAction"
objectClass="org.eclipse.core.resources.IProject"

Back to the top