Skip to main content
aboutsummaryrefslogtreecommitdiffstats
blob: 043890f6d473479641277979246e2af588785ee1 (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
54
55
56
57
58
59
60
61
62
63
64
65
66
<?xml version="1.0" encoding="UTF-8"?>
<?eclipse version="3.4"?>
<plugin>
   <extension-point id="scmHandlers" name="%extension-point.scmhandlers.name" schema="schema/scmHandlers.exsd"/>
   <extension-point id="scmHandlersUi" name="%extension-point.scmhandlersui.name" schema="schema/scmHandlersUi.exsd"/>


   <extension point="org.eclipse.ui.popupMenus">
      <objectContribution id="org.eclipse.m2e.scm.ScmUrl"
          objectClass="org.eclipse.m2e.scm.ScmUrl"
          adaptable="true">
        <action id="org.eclipse.m2e.scm.internal.actions.CheckoutAsMavenAction"
                label="%checkoutaction.label"
                class="org.eclipse.m2e.scm.internal.actions.CheckoutAsMavenAction"
                menubarPath="checkoutGroup"/>
      </objectContribution>

	  <objectContribution id="org.eclipse.m2e.classpathMenu.materializeAction"
	                      objectClass="org.eclipse.jdt.core.IPackageFragmentRoot"
	                      adaptable="true">
	     <action id="org.eclipse.m2e.materializeAction"
	             class="org.eclipse.m2e.scm.internal.actions.MaterializeAction"
	             label="%m2.popup.MaterializeAction"
	             style="push"
	             menubarPath="org.eclipse.m2e.classpathMenu/import"
	             enablesFor="+"/>
	     <enablement>
	         <and>
	       		<test property="org.eclipse.m2e.hasArtifactKey"/>
	             <not>
	           		<test property="org.eclipse.m2e.hasProjectArtifactKey"/>
	             </not>
	         </and>
	     </enablement>
	  </objectContribution>      
   </extension>

   <extension point="org.eclipse.ui.newWizards">
      <wizard id="org.eclipse.m2e.scm.internal.wizards.MavenCheckoutWizard"
              name="%wizard.checkout.name"
              class="org.eclipse.m2e.scm.internal.wizards.MavenCheckoutWizard"
              category="org.eclipse.m2e"
              icon="icons/import_m2_project.gif" project="true">
         <description>%wizard.checkout.description</description>
      </wizard>
   </extension>

   <extension point="org.eclipse.ui.importWizards">
     <wizard id="org.eclipse.m2e.scm.internal.wizards.MavenMaterializePomWizard"
             class="org.eclipse.m2e.scm.internal.wizards.MavenMaterializePomWizard"
             category="org.eclipse.m2e"
             name="%m2.wizard.materialize.name"
             icon="icons/import_m2_project.gif">
       <description>%m2.wizard.materialize.description</description>
     </wizard>

     <wizard id="org.eclipse.m2e.scm.internal.wizards.MavenCheckoutWizard"
             class="org.eclipse.m2e.scm.internal.wizards.MavenCheckoutWizard"
             category="org.eclipse.m2e"
             name="%wizard.checkout2.name"
             icon="icons/import_m2_project.gif">
       <description>%wizard.checkout2.description</description>
     </wizard>
   </extension>

</plugin>

Back to the top