-
Notifications
You must be signed in to change notification settings - Fork 1
/
plugin.xml
78 lines (67 loc) · 2.55 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
<?xml version="1.0" encoding="UTF-8"?>
<?eclipse version="3.4"?>
<plugin>
<extension
id="jnome.eclipse"
name="Jnome Eclipse"
point="chameleon.eclipse.language">
<bootstrapper
class="org.aikodi.java.eclipse.Bootstrapper">
</bootstrapper>
</extension>
<extension point="org.eclipse.core.contenttype.contentTypes">
<file-association
content-type="be.chameleon.eclipse.chameleonsource"
file-extensions="java"/>
</extension>
<extension
point="org.eclipse.ui.menus">
<menuContribution
locationURI="popup:org.eclipse.ui.popup.any?after=additions">
<command
commandId="org.aikodi.java.actions.project.AddChameleonNature"
label="Enable Chameleon Analysis">
<!--<visibleWhen>
<test property="chameleon.properties.isJDTProject" forcePluginActivation="true"/>
</visibleWhen>-->
<visibleWhen>
<with variable="activeMenuSelection">
<iterate ifEmpty="false">
<and>
<adapt type="org.eclipse.core.resources.IResource">
<test property="org.eclipse.core.resources.projectNature" value="org.eclipse.jdt.core.javanature" />
</adapt>
<not>
<adapt type="org.eclipse.core.resources.IResource">
<test property="org.eclipse.core.resources.projectNature" value="be.chameleon.eclipse.BackgroundNature" />
</adapt>
</not>
</and>
</iterate>
</with>
</visibleWhen>
</command>
</menuContribution>
</extension>
<extension point="org.eclipse.ui.commands">
<command
name="Add Chameleon Background Analysis Nature"
description="Add Chameleon Background Analysis Nature"
id="org.aikodi.java.actions.project.AddChameleonNature">
</command>
</extension>
<extension point="org.eclipse.ui.handlers">
<handler
class="org.aikodi.chameleon.eclipse.nature.AddBackgroundNature"
commandId="org.aikodi.java.actions.project.AddChameleonNature">
</handler>
</extension>
<!-- <extension
id="ChameleonBuilder"
name="Chameleon Builder"
point="org.eclipse.core.resources.builders">
<builder hasNature="true">
<run class="be.kuleuven.cs.distrinet.chameleon.eclipse.builder.ChameleonBuilder"/>
</builder>
</extension> -->
</plugin>