This repository has been archived by the owner on Jul 29, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
plugin.xml
115 lines (114 loc) · 3.97 KB
/
plugin.xml
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
104
105
106
107
108
109
110
111
112
113
114
115
<?xml version="1.0" encoding="UTF-8"?>
<?eclipse version="3.4"?>
<plugin>
<extension
id="org.apache.buildr.eclipse.buildrNature"
name="Buildr Project Nature"
point="org.eclipse.core.resources.natures">
<runtime>
<run
class="org.apache.buildr.eclipse.BuildrNature">
</run>
</runtime>
</extension>
<extension
point="org.eclipse.ui.commands">
<category
name="Buildr Project Nature commands"
id="org.apache.buildr.eclipse.buildrNature.category">
</category>
<command
name="Add/RemoveBuildr Project Nature"
defaultHandler="org.apache.buildr.eclipse.AddRemoveBuildrNatureHandler"
categoryId="org.apache.buildr.eclipse.buildrNature.category"
id="org.apache.buildr.eclipse.addRemoveBuildrNature">
</command>
</extension>
<extension
point="org.eclipse.ui.menus">
<menuContribution
locationURI="popup:org.eclipse.ui.projectConfigure?after=additions">
<command
commandId="org.apache.buildr.eclipse.addRemoveBuildrNature"
icon="icons/buildr.png"
label="Add Buildr Nature"
style="push">
<visibleWhen
checkEnabled="false">
<with
variable="selection">
<count
value="1">
</count>
<iterate>
<adapt
type="org.eclipse.core.resources.IProject">
<not>
<test
value="org.apache.buildr.eclipse.buildrNature"
property="org.eclipse.core.resources.projectNature">
</test>
</not>
</adapt>
</iterate>
</with>
</visibleWhen>
</command>
<command
commandId="org.apache.buildr.eclipse.addRemoveBuildrNature"
icon="icons/buildr.png"
label="Remove Buildr Nature"
style="push">
<visibleWhen
checkEnabled="false">
<with
variable="selection">
<count
value="1">
</count>
<iterate>
<adapt
type="org.eclipse.core.resources.IProject">
<test
value="org.apache.buildr.eclipse.buildrNature"
property="org.eclipse.core.resources.projectNature">
</test>
</adapt>
</iterate>
</with>
</visibleWhen>
</command>
</menuContribution>
</extension>
<extension
point="org.eclipse.ui.ide.projectNatureImages">
<image
icon="icons/buildr_8x8.gif"
id="org.apache.buildr.eclipse.natureImage"
natureId="org.apache.buildr.eclipse.buildrNature">
</image>
</extension>
<extension point="org.eclipse.ui.decorators">
<decorator
adaptable="true"
icon="icons/buildr_8x8.gif"
id="org.apache.buildr.eclipse.buildrDecorator"
label="Buildr Decorator"
lightweight="true"
location="TOP_LEFT"
state="true">
<enablement>
<or>
<objectState name="label" value="Buildr Dependencies"/>
</or>
</enablement>
</decorator>
</extension>
<extension
point="org.eclipse.jdt.core.classpathContainerInitializer">
<classpathContainerInitializer
class="org.apache.buildr.eclipse.BuildrClasspathContainerInitializer"
id="org.apache.buildr.eclipse.BUILDR_CONTAINER">
</classpathContainerInitializer>
</extension>
</plugin>