Skip to main content
aboutsummaryrefslogtreecommitdiffstats
blob: 0ead110c94a90d30397c95b9d352c0e5eb3b2162 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
<?xml version="1.0" encoding="UTF-8"?>
<!--
  Copyright (c) 2008 Sonatype, Inc.
  All rights reserved. This program and the accompanying materials
  are made available under the terms of the Eclipse Public License v1.0
  which accompanies this distribution, and is available at
  http://www.eclipse.org/legal/epl-v10.html
-->
<?eclipse version="3.2"?>
<plugin>
   <extension-point id="pageFactories" name="%extension-point.pageFactory.name" schema="schema/pageFactories.exsd"/>
   <extension-point id="org.eclipse.m2e.editor.plugins.configurationEditorContribution" name="%extension-point.pluginConfiguration.name" schema="schema/configurationEditorContribution.exsd"/>

  <extension point="org.eclipse.ui.editors">
    <editor
          class="org.eclipse.m2e.editor.pom.MavenPomEditor"
          contributorClass="org.eclipse.m2e.editor.pom.MavenPomEditorContributor"
          icon="icons/editor-pom.gif"
          id="org.eclipse.m2e.editor.MavenPomEditor"
          name="%editor.name">
       <contentTypeBinding contentTypeId="org.eclipse.m2e.core.pomFile"/> 
    </editor>
  </extension>

   <extension point="org.eclipse.ui.popupMenus">
      <objectContribution id="org.eclipse.m2e.classpathMenuWrapper.showDependencyHierarchy"
           objectClass="org.eclipse.jdt.internal.ui.packageview.ClassPathContainer$RequiredProjectWrapper"
                          adaptable="true">
         <action id="org.eclipse.m2e.ShowDependencyHierarchy"
                 class="org.eclipse.m2e.editor.internal.actions.ShowDependencyHierarchyAction"
                 label="%m2.popup.showHieararchy"
                 style="push"
                 menubarPath="org.eclipse.m2e.classpathMenuWrapper/open"
                 enablesFor="+"/>
         <enablement>
	     	<test property="org.eclipse.m2e.hasProjectArtifactKey"/>
         </enablement>
      </objectContribution>
      <objectContribution id="org.eclipse.m2e.classpathMenu.showDependencyHierarchy"
                          objectClass="org.eclipse.jdt.core.IPackageFragmentRoot"
                          adaptable="true">
         <action id="org.eclipse.m2e.ShowDependencyHierarchy"
                 class="org.eclipse.m2e.editor.internal.actions.ShowDependencyHierarchyAction"
                 label="%m2.popup.showHieararchy"
                 style="push"
                 menubarPath="org.eclipse.m2e.classpathMenu/open"
                 enablesFor="+"/>
         <enablement>
	     	<test property="org.eclipse.m2e.hasProjectArtifactKey"/>
         </enablement>
      </objectContribution>
   </extension>
</plugin>

Back to the top