blob: eb5bf96734f498e862389f7e2dd274e10bf6644e (
plain) (
blame)
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
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
|
<?xml version="1.0" encoding="UTF-8"?>
<?eclipse version="3.4"?>
<plugin>
<extension
point="org.eclipse.ui.commands">
<category
id="org.eclipse.cdt.codan.ui.commands.category"
name="%category.name">
</category>
</extension>
<extension
point="org.eclipse.ui.preferencePages">
<page
category="org.eclipse.cdt.ui.preferences.CPluginPreferencePage"
class="org.eclipse.cdt.codan.internal.ui.preferences.CodanPreferencePage"
id="org.eclipse.cdt.codan.ui.preferences.CodanPreferencePage"
name="%CodeAnalysisProperties.name">
</page>
</extension>
<extension
point="org.eclipse.ui.propertyPages">
<page
category="org.eclipse.cdt.ui.newui.Page_head_general"
class="org.eclipse.cdt.codan.internal.ui.preferences.CodanPreferencePage"
id="org.eclipse.cdt.codan.ui.properties.codanProblemsPropertyPage"
name="%CodeAnalysisPreferences.name">
<enabledWhen>
<adapt type="org.eclipse.core.resources.IProject">
<test property="org.eclipse.core.resources.projectNature" value="org.eclipse.cdt.core.cnature"/>
</adapt>
</enabledWhen>
</page>
<page
category="org.eclipse.cdt.codan.ui.properties.codanProblemsPropertyPage"
class="org.eclipse.cdt.codan.internal.ui.preferences.BuildPropertyPage"
id="org.eclipse.cdt.codan.ui.properties.buildPropertyPage"
name="%CodeAnalysisPreferencesBuild.name">
<enabledWhen>
<adapt type="org.eclipse.core.resources.IProject">
<test property="org.eclipse.core.resources.projectNature" value="org.eclipse.cdt.core.cnature"/>
</adapt>
</enabledWhen>
</page>
</extension>
<extension
point="org.eclipse.core.runtime.preferences">
<initializer
class="org.eclipse.cdt.codan.internal.ui.preferences.PreferenceInitializer">
</initializer>
</extension>
<extension
point="org.eclipse.ui.commands">
<command
categoryId="org.eclipse.cdt.codan.ui.commands.category"
id="org.eclipse.cdt.codan.commands.runCodanCommand"
name="%command.name">
</command>
</extension>
<extension
point="org.eclipse.ui.handlers">
<handler
class="org.eclipse.cdt.codan.ui.handlers.RunCodanCommand"
commandId="org.eclipse.cdt.codan.commands.runCodanCommand">
</handler>
</extension>
<extension
point="org.eclipse.ui.views">
<view
category="org.eclipse.cdt.ui.views"
class="org.eclipse.cdt.codan.internal.ui.views.ProblemDetails"
icon="icons/problemDetails.gif"
id="org.eclipse.cdt.codan.internal.ui.views.ProblemDetails"
name="%view.name">
</view>
</extension>
<extension-point id="codanProblemDetails" name="%extension-point.name" schema="schema/codanProblemDetails.exsd"/>
<extension-point id="codanMarkerResolution" name="%extension-point.name.codamMarkerResolution" schema="schema/codanMarkerResolution.exsd"/>
<!--
<extension
point="org.eclipse.ui.bindings">
<key
commandId="org.eclipse.cdt.codan.commands.runCodanCommand"
contextId="org.eclipse.ui.contexts.window"
schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"
sequence="M1+F9">
</key>
</extension>
-->
<extension
point="org.eclipse.ui.perspectiveExtensions">
<perspectiveExtension
targetID="org.eclipse.cdt.ui.CPerspective">
<showInPart id="org.eclipse.cdt.codan.internal.ui.views.ProblemDetails"/>
<viewShortcut id="org.eclipse.cdt.codan.internal.ui.views.ProblemDetails"/>
</perspectiveExtension>
</extension>
<extension
point="org.eclipse.ui.ide.markerResolution">
<markerResolutionGenerator
class="org.eclipse.cdt.codan.internal.ui.CodanProblemMarkerResolutionGenerator"
markerType="org.eclipse.cdt.codan.core.codanProblem">
</markerResolutionGenerator>
<markerResolutionGenerator
class="org.eclipse.cdt.codan.internal.ui.CodanProblemMarkerResolutionGenerator"
markerType="org.eclipse.cdt.codan.core.codanSemanticProblem">
</markerResolutionGenerator>
</extension>
<extension
point="org.eclipse.ui.ide.markerResolution">
<markerResolutionGenerator
class="org.eclipse.cdt.codan.internal.ui.CodanProblemMarkerResolutionGenerator"
markerType="org.eclipse.cdt.core.problem">
</markerResolutionGenerator>
</extension>
<extension
point="org.eclipse.ui.ide.markerSupport">
<markerTypeCategory
name="%markerTypeCategory.name">
<markerTypeReference
id="org.eclipse.cdt.codan.core.codanProblem">
</markerTypeReference>
</markerTypeCategory>
<markerGrouping
id="org.eclipse.cdt.codan.ui.markerGrouping"
label="%markerGrouping.label">
</markerGrouping>
<markerAttributeGrouping
attribute="category"
defaultGroupingEntry="org.eclipse.cdt.codan.ui.markerGroupingUnknown"
markerType="org.eclipse.cdt.codan.core.codanProblem">
<markerAttributeMapping
markerGroupingEntry="org.eclipse.cdt.codan.core.categories.ProgrammingProblems"
value="org.eclipse.cdt.codan.core.categories.ProgrammingProblems">
</markerAttributeMapping>
<markerAttributeMapping
markerGroupingEntry="org.eclipse.cdt.codan.core.categories.CompilerErrors"
value="org.eclipse.cdt.codan.core.categories.CompilerErrors">
</markerAttributeMapping>
<markerAttributeMapping
markerGroupingEntry="org.eclipse.cdt.codan.core.categories.CodeStyle"
value="org.eclipse.cdt.codan.core.categories.CodeStyle">
</markerAttributeMapping>
</markerAttributeGrouping>
<markerGroupingEntry
id="org.eclipse.cdt.codan.ui.markerGroupingUnknown"
label="%markerGroupingEntry.category.Unknown"
markerGrouping="org.eclipse.cdt.codan.ui.markerGrouping"
priority="90">
</markerGroupingEntry>
<markerGroupingEntry
id="org.eclipse.cdt.codan.core.categories.ProgrammingProblems"
label="%markerGroupingEntry.category.ProgrammingProblems"
markerGrouping="org.eclipse.cdt.codan.ui.markerGrouping"
priority="10">
</markerGroupingEntry>
<markerGroupingEntry
id="org.eclipse.cdt.codan.core.categories.CompilerErrors"
label="%markerGroupingEntry.category.CompilerErrors"
markerGrouping="org.eclipse.cdt.codan.ui.markerGrouping"
priority="2">
</markerGroupingEntry>
<markerGroupingEntry
id="org.eclipse.cdt.codan.core.categories.CodeStyle"
label="%markerGroupingEntry.category.CodingStyle"
markerGrouping="org.eclipse.cdt.codan.ui.markerGrouping"
priority="80">
</markerGroupingEntry>
</extension>
<extension
point="org.eclipse.ui.editors.annotationTypes">
<type
markerSeverity="2"
markerType="org.eclipse.cdt.codan.core.codanProblem"
name="org.eclipse.cdt.codan.ui.annotation.error"
super="org.eclipse.ui.workbench.texteditor.error">
</type>
<type
markerSeverity="1"
markerType="org.eclipse.cdt.codan.core.codanProblem"
name="org.eclipse.cdt.codan.ui.annotation.warning"
super="org.eclipse.ui.workbench.texteditor.warning">
</type>
<type
markerSeverity="0"
markerType="org.eclipse.cdt.codan.core.codanProblem"
name="org.eclipse.cdt.codan.ui.annotation.info"
super="org.eclipse.ui.workbench.texteditor.info">
</type>
</extension>
<extension
point="org.eclipse.ui.popupMenus">
<objectContribution
adaptable="true"
id="org.eclipse.cdt.codan.ui.CodanProblemActions"
objectClass="org.eclipse.core.resources.IMarker">
<action
class="org.eclipse.cdt.codan.internal.ui.actions.OpenProblemPreferences"
id="org.eclipse.cdt.codan.ui.OpenProblemProperties"
label="Customize Problem..."
menubarPath="additions"/>
<filter name="type"
value="org.eclipse.cdt.codan.core.codanProblem"/>
<!-- user: menubarPath="org.eclipse.cdt.codan.ui.configureMenu/configureProblemSep" -->
<!-- <menu
id="org.eclipse.cdt.codan.ui.configureMenu"
label="Configure Problem"
path="additions">
<separator
name="configureProblemSep">
</separator>
</menu>
-->
</objectContribution>
</extension>
</plugin>
|