Skip to main content
aboutsummaryrefslogtreecommitdiffstats
blob: b9033a763ed9bee3ab88fb5cbf9baed23b5c1a9e (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
502
503
504
505
506
507
508
509
510
511
512
513
514
515
<?xml version="1.0" encoding="UTF-8"?>
<?eclipse version="3.2"?><!--
    Copyright (c) 2010, 2016 Wind River Systems, Inc. and others.
    All rights reserved. This program and the accompanying materials
    are made available under the terms of the Eclipse Public License v1.0
    which accompanies this distribution, and is available at
    http://www.eclipse.org/legal/epl-v10.html

    Contributors:
        Wind River Systems - initial API and implementation
 -->

<plugin>

    <extension point="org.eclipse.tcf.debug.ui.launch_context">
        <class name="org.eclipse.tcf.internal.cdt.ui.TCFLaunchContext" />
    </extension>

    <extension point="org.eclipse.tcf.debug.launch_project_builder">
        <class name="org.eclipse.tcf.internal.cdt.ui.TCFLaunchProjectBuilder" />
    </extension>

    <extension
         point="org.eclipse.core.runtime.adapters">
      <factory
            adaptableType="org.eclipse.tcf.internal.debug.ui.model.TCFNode"
            class="org.eclipse.tcf.internal.cdt.ui.TCFNodeAdapterFactory">
         <adapter type="org.eclipse.cdt.debug.internal.ui.disassembly.dsf.IDisassemblyBackend"/>
         <adapter type="org.eclipse.cdt.debug.core.model.ISteppingModeTarget"/>
         <adapter type="org.eclipse.debug.core.model.ISuspendResume"/>
         <adapter type="org.eclipse.cdt.ui.text.c.hover.ICEditorTextHover"/>
         <adapter type="org.eclipse.cdt.debug.core.model.IReverseToggleHandler"/>
         <adapter type="org.eclipse.cdt.debug.core.model.IReverseStepIntoHandler"/>
         <adapter type="org.eclipse.cdt.debug.core.model.IReverseStepOverHandler"/>
         <adapter type="org.eclipse.cdt.debug.core.model.IReverseResumeHandler"/>
         <adapter type="org.eclipse.cdt.debug.core.model.IStepIntoSelectionHandler"/>
         <adapter type="org.eclipse.cdt.debug.core.model.IUncallHandler"/>
         <adapter type="org.eclipse.cdt.debug.ui.IPinProvider"/>
         <adapter type="org.eclipse.cdt.debug.core.ICWatchpointTarget"/>
         <adapter type="org.eclipse.tcf.internal.debug.ui.model.ISourceNotFoundPresentation"/>
      </factory>
      <factory
            adaptableType="org.eclipse.cdt.dsf.debug.internal.ui.disassembly.DisassemblyPart"
            class="org.eclipse.tcf.internal.cdt.ui.DisassemblyPartAdapterFactory">
         <adapter type="org.eclipse.tcf.internal.debug.ui.model.ITCFDisassemblyPart"/>
      </factory>
    </extension>

    <extension
          point="org.eclipse.core.expressions.propertyTesters">
       <propertyTester
             class="org.eclipse.tcf.internal.cdt.ui.commands.TCFReverseDebuggingPropertyTester"
             id="org.eclipse.tcf.cdt.ui.ReverseDebuggingTester"
             namespace="org.eclipse.cdt.debug.ui"
             properties="isReverseDebuggingEnabled"
             type="org.eclipse.tcf.internal.debug.ui.model.TCFNode">
       </propertyTester>
    </extension>

    <extension
          point="org.eclipse.debug.ui.debugModelContextBindings">
       <modelContextBinding
             contextId="org.eclipse.cdt.debug.ui.debugging"
             debugModelId="org.eclipse.tcf.debug">
       </modelContextBinding>
    </extension>

    <extension
          point="org.eclipse.cdt.debug.core.BreakpointExtension">
       <breakpointExtension
             class="org.eclipse.tcf.internal.cdt.ui.breakpoints.TCFBreakpointScopeExtension"
             debugModelId="org.eclipse.tcf.debug"
             id="org.eclipse.tcf.cdt.ui.breakpointExtension"
             markerType="org.eclipse.cdt.debug.core.cBreakpointMarker">
       </breakpointExtension>
    </extension>

   <extension point="org.eclipse.ui.propertyPages">
      <page class="org.eclipse.tcf.internal.cdt.ui.breakpoints.TCFBreakpointThreadFilterPage"
            id="org.eclipse.tcf.breakpoint.filtering"
            name="%breakpoints.filterPage.name">
         <filter name="debugModelId" value="org.eclipse.tcf.debug"/>
         <enabledWhen>
         <or>
           <and>
              <adapt type="org.eclipse.cdt.debug.core.model.ICBreakpoint"/>
              <not>
                 <adapt type="org.eclipse.cdt.debug.core.model.ICTracepoint"/>
              </not>
           </and>
           <and>
              <instanceof value="org.eclipse.cdt.debug.ui.breakpoints.ICBreakpointContext"/>
              <test property="org.eclipse.cdt.debug.ui.createBreakpointAdapt" value="org.eclipse.cdt.debug.core.model.ICBreakpoint" />
              <not>
                 <test property="org.eclipse.cdt.debug.ui.createBreakpointAdapt" value="org.eclipse.cdt.debug.core.model.ICTracepoint"/>
              </not>
           </and>
        </or>
        </enabledWhen>
     </page>
   </extension>
   <extension point="org.eclipse.ui.propertyPages">
      <page class="org.eclipse.tcf.internal.cdt.ui.breakpoints.TCFBreakpointThreadFilterPage"
            id="org.eclipse.tcf.breakpoint.scope.filtering"
            name="%breakpoints.filterPage.name">
         <enabledWhen>
               <and>
                  <instanceof
                        value="org.eclipse.tcf.internal.cdt.ui.breakpoints.BreakpointScopeCategory"/>
               </and>
         </enabledWhen>
      </page>
   </extension>

    <!-- Remote Application Launch config type -->
    <!-- TODO: Move to common CDT plugin? -->
    <extension
         point="org.eclipse.debug.core.launchConfigurationTypes">
      <launchConfigurationType
            public="false"
            sourcePathComputerId="org.eclipse.cdt.debug.core.sourcePathComputer"
            name="%launchConfigType.remoteApplication.name"
            id="org.eclipse.tcf.cdt.launch.remoteApplicationLaunchType"
            modes="debug,run">
      </launchConfigurationType>
    </extension>

    <extension point="org.eclipse.debug.core.launchDelegates">
      <launchDelegate
            id="org.eclipse.tcf.cdt.launch.localCLaunch"
            type="org.eclipse.cdt.launch.applicationLaunchType"
            modes="debug"
            delegate="org.eclipse.tcf.internal.cdt.launch.TCFCDTLaunchDelegate"
            name="%launchDelegate.localApplication.name"
            delegateDescription="%launchDelegate.localApplication.description"
            sourceLocatorId="org.eclipse.tcf.debug.SourceLocator"
            sourcePathComputerId="org.eclipse.cdt.debug.core.sourcePathComputer">
      </launchDelegate>
      <launchDelegate
            id="org.eclipse.tcf.cdt.launch.attachCLaunch"
            type="org.eclipse.cdt.launch.attachLaunchType"
            modes="debug"
            delegate="org.eclipse.tcf.internal.cdt.launch.TCFCDTLaunchDelegate"
            name="%launchDelegate.attach.name"
            delegateDescription="%launchDelegate.attach.description"
            sourceLocatorId="org.eclipse.tcf.debug.SourceLocator"
            sourcePathComputerId="org.eclipse.cdt.debug.core.sourcePathComputer">
      </launchDelegate>
      <launchDelegate
            id="org.eclipse.tcf.cdt.launch.remoteCLaunch"
            type="org.eclipse.tcf.cdt.launch.remoteApplicationLaunchType"
            modes="debug"
            delegate="org.eclipse.tcf.internal.cdt.launch.TCFCDTLaunchDelegate"
            name="%launchDelegate.remoteApplication.name"
            delegateDescription="%launchDelegate.remoteApplication.description"
            sourceLocatorId="org.eclipse.tcf.debug.SourceLocator"
            sourcePathComputerId="org.eclipse.cdt.debug.core.sourcePathComputer">
      </launchDelegate>
   </extension>

   <extension
         point="org.eclipse.debug.ui.launchConfigurationTabs">
      <!-- Local application launch tabs-->
      <tab id="org.eclipse.tcf.cdt.launch.mainTab"
            group="org.eclipse.cdt.launch.applicationLaunchTabGroup"
            name="%launchTab.main.name"
            class="org.eclipse.cdt.launch.ui.CMainTab">
        <associatedDelegate delegate="org.eclipse.tcf.cdt.launch.localCLaunch"/>
      </tab>
      <tab id="org.eclipse.tcf.cdt.launch.argumentsTab"
            group="org.eclipse.cdt.launch.applicationLaunchTabGroup"
            name="%launchTab.arguments.name"
            class="org.eclipse.cdt.launch.ui.CArgumentsTab">
        <associatedDelegate delegate="org.eclipse.tcf.cdt.launch.localCLaunch"/>
        <placement after="org.eclipse.cdt.cdi.launch.mainTab"/>
      </tab>
      <tab id="org.eclipse.tcf.cdt.launch.environmentTab"
            group="org.eclipse.cdt.launch.applicationLaunchTabGroup"
            name="%launchTab.environment.name"
            class="org.eclipse.debug.ui.EnvironmentTab">
         <associatedDelegate delegate="org.eclipse.tcf.cdt.launch.localCLaunch"/>
         <placement after="org.eclipse.cdt.cdi.launch.argumentsTab"/>
      </tab>
      <tab id="org.eclipse.tcf.cdt.launch.pathMapTab"
            group="org.eclipse.cdt.launch.applicationLaunchTabGroup"
            name="%launchTab.pathMap.name"
            class="org.eclipse.tcf.internal.debug.ui.launch.TCFPathMapTab">
        <associatedDelegate delegate="org.eclipse.tcf.cdt.launch.localCLaunch"/>
        <placement after="org.eclipse.debug.ui.environmentTab"/>
      </tab>
      <tab id="org.eclipse.tcf.cdt.launch.sourceLookupTab"
            group="org.eclipse.cdt.launch.applicationLaunchTabGroup"
            name="%launchTab.sourceLookup.name"
            class="org.eclipse.debug.ui.sourcelookup.SourceLookupTab">
        <associatedDelegate delegate="org.eclipse.tcf.cdt.launch.localCLaunch"/>
        <placement after="org.eclipse.tcf.launch.pathMapTab"/>
      </tab>
      <tab id="org.eclipse.tcf.cdt.launch.commonTab"
            group="org.eclipse.cdt.launch.applicationLaunchTabGroup"
            name="%launchTab.common.name"
            class="org.eclipse.debug.ui.CommonTab">
        <associatedDelegate delegate="org.eclipse.tcf.cdt.launch.localCLaunch"/>
        <placement after="org.eclipse.debug.ui.sourceLookupTab"/>
      </tab>

      <!-- Attach launch tabs-->
      <tab id="org.eclipse.tcf.cdt.launch.attach.pathMapTab"
            group="org.eclipse.cdt.launch.attachLaunchTabGroup"
            name="%launchTab.pathMap.name"
            class="org.eclipse.tcf.internal.debug.ui.launch.TCFPathMapTab">
        <associatedDelegate delegate="org.eclipse.tcf.cdt.launch.attachCLaunch"/>
      </tab>
      <tab id="org.eclipse.tcf.cdt.launch.attach.sourceLookupTab"
            group="org.eclipse.cdt.launch.attachLaunchTabGroup"
            name="%launchTab.sourceLookup.name"
            class="org.eclipse.debug.ui.sourcelookup.SourceLookupTab">
        <associatedDelegate delegate="org.eclipse.tcf.cdt.launch.attachCLaunch"/>
        <placement after="org.eclipse.tcf.launch.pathMapTab"/>
      </tab>
      <tab id="org.eclipse.tcf.cdt.launch.attach.commonTab"
            group="org.eclipse.cdt.launch.attachLaunchTabGroup"
            name="%launchTab.common.name"
            class="org.eclipse.debug.ui.CommonTab">
        <associatedDelegate delegate="org.eclipse.tcf.cdt.launch.attachCLaunch"/>
        <placement after="org.eclipse.debug.ui.sourceLookupTab"/>
      </tab>

      <!-- Remote application launch tabs -->
      <tab id="org.eclipse.tcf.cdt.launch.remote.mainTab"
            group="org.eclipse.tcf.cdt.ui.remoteApplicationLaunchTabGroup"
            name="%launchTab.main.name"
            class="org.eclipse.tcf.internal.cdt.ui.launch.RemoteCMainTab">
        <associatedDelegate delegate="org.eclipse.tcf.cdt.launch.remoteCLaunch"/>
      </tab>
      <tab id="org.eclipse.tcf.cdt.launch.remote.argumentsTab"
            group="org.eclipse.tcf.cdt.ui.remoteApplicationLaunchTabGroup"
            name="%launchTab.arguments.name"
            class="org.eclipse.cdt.launch.ui.CArgumentsTab">
        <associatedDelegate delegate="org.eclipse.tcf.cdt.launch.remoteCLaunch"/>
        <placement after="org.eclipse.cdt.cdi.launch.mainTab"/>
      </tab>
      <tab id="org.eclipse.tcf.cdt.launch.remote.environmentTab"
            group="org.eclipse.tcf.cdt.ui.remoteApplicationLaunchTabGroup"
            name="%launchTab.environment.name"
            class="org.eclipse.debug.ui.EnvironmentTab">
         <associatedDelegate delegate="org.eclipse.tcf.cdt.launch.remoteCLaunch"/>
         <placement after="org.eclipse.cdt.cdi.launch.argumentsTab"/>
      </tab>
      <tab id="org.eclipse.tcf.cdt.launch.remote.pathMapTab"
            group="org.eclipse.tcf.cdt.ui.remoteApplicationLaunchTabGroup"
            name="%launchTab.pathMap.name"
            class="org.eclipse.tcf.internal.debug.ui.launch.TCFPathMapTab">
        <associatedDelegate delegate="org.eclipse.tcf.cdt.launch.remoteCLaunch"/>
        <placement after="org.eclipse.cdt.cdi.launch.argumentsTab"/>
      </tab>
      <tab id="org.eclipse.tcf.cdt.launch.remote.sourceLookupTab"
            group="org.eclipse.tcf.cdt.ui.remoteApplicationLaunchTabGroup"
            name="%launchTab.sourceLookup.name"
            class="org.eclipse.debug.ui.sourcelookup.SourceLookupTab">
        <associatedDelegate delegate="org.eclipse.tcf.cdt.launch.remoteCLaunch"/>
        <placement after="org.eclipse.tcf.launch.pathMapTab"/>
      </tab>
      <tab id="org.eclipse.tcf.cdt.launch.remote.commonTab"
            group="org.eclipse.tcf.cdt.ui.remoteApplicationLaunchTabGroup"
            name="%launchTab.common.name"
            class="org.eclipse.debug.ui.CommonTab">
        <associatedDelegate delegate="org.eclipse.tcf.cdt.launch.remoteCLaunch"/>
        <placement after="org.eclipse.debug.ui.sourceLookupTab"/>
      </tab>
   </extension>

   <extension
         point="org.eclipse.debug.ui.launchConfigurationTabGroups">
      <launchConfigurationTabGroup
            class="org.eclipse.cdt.debug.internal.ui.launch.PlaceHolderLaunchConfigurationTabGroup"
            id="org.eclipse.tcf.cdt.ui.remoteApplicationLaunchTabGroup"
            type="org.eclipse.tcf.cdt.launch.remoteApplicationLaunchType">
      </launchConfigurationTabGroup>
   </extension>

   <extension
         point="org.eclipse.debug.ui.launchConfigurationTypeImages">
     <launchConfigurationTypeImage
            icon="icons/obj16/c_app.gif"
            configTypeID="org.eclipse.tcf.cdt.launch.remoteApplicationLaunchType"
            id="org.eclipse.tcf.cdt.ui.remoteApplicationLaunchType.image">
      </launchConfigurationTypeImage>
   </extension>

   <extension
         point="org.eclipse.debug.core.statusHandlers">
      <statusHandler
            class="org.eclipse.tcf.internal.cdt.ui.launch.ProcessPrompter"
            code="100"
            id="org.eclipse.tcf.cdt.ui.processPrompter"
            plugin="org.eclipse.tcf.cdt.core">
      </statusHandler>
   </extension>

   <extension
         point="org.eclipse.ui.commands">
      <command
            categoryId="org.eclipse.debug.ui.category.run"
            defaultHandler="org.eclipse.tcf.internal.cdt.ui.commands.AddWatchpointHandler"
            description="%command.addWatchpoint.desc"
            id="org.eclipse.tcf.cdt.ui.add_watchpoint"
            name="%command.addWatchpoint.name">
      </command>
      <command
            defaultHandler="org.eclipse.tcf.internal.cdt.ui.breakpoints.BreakpointScopeCategoryPropertiesHandler"
            description="%command.scopeProperties.desc"
            id="org.eclipse.tcf.cdt.debug.ui.command.breakpointCategoryProperties"
            name="%command.scopeProperties.name">
      </command>
   </extension>

   <extension
         point="org.eclipse.ui.menus">
      <menuContribution
            allPopups="false"
            locationURI="popup:#CEditorContext?after=group.debug">
         <command
               commandId="org.eclipse.tcf.cdt.ui.add_watchpoint"
               icon="platform:/plugin/org.eclipse.cdt.debug.ui/icons/elcl16/watchpoint_co.gif"
               id="org.eclipse.tcf.cdt.ui.add_watchpoint.editor"
               label="%item.addWatchpoint.name"
               style="push">
            <visibleWhen checkEnabled="false">
               <with variable="activeContexts">
                  <iterate ifEmpty="false" operator="or">
                     <equals value="org.eclipse.tcf.debug.ui.debugging"/>
                  </iterate>
               </with>
            </visibleWhen>
         </command>
      </menuContribution>
   </extension>

   <extension point="org.eclipse.ui.popupMenus">
      <objectContribution
            objectClass="org.eclipse.tcf.internal.debug.ui.model.TCFNodeExpression"
            id="org.eclipse.tcf.cdt.ui.WatchpointActions">
         <action
               class="org.eclipse.cdt.debug.internal.ui.actions.AddWatchpointOnVariableActionDelegate"
               enablesFor="1"
               icon="platform:/plugin/org.eclipse.cdt.debug.ui/icons/elcl16/watchpoint_co.gif"
               id="org.eclipse.tcf.cdt.ui.actions.AddWatchpointOnVariable"
               label="%action.addWatchpoint.label"
               menubarPath="additions"/>
      </objectContribution>
   </extension>
     <extension
           point="org.eclipse.core.expressions.propertyTesters">
        <propertyTester
              class="org.eclipse.tcf.internal.cdt.ui.breakpoints.ToggleTCFBreakpointTester"
              id="org.eclipse.tcf.cdt.ui.editorToggleBreakpointTester"
              namespace="org.eclipse.tcf.cdt.ui"
              properties="isTCFBreakpointSupported"
              type="org.eclipse.ui.IWorkbenchPart">
        </propertyTester>
        <propertyTester
              class="org.eclipse.tcf.internal.cdt.ui.breakpoints.ToggleTCFBreakpointTester"
              id="org.eclipse.tcf.cdt.ui.declarationToggleBreakpointTester"
              namespace="org.eclipse.tcf.cdt.ui"
              properties="isTCFBreakpointSupported"
              type="java.util.List">
        </propertyTester>
     </extension>
   <extension
          point="org.eclipse.debug.ui.toggleBreakpointsTargetFactories">
      <toggleTargetFactory
            id="org.eclipse.tcf.debug.toggleTCFThreadBreakpointTarget"
            class="org.eclipse.tcf.internal.cdt.ui.breakpoints.TCFToggleBreakpointsTargetFactory">
            <enablement>
            <!-- TODO: SDT: Comment out the testers for now.  Create a new one, to test if
                 the current launch is TCF or not.  Should be enough. -->
            <or>
               <test property="org.eclipse.tcf.cdt.ui.isTCFBreakpointSupported"/>
               <test property="org.eclipse.cdt.debug.ui.isCEditorSupportsCBreakpoint"/>
               <test property="org.eclipse.cdt.debug.ui.isAsmEditorSupportsCBreakpoint"/>
               <test property="org.eclipse.cdt.debug.ui.isDisassemblyEditorSupportsCBreakpoint"/>
            </or>
         </enablement>
      </toggleTargetFactory>
   </extension>
   <extension
         point="org.eclipse.ui.editors">
      <editor
            class="org.eclipse.tcf.internal.cdt.ui.sourcelookup.TCFCSourceNotFoundEditor"
            default="false"
            icon="icons/obj16/c_app.gif"
            id="org.eclipse.tcf.cdt.ui.source_not_found_editor"
            name="%editor.sourceNotFound.name">
      </editor>
   </extension>
   <extension
         point="org.eclipse.ui.preferencePages">
      <page
            category="org.eclipse.debug.ui.DebugPreferencePage"
            class="org.eclipse.tcf.internal.cdt.ui.preferences.BreakpointPreferencePage"
            id="org.eclipse.tcf.cdt.ui.preferences.BreakpointPreferencePage"
            name="%breakpointsPreferencePage.name">
      </page>
   </extension>
   <extension
         point="org.eclipse.core.runtime.preferences">
      <initializer
            class="org.eclipse.tcf.internal.cdt.ui.preferences.PreferenceInitializer">
      </initializer>
   </extension>
   <extension
         point="org.eclipse.debug.ui.breakpointOrganizers">
      <breakpointOrganizer
            class="org.eclipse.tcf.internal.cdt.ui.breakpoints.BreakpointScopeOrganizer"
            icon="icons/obj16/bp_scope.gif"
            id="org.eclipse.tcf.cdt.ui.breakpointScopeGroup"
            label="%breakpointScope.label">
      </breakpointOrganizer>
   </extension>
    <extension
       point="org.eclipse.ui.menus">
    <menuContribution
          locationURI="popup:org.eclipse.debug.ui.BreakpointView?after=additions">
       <command
             commandId="org.eclipse.tcf.cdt.debug.ui.command.breakpointCategoryProperties"
             helpContextId="breakpoint_scope_category_properties_action_context"
             id="org.eclipse.tcf.cdt.debug.ui.menu.command.breakpointScopeCategoryProperties"
             label="%action.breakpointScope.label">
          <visibleWhen>
             <with variable="selection">
               <count value="1"/>
               <iterate>
                   <or>
                      <!--<instanceof value="org.eclipse.debug.internal.ui.breakpoints.provisional.IBreakpointContainer"/>-->
	                  <adapt type="org.eclipse.tcf.internal.cdt.ui.breakpoints.BreakpointScopeCategory"/>
	               </or>
               </iterate>
             </with>
          </visibleWhen>
       </command>
    </menuContribution>

   </extension>
      <extension point="org.eclipse.debug.ui.detailPaneFactories">
      <detailFactories
             class="org.eclipse.tcf.internal.cdt.ui.breakpoints.TCFBreakpointScopeDetailPaneFactory"
             id="org.eclipse.tcf.debug.BreakpointScopeDetailPaneFactory">
         <enablement>
            <and>
               <with variable="selection">
                  <iterate>
                     <or>
                        <instanceof value=" org.eclipse.cdt.debug.core.model.ICBreakpoint"/>
                     </or>
                  </iterate>
               </with>
               <with variable="debugContext">
                  <iterate
                        ifEmpty="false">
                     <or>
                         <instanceof value="org.eclipse.tcf.internal.debug.ui.model.TCFNode"/>
                     </or>
                  </iterate>
               </with>
            </and>
         </enablement>
      </detailFactories>
   </extension>

	<extension
         point="org.eclipse.cdt.debug.ui.breakpointContribution">
      <breakpointEditors
           debugModelId="org.eclipse.tcf.debug" markerType="org.eclipse.cdt.debug.core.commonCLineBreakpointMarker">>
         <attribute
               fieldEditorFactory="org.eclipse.tcf.internal.cdt.ui.breakpoints.CBreakpointTypeFieldEditorFactory"
               label="Temporary"
               name="org.eclipse.tcf.cdt.Temporary"
               type="string">
         </attribute>
      </breakpointEditors>
      <breakpointEditors
           debugModelId="org.eclipse.tcf.debug" markerType="org.eclipse.cdt.debug.core.commonCLineBreakpointMarker">>
         <attribute
               fieldEditorFactory="org.eclipse.tcf.internal.cdt.ui.breakpoints.CBreakpointTypeFieldEditorFactory"
               label="Hardware"
               name="org.eclipse.tcf.cdt.Hardware"
               type="string">
         </attribute>
      </breakpointEditors>
      <breakpointEditors
           debugModelId="org.eclipse.tcf.debug" markerType="org.eclipse.cdt.debug.core.cWatchpointMarker">>
         <attribute
              fieldEditorFactory="org.eclipse.tcf.internal.cdt.ui.breakpoints.CWatchpointFieldEditorFactory"
              label=""
              name="org.eclipse.tcf.debug.tcfStamp">
            <value
                  label=""
                  value="true">
               <attribute
                     fieldEditorFactory="org.eclipse.tcf.internal.cdt.ui.breakpoints.CWatchpointFieldEditorFactory"
                     label="Read"
                     name="org.eclipse.cdt.debug.core.read">
               </attribute>
               <attribute
                     fieldEditorFactory="org.eclipse.tcf.internal.cdt.ui.breakpoints.CWatchpointFieldEditorFactory"
                     label="Write"
                     name="org.eclipse.cdt.debug.core.write">
               </attribute>
            </value>
         </attribute>
      </breakpointEditors>
 	</extension>


</plugin>

Back to the top