Skip to main content
aboutsummaryrefslogtreecommitdiffstats
blob: eddbf953c2918b1ea1246c4391826e0396f126f1 (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
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
<?xml version="1.0" encoding="UTF-8"?>
<?eclipse version="3.4"?>
<plugin>
   <extension
         id="org.eclipse.papyrus.plugin.builder"
         name="Papyrus Plugin Builder"
         point="org.eclipse.core.resources.builders">
      <builder
            callOnEmptyDelta="true"
            hasNature="true"
            isConfigurable="false">
         <run
               class="org.eclipse.papyrus.toolsmiths.plugin.builder.PapyrusPluginBuilder">
         </run>
      </builder>
   </extension>
   <extension
         id="org.eclipse.papyrus.plugin.nature"
         name="Papyrus Plugin - Nature"
         point="org.eclipse.core.resources.natures">
      <runtime>
         <run
               class="org.eclipse.papyrus.toolsmiths.plugin.builder.nature.PapyrusPluginNature">
         </run>
      </runtime>
      <builder
            id="org.eclipse.papyrus.plugin.builder">
      </builder>
      <requires-nature
            id="org.eclipse.jdt.core.javanature">
      </requires-nature>
      <requires-nature
            id="org.eclipse.pde.PluginNature">
      </requires-nature>
   </extension>
   <extension
         point="org.eclipse.ui.commands">
      <command
            defaultHandler="org.eclipse.papyrus.toolsmiths.plugin.builder.nature.AddPapyrusPluginNatureHandler"
            id="org.eclipse.papyrus.toolsmiths.plugin.builder.addPapyrusNatureCommand"
            name="Convert To Papyrus Plugin Command">
      </command>
   </extension>
   <extension
         point="org.eclipse.ui.menus">
      <menuContribution
            allPopups="false"
            locationURI="popup:org.eclipse.ui.projectConfigure">
         <command
               commandId="org.eclipse.papyrus.toolsmiths.plugin.builder.addPapyrusNatureCommand"
               icon="icons/papyrus.png"
               label="Convert To Papyrus Plugin"
               style="push">
            <visibleWhen
                  checkEnabled="true">
               <not>
                  <reference
                        definitionId="org.eclipse.papyrus.toolsmiths.plugin.builder.hasPapyrusPluginNature">
                  </reference>
               </not>
            </visibleWhen>
         </command>
      </menuContribution>
   </extension>
   <extension
         point="org.eclipse.core.expressions.definitions">
      <definition
            id="org.eclipse.papyrus.toolsmiths.plugin.builder.hasPapyrusPluginNature">
         <adapt
               type="org.eclipse.core.resources.IProject">
            <test
                  property="org.eclipse.core.resources.projectNature"
                  value="org.eclipse.papyrus.plugin.nature">
            </test>
         </adapt>
      </definition>
   </extension>
      <extension
            point="org.eclipse.ui.ide.markerResolution">
         <markerResolutionGenerator
               class="org.eclipse.papyrus.toolsmiths.plugin.builder.quickfix.MissingDependenciesMarkerResolutionGenerator"
               markerType="org.eclipse.jdt.core.problem">
         </markerResolutionGenerator>
         <markerResolutionGenerator
               class="org.eclipse.papyrus.toolsmiths.plugin.builder.quickfix.ManifestResolutionGenerator"
               markerType="org.eclipse.jdt.core.problem">
         </markerResolutionGenerator>
      </extension>
      <extension
            point="org.eclipse.ui.preferencePages">
         <page
               class="org.eclipse.papyrus.toolsmiths.plugin.builder.preferences.PluginBuilderPreferencePage"
               id="org.eclipse.papyrus.toolsmiths.plugin.builder.BuilderPreferencePage"
               name="Papyrus Plugin Builder">
         </page>
      </extension>
      <extension
            point="org.eclipse.core.runtime.preferences">
         <initializer
               class="org.eclipse.papyrus.toolsmiths.plugin.builder.preferences.PluginBuilderPreferencesInitializer">
         </initializer>
      </extension>
</plugin>

Back to the top