-
Notifications
You must be signed in to change notification settings - Fork 1
/
plugin.xml
208 lines (188 loc) · 7.1 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
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
<?xml version="1.0" encoding="UTF-8"?>
<?eclipse version="3.4"?>
<plugin>
<extension
point="org.eclipse.ui.commands">
<category
name="Architecture Recovery Category"
id="Architecture_Rules_Recovery.commands.category">
</category>
<command
name="Run Architecture Rules Recovery on Project"
categoryId="Architecture_Rules_Recovery.commands.category"
id="Architecture_Rules_Recovery.commands.runCommandProject">
</command>
<command
name="Run Architecture Rules Recovery on Workspace"
categoryId="Architecture_Rules_Recovery.commands.category"
id="Architecture_Rules_Recovery.commands.runCommandWorkspace">
</command>
</extension>
<extension point="org.eclipse.emf.ecore.generated_package">
<!-- @generated general -->
<package
uri="http://arr/general"
class="arr.general.GeneralPackage"
genModel="model/general.genmodel"/>
</extension>
<extension
point="org.eclipse.ui.handlers">
<handler
commandId="Architecture_Rules_Recovery.commands.runCommandProject"
class="arr.ui.ARRProjectHandler">
</handler>
<handler
commandId="Architecture_Rules_Recovery.commands.runCommandWorkspace"
class="arr.ui.ARRWorkspaceHandler">
</handler>
</extension>
<extension
point="org.eclipse.ui.bindings">
<key
commandId="Architecture_Rules_Recovery.commands.runCommandProject"
contextId="org.eclipse.ui.contexts.window"
schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"
sequence="M1+5">
</key>
<key
commandId="Architecture_Rules_Recovery.commands.runCommandWorkspace"
contextId="org.eclipse.ui.contexts.window"
schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"
sequence="M1+6">
</key>
</extension>
<extension
point="org.eclipse.ui.menus">
<menuContribution
allPopups="true"
locationURI="popup:org.eclipse.jdt.ui.PackageExplorer?after=additions">
<command
commandId="Architecture_Rules_Recovery.commands.runCommandProject"
id="Architecture_Rules_Recovery.menus.runCommandP"
label="Run Architecture Rules Recovery on Project"
style="push"
tooltip="Runs the Architecture Rules Recovery Plugin without fetching any file outside the selected project.">
</command>
</menuContribution>
<menuContribution
allPopups="true"
locationURI="popup:org.eclipse.jdt.ui.PackageExplorer?after=additions">
<command
commandId="Architecture_Rules_Recovery.commands.runCommandWorkspace"
id="Architecture_Rules_Recovery.menus.runCommandW"
label="Run Architecture Rules Recovery on Workspace"
style="push"
tooltip="Runs the Architecture Rules Recovery Plugin fetching all files in the current workspace. (This does fetch the source code of files outside the selected project)">
</command>
</menuContribution>
</extension>
<extension
point="org.eclipse.ui.views">
<category
id="Architecture_Rules_Recovery"
name="Architecture Recovery Category">
</category>
<!--
<view
category="Architecture_Rules_Recovery"
class="arr.views.ARRView"
icon="icons/diagram.png"
id="architecture_rules_recovery.views.ARRView"
name="Architecture Rules Recovery Warnings View">
</view>
-->
<view
category="Architecture_Rules_Recovery"
class="arr.ui.ARRDataView"
icon="icons/diagram.png"
id="architecture_rules_recovery.views.ARRDataView"
name="Architecture Rules Recovery Data View">
</view>
</extension>
<extension
point="org.eclipse.graphiti.ui.diagramTypes">
<diagramType
description="This is the diagram type for ARR Tool visualization"
id="arr.graphiti.diagram.DiagramType"
name="ARR Tool Diagram Type"
type="arrdiagram">
</diagramType>
</extension>
<extension
point="org.eclipse.graphiti.ui.diagramTypeProviders">
<diagramTypeProvider
class="arr.graphiti.diagram.DiagramTypeProvider"
description="This is the editor for the ARR Tool"
id="arr.graphiti.diagram.DiagramTypeProvider"
name="ARRTool Editor">
<diagramType
id="arr.graphiti.diagram.DiagramType">
</diagramType>
</diagramTypeProvider>
</extension>
<!--
<extension
point="org.eclipse.ui.perspectiveExtensions">
<perspectiveExtension
targetID="org.eclipse.jdt.ui.JavaPerspective">
<view
id="architecture_rules_recovery.views.ARRDataView"
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>
<extension point="org.eclipse.core.resources.markers"
id="arr.marker"
name="ARR Marker">
<super type="org.eclipse.core.resources.textmarker"/>
<super type="org.eclipse.core.resources.marker"/>
<persistent value="true"/>
</extension>
<!-- Annotation specification:- describes what the annotation will look like and its properties -->
<extension point="org.eclipse.ui.editors.markerAnnotationSpecification"
id="myannotationspecification"
name="Architecture Rules Recovery Annotations">
<specification
annotationType="arr.annotation"
label="Architecture Rules Recovery Annotations"
icon="icons/warning.png"
verticalRulerPreferenceKey="highlight.rulers.vertical"
textPreferenceKey="highlight.text"
colorPreferenceKey="highlight.color"
highlightPreferenceKey="highlight.background"
textPreferenceValue="false"
textStylePreferenceValue="NONE"
overviewRulerPreferenceKey="highlight.rulers.overview"
presentationLayer="4"
highlightPreferenceValue="true"
colorPreferenceValue="253,255,157"
verticalRulerPreferenceValue="true"
overviewRulerPreferenceValue="true"
textStylePreferenceKey="highlight.text.style"/>
</extension>
<!-- Links the annotation spec to the marker -->
<extension point="org.eclipse.ui.editors.annotationTypes">
<type
markerSeverity="0"
super="org.eclipse.ui.workbench.texteditor.info"
name="arr.annotation"
markerType="arr.markers.arrmarker"/>
</extension>
<!-- define the marker updater class-->
<extension point="org.eclipse.ui.editors.markerUpdaters">
<updater
id="arr.MarkerUpdater"
class="arr.markers.MarkerUpdater"
markerType="arr.mymarkers.arrmarker">
</updater>
</extension>
</plugin>