Skip to main content
summaryrefslogtreecommitdiffstats
blob: 43632749ca73c1c57554349bcd87da2f9439412b (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
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
<?xml version="1.0" encoding="UTF-8"?>
<?eclipse version="3.0"?>
<plugin
   id="org.eclipse.cdt.ui"
   name="%pluginName"
   version="2.0.0"
   provider-name="%providerName"
   class="org.eclipse.cdt.ui.CUIPlugin">

   <runtime>
      <library name="cdtui.jar">
         <export name="*"/>
      </library>
   </runtime>
   <requires>
      <import plugin="org.eclipse.ui.ide"/>
      <import plugin="org.eclipse.ui.views"/>
      <import plugin="org.eclipse.jface.text"/>
      <import plugin="org.eclipse.ui.workbench.texteditor"/>
      <import plugin="org.eclipse.ui.editors"/>
      <import plugin="org.eclipse.ui"/>
      <import plugin="org.eclipse.core.resources"/>
      <import plugin="org.apache.xerces"/>
      <import plugin="org.eclipse.search"/>
      <import plugin="org.eclipse.compare"/>
      <import plugin="org.eclipse.debug.ui"/>
      <import plugin="org.eclipse.debug.core"/>
      <import plugin="org.eclipse.cdt.core"/>
   </requires>


   <extension-point id="CCompletionContributor" name="%completionContributorName"/>
   <extension-point id="CElementFilters" name="%elementFiltersName"/>
   <extension-point id="BinaryParserPage" name="Binary Parser Page"/>
<!-- =========================================================================== -->
<!-- Extension Implementation: must implement org.eclipse.jface.text.ITextHover  -->
<!-- Purpose: Provide a perspective specific text hovering for CEditor files     -->
<!-- Extension point: org.eclipse.cdt.ui.textHovers                        -->
<!-- =========================================================================== -->
   <extension-point id="textHovers" name="%textHoversName"/>

<!-- Implement our filters for C-View.  -->
   <extension
         point="org.eclipse.cdt.ui.CElementFilters">
      <filter
            selected="true"
            pattern=".*">
      </filter>
      <filter
            selected="false"
            pattern="*.o">
      </filter>
      <filter
            selected="false"
            pattern="*.so">
      </filter>
      <filter
            selected="false"
            pattern="*.a">
      </filter>
      <filter
            selected="false"
            pattern="Makefile">
      </filter>
      <filter
            selected="false"
            pattern="*.h">
      </filter>
   </extension>
   <extension
         point="org.eclipse.ui.perspectives">
      <perspective
            name="%perspective.name"
            icon="icons/full/cview16/c_pers.gif"
            class="org.eclipse.cdt.internal.ui.CPerspectiveFactory"
            id="org.eclipse.cdt.ui.CPerspective">
      </perspective>
   </extension>
   <extension
         point="org.eclipse.ui.perspectiveExtensions">
      <perspectiveExtension
            targetID="org.eclipse.ui.resourcePerspective">
         <perspectiveShortcut
               id="org.eclipse.cdt.ui.CPerspective">
         </perspectiveShortcut>
      </perspectiveExtension>
      <perspectiveExtension
            targetID="org.eclipse.debug.ui.DebugPerspective">
         <perspectiveShortcut
               id="org.eclipse.cdt.ui.CPerspective">
         </perspectiveShortcut>
      </perspectiveExtension>
      <perspectiveExtension
            targetID="org.eclipse.cdt.ui.CPerspective">
         <perspectiveShortcut
               id="org.eclipse.cdt.ui.CPerspective">
         </perspectiveShortcut>
      </perspectiveExtension>
      <perspectiveExtension
            targetID="org.eclipse.cdt.ui.CPerspective">
         <perspectiveShortcut
               id="org.eclipse.debug.ui.DebugPerspective">
         </perspectiveShortcut>
      </perspectiveExtension>
      <perspectiveExtension
            targetID="org.eclipse.cdt.ui.CPerspective">
         <perspectiveShortcut
               id="org.eclipse.vcm.ui.vcmPerspective">
         </perspectiveShortcut>
      </perspectiveExtension>
      <perspectiveExtension
            targetID="org.eclipse.cdt.ui.CPerspective">
         <actionSet
               id="org.eclipse.debug.ui.launchActionSet">
         </actionSet>
      </perspectiveExtension>
   </extension>
   <extension
         point="org.eclipse.ui.views">
      <category
            name="%viewsCategory.name"
            id="org.eclipse.cdt.ui.views">
      </category>
      <view
            name="%BuildConsoleView.name"
            icon="icons/full/cview16/buildconsole.gif"
            category="org.eclipse.cdt.ui.views"
            class="org.eclipse.cdt.internal.ui.buildconsole.BuildConsoleView"
            id="org.eclipse.cdt.ui.BuildConsoleView">
      </view>
      <view
            name="%CView.name"
            icon="icons/full/cview16/cview.gif"
            category="org.eclipse.cdt.ui.views"
            class="org.eclipse.cdt.internal.ui.cview.CView"
            id="org.eclipse.cdt.ui.CView">
      </view>
   </extension>
<!-- The wizards -->
<!-- For C Wizards -->
   <extension
         point="org.eclipse.ui.newWizards">
      <category
            name="%newCWizardsCategory.name"
            id="org.eclipse.cdt.ui.newCWizards">
      </category>
<!-- For C++ Wizards -->
      <category
            name="%newCCWizardsCategory.name"
            id="org.eclipse.cdt.ui.newCCWizards">
      </category>
      <wizard
            name="%NewWizards.class"
            icon="icons/full/ctool16/newclass_wiz.gif"
            category="org.eclipse.cdt.ui.newCCWizards"
            class="org.eclipse.cdt.ui.wizards.NewClassWizard"
            finalPerspective="org.eclipse.cdt.ui.CPerspective"
            id="org.eclipse.cdt.ui.wizards.NewClassWizard">
         <description>
            %NewWizards.class.description
         </description>
      </wizard>
   </extension>
   <extension
         id="org.eclipse.cdt.ui.ceditor"
         point="org.eclipse.ui.editors">
      <editor
            default="true"
            name="%CEditor.name"
            extensions="c, h, cc, hh, cpp, cxx, hpp"
            icon="icons/full/obj16/c_file_obj.gif"
            class="org.eclipse.cdt.internal.ui.editor.CEditor"
            contributorClass="org.eclipse.cdt.internal.ui.editor.CEditorActionContributor"
            id="org.eclipse.cdt.ui.editor.CEditor">
      </editor>
      <editor
            name="%Editors.DefaultTextEditor"
            extensions="mk"
            icon="icons/full/obj16/file_obj.gif"
            class="org.eclipse.ui.editors.text.TextEditor"
            contributorClass="org.eclipse.ui.texteditor.BasicTextEditorActionContributor"
            id="org.eclipse.ui.DefaultTextEditor">
      </editor>
      <editor
            name="%AsmEditor.name"
            extensions="s"
            icon="icons/full/obj16/c_file_obj.gif"
            class="org.eclipse.cdt.internal.ui.editor.asm.AsmTextEditor"
            id="org.eclipse.cdt.ui.editor.asm.AsmEditor">
      </editor>
   </extension>
   <extension
         point="org.eclipse.ui.preferencePages">
      <page
            name="%CPluginPreferencePage.name"
            class="org.eclipse.cdt.internal.ui.preferences.CPluginPreferencePage"
            id="org.eclipse.cdt.ui.preferences.CPluginPreferencePage">
      </page>
      <page
            name="%CPluginEditorPreferencePage.name"
            category="org.eclipse.cdt.ui.preferences.CPluginPreferencePage"
            class="org.eclipse.cdt.internal.ui.preferences.CEditorPreferencePage"
            id="org.eclipse.cdt.ui.preferences.CEditorPreferencePage">
      </page>
      <page
            name="%CPluginTemplatePreferencePage.name"
            category="org.eclipse.cdt.ui.preferences.CPluginPreferencePage"
            class="org.eclipse.cdt.internal.ui.preferences.TemplatePreferencePage"
            id="org.eclipse.cdt.ui.preferences.TemplatePreferencePage">
      </page>
      <page
            name="%CPluginBuildConsolePreferencePage.name"
            category="org.eclipse.cdt.ui.preferences.CPluginPreferencePage"
            class="org.eclipse.cdt.internal.ui.preferences.BuildConsolePreferencePage"
            id="org.eclipse.cdt.ui.preferneces.CBuildConsolePreferernces">
      </page>
   </extension>
   <extension
         point="org.eclipse.ui.editorActions">
      <editorContribution
            targetID="org.eclipse.cdt.ui.editor.CEditor"
            id="org.eclipse.ui.texteditor.ruler.actions">
         <action
               label="%Dummy.label"
               helpContextId="org.eclipse.ui.bookmark_action_context"
               class="org.eclipse.ui.texteditor.BookmarkRulerAction"
               actionID="RulerDoubleClick"
               id="org.eclipse.ui.texteditor.BookmarkRulerAction">
         </action>
      </editorContribution>
   </extension>
   <extension
         point="org.eclipse.ui.popupMenus">
      <objectContribution
            objectClass="org.eclipse.core.resources.IMarker"
            id="org.eclipse.cdt.ui.action.DeleteTaskAction">
         <filter
               name="type"
               value="org.eclipse.cdt.core.problem">
         </filter>
         <action
               label="%DeleteTaskAction.label"
               icon="icons/full/ovr16/error_co.gif"
               class="org.eclipse.cdt.internal.ui.util.DeleteTaskAction"
               menubarPath="additions"
               enablesFor="+"
               id="org.eclipse.cdt.ui.action.DeleteTaskAction">
         </action>
      </objectContribution>
      <viewerContribution
            targetID="#CEditorRulerContext"
            id="org.eclipse.cdt.ui.editor.CEditorPopupActions">
         <action
               label="%AddTask.label"
               helpContextId="org.eclipse.ui.AddTask_action_context"
               class="org.eclipse.ui.texteditor.TaskRulerAction"
               tooltip="%AddTask.tooltip"
               menubarPath="add"
               id="org.eclipse.ui.texteditor.TaskRulerAction">
         </action>
         <action
               label="%AddBookmark.label"
               helpContextId="org.eclipse.ui.bookmark_action_context"
               class="org.eclipse.ui.texteditor.BookmarkRulerAction"
               tooltip="%AddBookmark.tooltip"
               menubarPath="add"
               id="org.eclipse.ui.texteditor.BookmarkRulerAction">
         </action>
      </viewerContribution>
      <viewerContribution
            targetID="#ASMEditorRulerContext"
            id="org.eclipse.cdt.ui.editor.ASMEditorPopupActions">
         <action
               label="%AddTask.label"
               helpContextId="org.eclipse.ui.AddTask_action_context"
               class="org.eclipse.ui.texteditor.TaskRulerAction"
               tooltip="%AddTask.tooltip"
               menubarPath="add"
               id="org.eclipse.ui.texteditor.TaskRulerAction">
         </action>
         <action
               label="%AddBookmark.label"
               helpContextId="org.eclipse.ui.bookmark_action_context"
               class="org.eclipse.ui.texteditor.BookmarkRulerAction"
               tooltip="%AddBookmark.tooltip"
               menubarPath="add"
               id="org.eclipse.ui.texteditor.BookmarkRulerAction">
         </action>
      </viewerContribution>
   </extension>
   <extension
         point="org.eclipse.compare.structureCreators">
      <structureCreator
            extensions="c,cc,cpp,cxx,h,hpp"
            class="org.eclipse.cdt.internal.ui.compare.CStructureCreator">
      </structureCreator>
   </extension>
   <extension
         point="org.eclipse.compare.contentMergeViewers">
      <viewer
            extensions="c,cc,cpp,cxx,h,c2,hpp"
            class="org.eclipse.cdt.internal.ui.compare.CContentViewerCreator">
      </viewer>
   </extension>
   <extension
         point="org.eclipse.ui.actionSets">
      <actionSet
            label="%CFolderActionSet.label"
            description="%CFolderActionSet.description"
            visible="false"
            id="org.eclipse.cdt.ui.CFolderActionSet">
         <action
               label="%OpenNewFileWizardAction.label"
               icon="icons/full/ctool16/newfile_wiz.gif"
               class="org.eclipse.cdt.internal.ui.wizards.OpenNewFileWizardAction"
               tooltip="%OpenNewFileWizardAction.tooltip"
               toolbarPath="Normal/FolderWizards"
               id="org.eclipse.cdt.ui.actions.OpenNewFileWizardAction">
         </action>
         <action
               label="%OpenNewFolderWizardAction.label"
               icon="icons/full/ctool16/newfolder_wiz.gif"
               class="org.eclipse.cdt.internal.ui.wizards.OpenNewFolderWizardAction"
               tooltip="%OpenNewFolderWizardAction.tooltip"
               toolbarPath="Normal/FolderWizards"
               id="org.eclipse.cdt.ui.actions.OpenNewFolderWizardAction">
         </action>
         <action
               label="%OpenClassWizardAction.label"
               icon="icons/full/ctool16/newclass_wiz.gif"
               class="org.eclipse.cdt.ui.actions.OpenClassWizardAction"
               tooltip="%OpenClassWizardAction.tooltip"
               toolbarPath="Normal/FolderWizards"
               id="org.eclipse.cdt.ui.actions.OpenClassWizardAction">
            <enablement>
               <objectState
                     name="projectNature"
                     value="org.eclipse.cdt.core.ccnature">
               </objectState>
            </enablement>
         </action>
      </actionSet>
   </extension>
   <extension
         point="org.eclipse.ui.ide.projectNatureImages">
      <image
            icon="icons/full/ovr16/c_ovr.gif"
            natureId="org.eclipse.cdt.core.cnature"
            id="org.eclipse.cdt.ui.cProjectNatureImage">
      </image>
   </extension>
   <extension
         point="org.eclipse.cdt.core.CBuildConsole">
      <CBuildConsole
            class="org.eclipse.cdt.internal.ui.BuildConsole">
      </CBuildConsole>
   </extension>
   <extension
         point="org.eclipse.ui.commands">
      <scope
            name="%scope.cEditor.name"
            parent="org.eclipse.ui.textEditorScope"
            description="%cEditor.description"
            id="org.eclipse.cdt.ui.cEditorScope">
      </scope>
      <category
            name="%category.source.name"
            description="%category.source.description"
            id="org.eclipse.cdt.ui.category.source">
      </category>
      <command
            name="%ActionDefinition.comment.name"
            category="org.eclipse.cdt.ui.category.source"
            description="%ActionDefinition.comment.description"
            id="org.eclipse.cdt.ui.edit.text.c.comment">
      </command>
      <keyBinding
            string="Ctrl+/"
            scope="org.eclipse.cdt.ui.cEditorScope"
            command="org.eclipse.cdt.ui.edit.text.c.comment"
            configuration="org.eclipse.ui.defaultAcceleratorConfiguration">
      </keyBinding>
      <command
            name="%ActionDefinition.uncomment.name"
            category="org.eclipse.cdt.ui.category.source"
            description="%ActionDefinition.uncomment.description"
            id="org.eclipse.cdt.ui.edit.text.c.uncomment">
      </command>
      <keyBinding
            string="Ctrl+\"
            scope="org.eclipse.cdt.ui.cEditorScope"
            command="org.eclipse.cdt.ui.edit.text.c.uncomment"
            configuration="org.eclipse.ui.defaultAcceleratorConfiguration">
      </keyBinding>
      <command
            name="%ActionDefinition.opendecl.name"
            category="org.eclipse.cdt.ui.category.source"
            description="%ActionDefinition.opendecl.description"
            id="org.eclipse.cdt.ui.edit.opendecl">
      </command>
      <keyBinding
            string="F3"
            scope="org.eclipse.cdt.ui.cEditorScope"
            command="org.eclipse.cdt.ui.edit.opendecl"
            configuration="org.eclipse.ui.defaultAcceleratorConfiguration">
      </keyBinding>
   </extension>
   <extension
         id="org.eclipse.cdt.ui.CSearchPage"
         name="CSearchPage"
         point="org.eclipse.search.searchPages">
      <page
            showScopeSection="true"
            label="%CSearchPage.label"
            extensions="c:90,cpp:90, cxx:90, cc:90,C:90, h:90, hh:90, hpp:90, H:90"
            icon="icons/full/obj16/csearch_obj.gif"
            class="org.eclipse.cdt.internal.ui.search.CSearchPage"
            sizeHint="460, 160"
            id="org.eclipse.cdt.ui.CSearchPage">
      </page>
   </extension>
   <extension
         point="org.eclipse.search.searchResultSorters">
      <sorter
            pageId="org.eclipse.cdt.ui.CSearchPage"
            label="%ElementNameSorter.label"
            icon="icons/full/clcl16/search_sortmatch.gif"
            class="org.eclipse.cdt.internal.ui.search.ElementNameSorter"
            tooltip="%ElementNameSorter.tooltip"
            id="org.eclipse.search.internal.ui.ElementNameSorter">
      </sorter>
      <sorter
            pageId="org.eclipse.cdt.ui.CSearchPage"
            label="%ParentNameSorter.label"
            icon="icons/full/clcl16/search_sortmatch.gif"
            class="org.eclipse.cdt.internal.ui.search.ParentNameSorter"
            tooltip="%ParentNameSorter.tooltip"
            id="org.eclipse.search.internal.ui.ParentNameSorter">
      </sorter>
      <sorter
            pageId="org.eclipse.cdt.ui.CSearchPage"
            label="%PathNameSorter.label"
            icon="icons/full/clcl16/search_sortmatch.gif"
            class="org.eclipse.cdt.internal.ui.search.PathNameSorter"
            tooltip="%PathNameSorter.tooltip"
            id="org.eclipse.search.internal.ui.PathNameSorter">
      </sorter>
   </extension>
   <extension
         point="org.eclipse.ui.actionSets">
      <actionSet
            label="%CSearchActionSet.label"
            description="%CSearchActionSet.description"
            visible="false"
            id="org.eclipse.cdt.ui.SearchActionSet">
         <action
               label="%openCSearchPageAction.label"
               icon="icons/full/obj16/csearch_obj.gif"
               class="org.eclipse.cdt.internal.ui.search.OpenCSearchPageAction"
               menubarPath="org.eclipse.search.menu/dialogGroup"
               id="org.eclipse.cdt.ui.actions.OpenCSearchPage">
         </action>
         <menu
               label="%searchMenu.label"
               id="org.eclipse.search.menu">
         </menu>
      </actionSet>
   </extension>
   <extension
         point="org.eclipse.ui.actionSetPartAssociations">
      <actionSetPartAssociation
            targetID="org.eclipse.cdt.ui.SearchActionSet">
         <part
               id="org.eclipse.cdt.ui.CView">
         </part>
         <part
               id="org.eclipse.cdt.ui.editor.CEditor">
         </part>
         <part
               id="org.eclipse.search.SearchResultView">
         </part>
      </actionSetPartAssociation>
   </extension>
   <extension
         point="org.eclipse.cdt.ui.BinaryParserPage">
      <parserPage
            class="org.eclipse.cdt.ui.dialogs.GNUElfBinaryParserPage"
            parserID="org.eclipse.cdt.core.GNU_ELF"
            id="ElfBinaryParserPage">
      </parserPage>
   </extension>
   <extension
         point="org.eclipse.cdt.ui.BinaryParserPage">
      <parserPage
            class="org.eclipse.cdt.ui.dialogs.CygwinPEBinaryParserPage"
            parserID="org.eclipse.cdt.core.Cygwin_PE"
            id="PEBinaryParserPage">
      </parserPage>
   </extension>

</plugin>

Back to the top