Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIgor Fedorenko2017-11-19 23:26:34 +0000
committerIgor Fedorenko2018-05-21 13:17:14 +0000
commitb68b8b26d23c41b94abd1b02a1864ab52038f6c1 (patch)
tree0a61500c5afc9f8c56a4e65b308d5f1b81bcb3b0 /org.eclipse.m2e.sourcelookup.ui/plugin.xml
parent4c27b30f5335de0e98805a42ff83622a854daedd (diff)
downloadm2e-core-b68b8b26d23c41b94abd1b02a1864ab52038f6c1.tar.gz
m2e-core-b68b8b26d23c41b94abd1b02a1864ab52038f6c1.tar.xz
m2e-core-b68b8b26d23c41b94abd1b02a1864ab52038f6c1.zip
Bug 384065: advanced sourcelookup support
Change-Id: Ib145445c60c686bbbc187f252b32591535ac740d Signed-off-by: Igor Fedorenko <igor@ifedorenko.com>
Diffstat (limited to 'org.eclipse.m2e.sourcelookup.ui/plugin.xml')
-rw-r--r--org.eclipse.m2e.sourcelookup.ui/plugin.xml107
1 files changed, 107 insertions, 0 deletions
diff --git a/org.eclipse.m2e.sourcelookup.ui/plugin.xml b/org.eclipse.m2e.sourcelookup.ui/plugin.xml
new file mode 100644
index 00000000..240d8388
--- /dev/null
+++ b/org.eclipse.m2e.sourcelookup.ui/plugin.xml
@@ -0,0 +1,107 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<?eclipse version="3.4"?>
+<plugin>
+ <extension
+ point="org.eclipse.ui.menus">
+ <menuContribution
+ allPopups="false"
+ locationURI="popup:org.eclipse.ui.popup.any?after=additions">
+ <command
+ commandId="org.eclipse.m2e.sourcelookup.ui.openPom"
+ icon="icons/open_pom.gif"
+ style="push">
+ <visibleWhen
+ checkEnabled="true">
+ </visibleWhen>
+ </command>
+ <command
+ commandId="org.eclipse.m2e.sourcelookup.ui.importBinaryProject"
+ icon="icons/binary_project.gif"
+ style="push">
+ <visibleWhen
+ checkEnabled="true">
+ </visibleWhen>
+ </command>
+ <command
+ commandId="org.eclipse.m2e.sourcelookup.ui.openSourceLookupInfoDialog"
+ style="push">
+ <visibleWhen
+ checkEnabled="true">
+ </visibleWhen>
+ </command>
+ </menuContribution>
+ </extension>
+ <extension
+ point="org.eclipse.ui.commands">
+ <command
+ id="org.eclipse.m2e.sourcelookup.ui.openPom"
+ name="Open Pom">
+ </command>
+ <command
+ id="org.eclipse.m2e.sourcelookup.ui.importBinaryProject"
+ name="Import Binary Project">
+ </command>
+ <command
+ id="org.eclipse.m2e.sourcelookup.ui.openSourceLookupInfoDialog"
+ name="Source Lookup Info">
+ </command>
+ </extension>
+ <extension
+ point="org.eclipse.ui.handlers">
+ <handler
+ class="org.eclipse.m2e.sourcelookup.ui.internal.OpenPomCommandHandler"
+ commandId="org.eclipse.m2e.sourcelookup.ui.openPom">
+ <enabledWhen>
+ <reference
+ definitionId="org.eclipse.m2e.sourcelookup.ui.m2estratum">
+ </reference>
+ </enabledWhen>
+ </handler>
+ <handler
+ class="org.eclipse.m2e.sourcelookup.ui.internal.ImportBinaryProjectHandler"
+ commandId="org.eclipse.m2e.sourcelookup.ui.importBinaryProject">
+ <enabledWhen>
+ <reference
+ definitionId="org.eclipse.m2e.sourcelookup.ui.m2estratum">
+ </reference>
+ </enabledWhen>
+ </handler>
+ <handler
+ class="org.eclipse.m2e.sourcelookup.ui.internal.OpenSourceLookupInfoDialogCommandHandler"
+ commandId="org.eclipse.m2e.sourcelookup.ui.openSourceLookupInfoDialog">
+ <enabledWhen>
+ <reference
+ definitionId="org.eclipse.m2e.sourcelookup.ui.m2estratum">
+ </reference>
+ </enabledWhen>
+ </handler>
+ </extension>
+ <extension
+ point="org.eclipse.core.expressions.definitions">
+ <definition
+ id="org.eclipse.m2e.sourcelookup.ui.m2estratum">
+ <with
+ variable="selection">
+ <count
+ value="1">
+ </count>
+ <iterate
+ ifEmpty="false"
+ operator="or">
+ <test
+ property="org.eclipse.jdt.launching.jdtstratum">
+ </test>
+ </iterate>
+ </with>
+ </definition>
+ </extension>
+ <extension
+ point="org.eclipse.ui.preferencePages">
+ <page
+ category="org.eclipse.m2e.core.preferences.Maven2PreferencePage"
+ class="org.eclipse.m2e.sourcelookup.ui.internal.SourceLookupPreferencePage"
+ id="org.eclipse.m2e.sourcelookup.ui.internal.SourceLookupPreferencePage"
+ name="Source Lookup">
+ </page>
+ </extension>
+</plugin>

Back to the top