-
Notifications
You must be signed in to change notification settings - Fork 0
/
plugin.xml
50 lines (45 loc) · 1.52 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
<?xml version="1.0" encoding="UTF-8"?>
<?eclipse version="3.4"?>
<plugin>
<extension
point="org.eclipse.ui.menus">
<menuContribution
allPopups="false"
locationURI="menu:org.eclipse.ui.main.menu?after=org.wcs.smart.intelligence.menu">
<menu
id="it.jrc.smart.fire.menu"
label="Fires">
<command
commandId="it.jrc.smart.fire.commands.OpenFireManager"
label="Open fire manager"
style="push">
</command>
</menu>
</menuContribution>
</extension>
<extension
point="org.eclipse.ui.commands">
<command
id="it.jrc.smart.fire.commands.OpenFireManager"
name="Open">
</command>
</extension>
<extension
point="org.eclipse.ui.handlers">
<handler
class="it.jrc.smart.fire.handlers.ActiveFirePluginHandler"
commandId="it.jrc.smart.fire.commands.OpenFireManager">
<activeWhen>
<test
forcePluginActivation="true"
property="org.wcs.smart.caSingle">
</test>
</activeWhen>
</handler>
</extension>
<!-- Register the class in hibernate -->
<!-- This uses the RCP plugin mechanism to advertise hibernate mappings -->
<extension point="org.wcs.smart.hibernate.mapping">
<class class="it.jrc.smart.fire.model.ActiveFire"/>
</extension>
</plugin>