-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathplugin.xml
More file actions
79 lines (76 loc) · 2.7 KB
/
plugin.xml
File metadata and controls
79 lines (76 loc) · 2.7 KB
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
<?xml version="1.0" encoding="UTF-8"?>
<?eclipse version="3.4"?>
<plugin>
<extension
point="org.eclipse.ui.commands">
<category
name="SBT"
id="org.scalastuff.esbt.commands.category">
</category>
<command
categoryId="org.scalastuff.esbt.commands.category"
defaultHandler="org.scalastuff.esbt.UpdateProjectConfigurationCommand"
id="org.scalastuff.esbt.commands.updateProjectConfiguration"
name="SBT Update Project Configuration">
</command>
<command
categoryId="org.scalastuff.esbt.commands.category"
defaultHandler="org.scalastuff.esbt.ExecuteSbtCommand"
id="org.scalastuff.esbt.commands.executeCommand"
name="SBT Command...">
</command>
</extension>
<extension
point="org.eclipse.ui.menus">
<menuContribution
locationURI="popup:org.eclipse.ui.popup.any">
<command
commandId="org.scalastuff.esbt.commands.updateProjectConfiguration"
mnemonic="U"
label="SBT Update Project Configuration"
id="org.scalastuff.esbt.menus.updateUpdateProjectConfiguration">
<visibleWhen>
<with
variable="activeMenuSelection">
<iterate>
<test
property="org.scalastuff.esbt.isSbtProject" value="true">
</test>
</iterate>
</with>
</visibleWhen>
</command>
<command
commandId="org.scalastuff.esbt.commands.executeCommand"
mnemonic="S"
label="SBT Command..."
id="org.scalastuff.esbt.menus.executeCommand">
<visibleWhen>
<with
variable="activeMenuSelection">
<iterate>
<test
property="org.scalastuff.esbt.isSbtProject" value="true">
</test>
</iterate>
</with>
</visibleWhen>
</command>
</menuContribution>
</extension>
<extension
point="org.eclipse.ui.startup">
<startup
class="org.scalastuff.esbt.Initializer">
</startup>
</extension>
<extension point="org.eclipse.core.expressions.propertyTesters">
<propertyTester
namespace="org.scalastuff.esbt"
id="org.scalastuff.esbt.EsbtPropertyTester"
properties="isSbtProject"
type="java.lang.Object"
class="org.scalastuff.esbt.EsbtPropertyTester">
</propertyTester>
</extension>
</plugin>