Skip to main content
aboutsummaryrefslogblamecommitdiffstats
blob: 8233ce6779109db5d52a73f9b87b69d01582ae72 (plain) (tree)
























































































                                                                                                     



                                                                       













                                                                                       
                                                               


               
<?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="and">
               <instanceof
                     value="org.eclipse.debug.core.model.DebugElement">
               </instanceof>
               <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">
            <keywordReference id="org.eclipse.m2e.core.maven"/>
      </page>
   </extension>
</plugin>

Back to the top