forked from MagMar94/ParmorelEclipsePlugin
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathplugin.xml
99 lines (97 loc) · 3.14 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
<?xml version="1.0" encoding="UTF-8"?>
<?eclipse version="3.4"?>
<plugin>
<extension
point="org.eclipse.ui.commands">
<category
id="hvl.plugin.parmorel.commands.category"
name="Rapairing">
</category>
<command
categoryId="hvl.plugin.parmorel.commands.category"
id="hvl.plugin.parmorel.commands.repairCommand"
name="Repair Command">
</command>
</extension>
<extension
point="org.eclipse.ui.handlers">
<handler
class="hvl.plugin.parmorel.handlers.RepairHandler"
commandId="hvl.plugin.parmorel.commands.repairCommand">
</handler>
</extension>
<extension
point="org.eclipse.ui.menus">
<menuContribution
locationURI="popup:org.eclipse.ui.popup.any">
<menu
icon="icons/parmorel.png"
id="hvl.plugin.parmorel.menues.main"
label="Parmorel">
<command
commandId="hvl.plugin.parmorel.commands.repairCommand"
icon="icons/bandage.png"
label="Repair"
style="push">
</command>
<visibleWhen
checkEnabled="false">
<iterate
ifEmpty="false"
operator="or">
<test
property="org.eclipse.core.resources.extension"
value="ecore">
</test>
</iterate>
</visibleWhen>
</menu>
</menuContribution>
<menuContribution
allPopups="false"
locationURI="popup:org.eclipse.ui.navigator.ProjectExplorer#PopupMenu?after=additions">
</menuContribution>
</extension>
<extension
point="org.eclipse.ui.views">
<view
allowMultiple="false"
category="hvl.plugin.parmorel.modelrepair"
class="hvl.plugin.parmorel.views.ModelRepairView"
icon="icons/parmorel.png"
id="hvl.plugin.parmorel.views.ModelRepairView"
name="Model Repair"
restorable="true">
</view>
<category
id="hvl.plugin.parmorel.modelrepair"
name="Model Repair">
</category>
<view
category="hvl.plugin.parmorel.modelrepair"
class="hvl.plugin.parmorel.views.RepairSelectorView"
icon="icons/parmorel.png"
id="hvl.plugin.parmorel.views.RepairSelectorView"
inject="true"
name="Select solution">
</view>
</extension>
<extension
point="org.eclipse.ui.perspectiveExtensions">
<perspectiveExtension
targetID="org.eclipse.jdt.ui.JavaPerspective">
<view
id="hvl.plugin.parmorel.views.RepairSelectorView"
ratio="0.5"
relationship="right"
relative="org.eclipse.ui.views.ProblemView">
</view>
</perspectiveExtension>
</extension>
<extension
point="org.eclipse.help.contexts">
<contexts
file="contexts.xml">
</contexts>
</extension>
</plugin>