cdt/cdt_6_0_x/org.eclipse.cdt.dsf.gdb.ui/plugin.xml
changeset 37 c2bce6dd59e7
child 111 c2563c416525
equal deleted inserted replaced
35:a36bd1ef0b40 37:c2bce6dd59e7
       
     1 <?xml version="1.0" encoding="UTF-8"?>
       
     2 <?eclipse version="3.0"?>
       
     3 <plugin>
       
     4 
       
     5    <extension
       
     6          point="org.eclipse.debug.ui.launchConfigurationTabs">
       
     7       <!-- Local application launch tabs-->
       
     8       <tab
       
     9             id="org.eclipse.cdt.dsf.gdb.launch.localApplicationLaunch.mainTab"
       
    10             group="org.eclipse.cdt.launch.applicationLaunchTabGroup"
       
    11             name="%launchTab.main.name"
       
    12             class="org.eclipse.cdt.dsf.gdb.internal.ui.launching.CMainTab">
       
    13         <associatedDelegate delegate="org.eclipse.cdt.dsf.gdb.launch.localCLaunch"/>
       
    14       </tab>
       
    15       <tab id="org.eclipse.cdt.dsf.gdb.launch.localApplicationLaunch.argumentsTab"
       
    16             group="org.eclipse.cdt.launch.applicationLaunchTabGroup"
       
    17             name="%launchTab.arguments.name"
       
    18             class="org.eclipse.cdt.dsf.gdb.internal.ui.launching.CArgumentsTab">
       
    19         <associatedDelegate delegate="org.eclipse.cdt.dsf.gdb.launch.localCLaunch"/>
       
    20         <placement after="org.eclipse.cdt.dsf.gdb.launch.mainTab"/>
       
    21       </tab>
       
    22       <tab
       
    23             id="org.eclipse.cdt.dsf.gdb.launch.localApplicationLaunch.debuggerTab"
       
    24             group="org.eclipse.cdt.launch.applicationLaunchTabGroup"
       
    25             name="%launchTab.debugger.name"
       
    26             class="org.eclipse.cdt.dsf.gdb.internal.ui.launching.LocalApplicationCDebuggerTab">
       
    27         <associatedDelegate delegate="org.eclipse.cdt.dsf.gdb.launch.localCLaunch"/>
       
    28         <placement after="org.eclipse.cdt.dsf.gdb.launch.argumentsTab"/>
       
    29       </tab>
       
    30       <tab
       
    31             id="org.eclipse.cdt.dsf.gdb.launch.localApplicationLaunch.sourceLookupTab"
       
    32             group="org.eclipse.cdt.launch.applicationLaunchTabGroup"
       
    33             name="%launchTab.sourceLookup.name"
       
    34             class="org.eclipse.debug.ui.sourcelookup.SourceLookupTab">
       
    35         <associatedDelegate delegate="org.eclipse.cdt.dsf.gdb.launch.localCLaunch"/>
       
    36         <placement after="org.eclipse.cdt.dsf.gdb.launch.debuggerTab"/>
       
    37       </tab>
       
    38       <tab
       
    39             id="org.eclipse.cdt.dsf.gdb.launch.localApplicationLaunch.commonTab"
       
    40             group="org.eclipse.cdt.launch.applicationLaunchTabGroup"
       
    41             name="%launchTab.common.name"
       
    42             class="org.eclipse.debug.ui.CommonTab">
       
    43         <associatedDelegate delegate="org.eclipse.cdt.dsf.gdb.launch.localCLaunch"/>
       
    44         <placement after="org.eclipse.debug.ui.sourceLookupTab"/>
       
    45       </tab>
       
    46 
       
    47       <!-- Remote application launch tabs-->
       
    48       <tab
       
    49             id="org.eclipse.cdt.dsf.gdb.launch.remoteApplicationLaunch.mainTab"
       
    50             group="org.eclipse.cdt.launch.applicationLaunchTabGroup"
       
    51             name="%launchTab.main.name"
       
    52             class="org.eclipse.cdt.dsf.gdb.internal.ui.launching.CMainTab">
       
    53         <associatedDelegate delegate="org.eclipse.cdt.dsf.gdb.launch.remoteCLaunch"/>
       
    54       </tab>
       
    55       <tab
       
    56             id="org.eclipse.cdt.dsf.gdb.launch.remoteApplicationLaunch.debuggerTab"
       
    57             group="org.eclipse.cdt.launch.applicationLaunchTabGroup"
       
    58             name="%launchTab.debugger.name"
       
    59             class="org.eclipse.cdt.dsf.gdb.internal.ui.launching.RemoteApplicationCDebuggerTab">
       
    60         <associatedDelegate delegate="org.eclipse.cdt.dsf.gdb.launch.remoteCLaunch"/>
       
    61         <placement after="org.eclipse.cdt.dsf.gdb.launch.mainTab"/>
       
    62       </tab>
       
    63       <tab
       
    64             id="org.eclipse.cdt.dsf.gdb.launch.remoteApplicationLaunch.sourceLookupTab"
       
    65             group="org.eclipse.cdt.launch.applicationLaunchTabGroup"
       
    66             name="%launchTab.sourceLookup.name"
       
    67             class="org.eclipse.debug.ui.sourcelookup.SourceLookupTab">
       
    68         <associatedDelegate delegate="org.eclipse.cdt.dsf.gdb.launch.remoteCLaunch"/>
       
    69         <placement after="org.eclipse.cdt.dsf.gdb.launch.debuggerTab"/>
       
    70       </tab>
       
    71       <tab
       
    72             id="org.eclipse.cdt.dsf.gdb.launch.remoteApplicationLaunch.commonTab"
       
    73             group="org.eclipse.cdt.launch.applicationLaunchTabGroup"
       
    74             name="%launchTab.common.name"
       
    75             class="org.eclipse.debug.ui.CommonTab">
       
    76         <associatedDelegate delegate="org.eclipse.cdt.dsf.gdb.launch.remoteCLaunch"/>
       
    77         <placement after="org.eclipse.debug.ui.sourceLookupTab"/>
       
    78       </tab>
       
    79 
       
    80       <!-- Attach launch tabs-->
       
    81       <tab
       
    82             id="org.eclipse.cdt.dsf.gdb.launch.attachLaunch.mainTab"
       
    83             group="org.eclipse.cdt.launch.attachLaunchTabGroup"
       
    84             name="%launchTab.main.name"
       
    85             class="org.eclipse.cdt.dsf.gdb.internal.ui.launching.CMainAttachTab">
       
    86         <associatedDelegate delegate="org.eclipse.cdt.dsf.gdb.launch.attachCLaunch"/>
       
    87       </tab>
       
    88       <tab
       
    89             id="org.eclipse.cdt.dsf.gdb.launch.attachLaunch.debuggerTab"
       
    90             group="org.eclipse.cdt.launch.attachLaunchTabGroup"
       
    91             name="%launchTab.debugger.name"
       
    92             class="org.eclipse.cdt.dsf.gdb.internal.ui.launching.AttachCDebuggerTab">
       
    93         <associatedDelegate delegate="org.eclipse.cdt.dsf.gdb.launch.attachCLaunch"/>
       
    94         <placement after="org.eclipse.cdt.dsf.gdb.launch.mainTab"/>
       
    95       </tab>
       
    96       <tab
       
    97             id="org.eclipse.cdt.dsf.gdb.launch.attachLaunch.sourceLookupTab"
       
    98             group="org.eclipse.cdt.launch.attachLaunchTabGroup"
       
    99             name="%launchTab.sourceLookup.name"
       
   100             class="org.eclipse.debug.ui.sourcelookup.SourceLookupTab">
       
   101         <associatedDelegate delegate="org.eclipse.cdt.dsf.gdb.launch.attachCLaunch"/>
       
   102         <placement after="org.eclipse.cdt.dsf.gdb.launch.debuggerTab"/>
       
   103       </tab>
       
   104       <tab
       
   105             id="org.eclipse.cdt.dsf.gdb.launch.attachLaunch.commonTab"
       
   106             group="org.eclipse.cdt.launch.attachLaunchTabGroup"
       
   107             name="%launchTab.common.name"
       
   108             class="org.eclipse.debug.ui.CommonTab">
       
   109         <associatedDelegate delegate="org.eclipse.cdt.dsf.gdb.launch.attachCLaunch"/>
       
   110         <placement after="org.eclipse.debug.ui.sourceLookupTab"/>
       
   111       </tab>
       
   112       
       
   113       <!-- PostMortem launch tabs-->
       
   114       <tab
       
   115             id="org.eclipse.cdt.dsf.gdb.launch.coreLaunch.mainTab"
       
   116             group="org.eclipse.cdt.launch.postmortemLaunchTabGroup"
       
   117             name="%launchTab.main.name"
       
   118             class="org.eclipse.cdt.dsf.gdb.internal.ui.launching.CMainCoreTab">
       
   119          <associatedDelegate delegate="org.eclipse.cdt.dsf.gdb.launch.coreCLaunch"/>
       
   120       </tab>
       
   121       <tab
       
   122             id="org.eclipse.cdt.dsf.gdb.launch.coreLaunch.debuggerTab"
       
   123             group="org.eclipse.cdt.launch.postmortemLaunchTabGroup"
       
   124             name="%launchTab.debugger.name"
       
   125             class="org.eclipse.cdt.dsf.gdb.internal.ui.launching.CoreFileDebuggerTab">
       
   126          <associatedDelegate delegate="org.eclipse.cdt.dsf.gdb.launch.coreCLaunch"/>
       
   127          <placement after="org.eclipse.cdt.dsf.gdb.launch.mainTab"/>
       
   128       </tab>
       
   129       <tab
       
   130             id="org.eclipse.cdt.dsf.gdb.launch.coreLaunch.sourceLookupTab"
       
   131             group="org.eclipse.cdt.launch.postmortemLaunchTabGroup"
       
   132             name="%launchTab.sourceLookup.name"
       
   133             class="org.eclipse.debug.ui.sourcelookup.SourceLookupTab">
       
   134          <associatedDelegate delegate="org.eclipse.cdt.dsf.gdb.launch.coreCLaunch"/>
       
   135          <placement after="org.eclipse.cdt.dsf.gdb.launch.debuggerTab"/>
       
   136       </tab>
       
   137       <tab
       
   138             id="org.eclipse.cdt.dsf.gdb.launch.coreLaunch.commonTab"
       
   139             group="org.eclipse.cdt.launch.postmortemLaunchTabGroup"
       
   140             name="%launchTab.common.name"
       
   141             class="org.eclipse.debug.ui.CommonTab">
       
   142          <associatedDelegate delegate="org.eclipse.cdt.dsf.gdb.launch.coreCLaunch"/>
       
   143          <placement after="org.eclipse.debug.ui.sourceLookupTab"/>
       
   144       </tab>
       
   145    </extension>
       
   146    
       
   147     <extension
       
   148          point="org.eclipse.debug.ui.launchConfigurationTabGroups">
       
   149       <launchConfigurationTabGroup
       
   150             class="org.eclipse.cdt.dsf.gdb.internal.ui.launching.GdbRemoteRunLaunchConfigurationTabGroup"
       
   151             id="org.eclipse.cdt.dsf.gdb.launch.remoteRunLaunchTabGroup"
       
   152             type="org.eclipse.cdt.dsf.gdb.launch.remoteCLaunch">
       
   153       </launchConfigurationTabGroup>
       
   154    </extension>
       
   155    
       
   156    <extension point="org.eclipse.core.runtime.adapters">
       
   157       <factory 
       
   158         	class="org.eclipse.cdt.dsf.gdb.internal.ui.GdbAdapterFactory" 
       
   159 	        adaptableType="org.eclipse.cdt.dsf.gdb.launching.GdbLaunch">
       
   160          <adapter type="org.eclipse.debug.internal.ui.viewers.model.provisional.IElementContentProvider"/>
       
   161          <adapter type="org.eclipse.debug.internal.ui.viewers.model.provisional.IModelProxyFactory"/>
       
   162          <adapter type="org.eclipse.debug.ui.contexts.ISuspendTrigger"/>
       
   163          <adapter type="org.eclipse.debug.internal.ui.viewers.model.provisional.IColumnPresentationFactory"/>
       
   164 	  </factory>         
       
   165       <factory 
       
   166 	       	class="org.eclipse.cdt.dsf.gdb.internal.ui.GdbRunToLineAdapterFactory" 
       
   167 	        adaptableType="org.eclipse.cdt.dsf.ui.viewmodel.IVMContext">
       
   168          <adapter type="org.eclipse.debug.core.model.ISuspendResume"/>
       
   169 	  </factory>
       
   170    </extension>	
       
   171    
       
   172    <extension point="org.eclipse.debug.ui.memoryRenderings">
       
   173       <renderingBindings
       
   174             defaultIds="org.eclipse.debug.ui.rendering.raw_memory"
       
   175             primaryId="org.eclipse.debug.ui.rendering.raw_memory"
       
   176             renderingIds="org.eclipse.debug.ui.rendering.raw_memory,org.eclipse.debug.ui.rendering.ascii,org.eclipse.debug.ui.rendering.signedint,org.eclipse.debug.ui.rendering.unsignedint">
       
   177          <enablement>
       
   178             <instanceof value="org.eclipse.cdt.dsf.debug.model.DsfMemoryBlock"/>
       
   179          </enablement>
       
   180       </renderingBindings>
       
   181    </extension>
       
   182 
       
   183    <extension point="org.eclipse.ui.propertyPages">
       
   184          <page class="org.eclipse.cdt.dsf.gdb.internal.ui.breakpoints.CBreakpointGdbThreadFilterPage"
       
   185             id="org.eclipse.cdt.dsf.gdb.breakpoint.filtering"
       
   186             name="Filter">
       
   187          <filter name="debugModelId" value="org.eclipse.cdt.dsf.gdb"/>
       
   188          <enabledWhen>
       
   189             <adapt type="org.eclipse.cdt.debug.core.model.ICBreakpoint"/>
       
   190          </enabledWhen>
       
   191       </page>
       
   192    </extension>
       
   193    <extension
       
   194          point="org.eclipse.debug.core.statusHandlers">
       
   195       <statusHandler
       
   196             class="org.eclipse.cdt.dsf.gdb.internal.ui.launching.ProcessPrompter"
       
   197             code="100"
       
   198             id="org.eclipse.cdt.dsf.gdb.ui.processPrompter"
       
   199             plugin="org.eclipse.cdt.dsf.gdb.ui">
       
   200       </statusHandler>
       
   201       <statusHandler
       
   202             class="org.eclipse.cdt.dsf.gdb.internal.ui.launching.CoreFilePrompter"
       
   203             code="1001"
       
   204             id="org.eclipse.cdt.dsf.gdb.ui.coreFilePrompter"
       
   205             plugin="org.eclipse.cdt.dsf.gdb.ui">
       
   206       </statusHandler>
       
   207    </extension>
       
   208    <extension
       
   209          point="org.eclipse.cdt.debug.ui.CDebuggerPage">
       
   210       <debuggerPage
       
   211             class="org.eclipse.cdt.dsf.gdb.internal.ui.launching.GdbDebuggerPage"
       
   212             debuggerID="org.eclipse.cdt.dsf.gdb.GdbDebugger"
       
   213             id="org.eclipse.cdt.dsf.gdb.ui.GdbDebuggerPage">
       
   214       </debuggerPage>
       
   215       <debuggerPage
       
   216             class="org.eclipse.cdt.dsf.gdb.internal.ui.launching.GdbServerDebuggerPage"
       
   217             debuggerID="org.eclipse.cdt.dsf.gdb.GdbServerDebugger"
       
   218             id="org.eclipse.cdt.dsf.gdb.ui.GdbServerDebuggerPage">
       
   219       </debuggerPage>
       
   220    </extension>
       
   221    <extension
       
   222          point="org.eclipse.ui.popupMenus">
       
   223       <viewerContribution
       
   224             id="org.eclipse.cdt.dsf.gdb.ui.debugview.context"
       
   225             targetID="org.eclipse.debug.ui.DebugView">
       
   226          <action
       
   227                class="org.eclipse.cdt.dsf.gdb.internal.ui.actions.ConnectActionDelegate"
       
   228                icon="icons/full/obj16/connect.gif"
       
   229                id="org.eclipse.cdt.dsf.gdb.ui.connect"
       
   230                label="%action.connect.label"
       
   231                menubarPath="threadGroup"
       
   232                tooltip="%action.connect.tooltip">
       
   233             <enablement>
       
   234                <pluginState
       
   235                      id="org.eclipse.cdt.dsf.gdb.ui"
       
   236                      value="activated">
       
   237                </pluginState>
       
   238             </enablement>
       
   239          </action>
       
   240          <visibility>
       
   241             <pluginState
       
   242                   id="org.eclipse.cdt.dsf.gdb.ui"
       
   243                   value="activated">
       
   244             </pluginState>
       
   245          </visibility>
       
   246       </viewerContribution>
       
   247    </extension>
       
   248    <extension
       
   249          point="org.eclipse.ui.viewActions">
       
   250       <viewContribution
       
   251             id="org.eclipse.cdt.dsf.gdb.ui.debugview.toolbar"
       
   252             targetID="org.eclipse.debug.ui.DebugView">
       
   253          <action
       
   254                class="org.eclipse.cdt.dsf.gdb.internal.ui.actions.ConnectActionDelegate"
       
   255                icon="icons/full/obj16/connect.gif"
       
   256                id="org.eclipse.cdt.dsf.gdb.ui.connect"
       
   257                label="%action.connect.label"
       
   258                toolbarPath="threadGroup"
       
   259                tooltip="%action.connect.tooltip">
       
   260             <enablement>
       
   261                <pluginState
       
   262                      id="org.eclipse.cdt.dsf.gdb.ui"
       
   263                      value="activated">
       
   264                </pluginState>
       
   265             </enablement>
       
   266          </action>
       
   267       </viewContribution>
       
   268    </extension>
       
   269    <extension
       
   270          point="org.eclipse.ui.actionSets">
       
   271       <actionSet
       
   272             description="%actionSet.reverse.description"
       
   273             id="org.eclipse.cdt.dsf.gdb.ui.reverseDebuggingActionSet"
       
   274             label="%actionSet.reverse.label"
       
   275             visible="false">
       
   276       </actionSet>
       
   277    </extension>
       
   278    <extension
       
   279          point="org.eclipse.ui.commands">
       
   280       <category
       
   281             description="%command.reverseCategory.description"
       
   282             id="org.eclipse.cdt.dsf.gdb.ui.reverseDebuggingCategory"
       
   283             name="%command.reverseCategory.name">
       
   284       </category>
       
   285       <command
       
   286             categoryId="org.eclipse.cdt.dsf.gdb.ui.reverseDebuggingCategory"
       
   287             description="%command.reverseToggle.description"
       
   288             id="org.eclipse.cdt.dsf.gdb.ui.commands.reverseToggle"
       
   289             name="%command.reverseToggle.name">
       
   290       </command>
       
   291       <command
       
   292             categoryId="org.eclipse.cdt.dsf.gdb.ui.reverseDebuggingCategory"
       
   293             description="%command.reverseResume.description"
       
   294             id="org.eclipse.cdt.dsf.gdb.ui.commands.reverseResume"
       
   295             name="%command.reverseResume.name">
       
   296       </command>
       
   297       <command
       
   298             categoryId="org.eclipse.cdt.dsf.gdb.ui.reverseDebuggingCategory"
       
   299             description="%command.reverseStepInto.description"
       
   300             id="org.eclipse.cdt.dsf.gdb.ui.commands.reverseStepInto"
       
   301             name="%command.reverseStepInto.name">
       
   302       </command>
       
   303       <command
       
   304             categoryId="org.eclipse.cdt.dsf.gdb.ui.reverseDebuggingCategory"
       
   305             description="%command.reverseStepOver.description"
       
   306             id="org.eclipse.cdt.dsf.gdb.ui.commands.reverseStepOver"
       
   307             name="%command.reverseStepOver.name">
       
   308       </command>
       
   309       <command
       
   310             categoryId="org.eclipse.cdt.dsf.gdb.ui.reverseDebuggingCategory"
       
   311             description="%command.uncall.description"
       
   312             id="org.eclipse.cdt.dsf.gdb.ui.commands.uncall"
       
   313             name="%command.uncall.name">
       
   314       </command>
       
   315    </extension>
       
   316    <extension
       
   317          point="org.eclipse.ui.menus">
       
   318       <menuContribution
       
   319             locationURI="toolbar:org.eclipse.debug.ui.DebugView?after=additions">
       
   320          <command
       
   321                commandId="org.eclipse.cdt.dsf.gdb.ui.commands.reverseToggle"
       
   322                icon="icons/full/obj16/reversetoggle.gif"
       
   323                id="org.eclipse.cdt.dsf.gdb.ui.button.reverseToggle"
       
   324                label="%command.reverseToggle.label"
       
   325                style="toggle">
       
   326             <visibleWhen
       
   327                   checkEnabled="false">
       
   328                <reference
       
   329                      definitionId="org.eclipse.cdt.dsf.gdb.ui.testIsReverseDebuggingActionSetActive">
       
   330                </reference>
       
   331             </visibleWhen>
       
   332          </command>
       
   333       </menuContribution>
       
   334       <menuContribution
       
   335             locationURI="toolbar:org.eclipse.debug.ui.DebugView?after=threadGroup">
       
   336          <command
       
   337                commandId="org.eclipse.cdt.dsf.gdb.ui.commands.reverseResume"
       
   338                icon="icons/full/obj16/reverseresume.gif"
       
   339                label="%command.reverseResume.label"
       
   340                style="push">
       
   341             <visibleWhen
       
   342                   checkEnabled="false">
       
   343                <reference
       
   344                      definitionId="org.eclipse.cdt.dsf.gdb.ui.testIsReverseDebuggingEnabled">
       
   345                </reference>
       
   346             </visibleWhen>
       
   347          </command>
       
   348       </menuContribution>
       
   349       <menuContribution
       
   350             locationURI="toolbar:org.eclipse.debug.ui.DebugView?after=stepIntoGroup">
       
   351          <command
       
   352                commandId="org.eclipse.cdt.dsf.gdb.ui.commands.reverseStepInto"
       
   353                icon="icons/full/obj16/reversestepinto.gif"
       
   354                label="%command.reverseStepInto.label"
       
   355                style="push">
       
   356             <visibleWhen
       
   357                   checkEnabled="false">
       
   358                <reference
       
   359                      definitionId="org.eclipse.cdt.dsf.gdb.ui.testIsReverseDebuggingEnabled">
       
   360                </reference>
       
   361             </visibleWhen>
       
   362          </command>
       
   363       </menuContribution>
       
   364       <menuContribution
       
   365             locationURI="toolbar:org.eclipse.debug.ui.DebugView?after=stepOverGroup">
       
   366          <command
       
   367                commandId="org.eclipse.cdt.dsf.gdb.ui.commands.reverseStepOver"
       
   368                icon="icons/full/obj16/reversestepover.gif"
       
   369                label="%command.reverseStepOver.label"
       
   370                style="push">
       
   371             <visibleWhen
       
   372                   checkEnabled="false">
       
   373                <reference
       
   374                      definitionId="org.eclipse.cdt.dsf.gdb.ui.testIsReverseDebuggingEnabled">
       
   375                </reference>
       
   376             </visibleWhen>
       
   377          </command>
       
   378       </menuContribution>
       
   379       <menuContribution
       
   380             locationURI="toolbar:org.eclipse.debug.ui.DebugView?after=stepReturnGroup">
       
   381          <command
       
   382                commandId="org.eclipse.cdt.dsf.gdb.ui.commands.uncall"
       
   383                icon="icons/full/obj16/uncall.gif"
       
   384                label="%command.uncall.label"
       
   385                style="push">
       
   386             <visibleWhen
       
   387                   checkEnabled="false">
       
   388                <reference
       
   389                      definitionId="org.eclipse.cdt.dsf.gdb.ui.testIsReverseDebuggingEnabled">
       
   390                </reference>
       
   391             </visibleWhen>
       
   392          </command>
       
   393       </menuContribution>
       
   394       <menuContribution
       
   395             locationURI="menu:org.eclipse.ui.run?before=stepGroup">
       
   396          <command
       
   397                commandId="org.eclipse.cdt.dsf.gdb.ui.commands.reverseToggle"
       
   398                icon="icons/full/obj16/reversetoggle.gif"
       
   399                id="org.eclipse.cdt.dsf.gdb.ui.button.reverseToggle"
       
   400                label="%command.reverseToggle.label"
       
   401                style="toggle">
       
   402             <visibleWhen
       
   403                   checkEnabled="false">
       
   404                <reference
       
   405                      definitionId="org.eclipse.cdt.dsf.gdb.ui.testIsReverseDebuggingActionSetActive">
       
   406                </reference>
       
   407             </visibleWhen>
       
   408          </command>
       
   409       </menuContribution>
       
   410       <menuContribution
       
   411             locationURI="menu:org.eclipse.ui.run?after=stepGroup">
       
   412          <command
       
   413                commandId="org.eclipse.cdt.dsf.gdb.ui.commands.reverseResume"
       
   414                icon="icons/full/obj16/reverseresume.gif"
       
   415                label="%command.reverseResume.label"
       
   416                style="push">
       
   417             <visibleWhen
       
   418                   checkEnabled="false">
       
   419                <reference
       
   420                      definitionId="org.eclipse.cdt.dsf.gdb.ui.testIsReverseDebuggingEnabled">
       
   421                </reference>
       
   422             </visibleWhen>
       
   423          </command>
       
   424       </menuContribution>
       
   425       <menuContribution
       
   426             locationURI="menu:org.eclipse.ui.run?before=stepIntoGroup">
       
   427          <command
       
   428                commandId="org.eclipse.cdt.dsf.gdb.ui.commands.reverseStepInto"
       
   429                icon="icons/full/obj16/reversestepinto.gif"
       
   430                label="%command.reverseStepInto.label"
       
   431                style="push">
       
   432             <visibleWhen
       
   433                   checkEnabled="false">
       
   434                <reference
       
   435                      definitionId="org.eclipse.cdt.dsf.gdb.ui.testIsReverseDebuggingEnabled">
       
   436                </reference>
       
   437             </visibleWhen>
       
   438          </command>
       
   439       </menuContribution>
       
   440       <menuContribution
       
   441             locationURI="menu:org.eclipse.ui.run?before=stepOverGroup">
       
   442          <command
       
   443                commandId="org.eclipse.cdt.dsf.gdb.ui.commands.reverseStepOver"
       
   444                icon="icons/full/obj16/reversestepover.gif"
       
   445                label="%command.reverseStepOver.label"
       
   446                style="push">
       
   447             <visibleWhen
       
   448                   checkEnabled="false">
       
   449                <reference
       
   450                      definitionId="org.eclipse.cdt.dsf.gdb.ui.testIsReverseDebuggingEnabled">
       
   451                </reference>
       
   452             </visibleWhen>
       
   453          </command>
       
   454       </menuContribution>
       
   455       <menuContribution
       
   456             locationURI="menu:org.eclipse.ui.run?before=stepReturnGroup">
       
   457          <command
       
   458                commandId="org.eclipse.cdt.dsf.gdb.ui.commands.uncall"
       
   459                icon="icons/full/obj16/uncall.gif"
       
   460                label="%command.uncall.label"
       
   461                style="push">
       
   462             <visibleWhen
       
   463                   checkEnabled="false">
       
   464                <reference
       
   465                      definitionId="org.eclipse.cdt.dsf.gdb.ui.testIsReverseDebuggingEnabled">
       
   466                </reference>
       
   467             </visibleWhen>
       
   468          </command>
       
   469       </menuContribution>
       
   470       <menuContribution
       
   471             locationURI="popup:org.eclipse.debug.ui.DebugView?before=stepGroup">
       
   472          <command
       
   473                commandId="org.eclipse.cdt.dsf.gdb.ui.commands.reverseToggle"
       
   474                icon="icons/full/obj16/reversetoggle.gif"
       
   475                id="org.eclipse.cdt.dsf.gdb.ui.button.reverseToggle"
       
   476                label="%command.reverseToggle.label"
       
   477                style="toggle">
       
   478             <visibleWhen
       
   479                   checkEnabled="false">
       
   480                <reference
       
   481                      definitionId="org.eclipse.cdt.dsf.gdb.ui.testIsReverseDebuggingActionSetActive">
       
   482                </reference>
       
   483             </visibleWhen>
       
   484          </command>
       
   485       </menuContribution>
       
   486       <menuContribution
       
   487             locationURI="popup:org.eclipse.debug.ui.DebugView?after=threadGroup">
       
   488          <command
       
   489                commandId="org.eclipse.cdt.dsf.gdb.ui.commands.reverseResume"
       
   490                icon="icons/full/obj16/reverseresume.gif"
       
   491                label="%command.reverseResume.label"
       
   492                style="push">
       
   493             <visibleWhen
       
   494                   checkEnabled="false">
       
   495                <reference
       
   496                      definitionId="org.eclipse.cdt.dsf.gdb.ui.testIsReverseDebuggingEnabled">
       
   497                </reference>
       
   498             </visibleWhen>
       
   499          </command>
       
   500       </menuContribution>
       
   501       <menuContribution
       
   502             locationURI="popup:org.eclipse.debug.ui.DebugView?before=stepIntoGroup">
       
   503          <command
       
   504                commandId="org.eclipse.cdt.dsf.gdb.ui.commands.reverseStepInto"
       
   505                icon="icons/full/obj16/reversestepinto.gif"
       
   506                label="%command.reverseStepInto.label"
       
   507                style="push">
       
   508             <visibleWhen
       
   509                   checkEnabled="false">
       
   510                <reference
       
   511                      definitionId="org.eclipse.cdt.dsf.gdb.ui.testIsReverseDebuggingEnabled">
       
   512                </reference>
       
   513             </visibleWhen>
       
   514          </command>
       
   515       </menuContribution>
       
   516       <menuContribution
       
   517             locationURI="popup:org.eclipse.debug.ui.DebugView?before=stepOverGroup">
       
   518          <command
       
   519                commandId="org.eclipse.cdt.dsf.gdb.ui.commands.reverseStepOver"
       
   520                icon="icons/full/obj16/reversestepover.gif"
       
   521                label="%command.reverseStepOver.label"
       
   522                style="push">
       
   523             <visibleWhen
       
   524                   checkEnabled="false">
       
   525                <reference
       
   526                      definitionId="org.eclipse.cdt.dsf.gdb.ui.testIsReverseDebuggingEnabled">
       
   527                </reference>
       
   528             </visibleWhen>
       
   529          </command>
       
   530       </menuContribution>
       
   531       <menuContribution
       
   532             locationURI="popup:org.eclipse.debug.ui.DebugView?before=stepReturnGroup">
       
   533          <command
       
   534                commandId="org.eclipse.cdt.dsf.gdb.ui.commands.uncall"
       
   535                icon="icons/full/obj16/uncall.gif"
       
   536                label="%command.uncall.label"
       
   537                style="push">
       
   538             <visibleWhen
       
   539                   checkEnabled="false">
       
   540                <reference
       
   541                      definitionId="org.eclipse.cdt.dsf.gdb.ui.testIsReverseDebuggingEnabled">
       
   542                </reference>
       
   543             </visibleWhen>
       
   544          </command>
       
   545       </menuContribution>
       
   546    </extension>
       
   547    <extension
       
   548          point="org.eclipse.ui.bindings">
       
   549       <key
       
   550             commandId="org.eclipse.cdt.dsf.gdb.ui.commands.reverseResume"
       
   551             contextId="org.eclipse.cdt.debug.ui.debugging"
       
   552             schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"
       
   553             sequence="SHIFT+F8">
       
   554       </key>
       
   555       <key
       
   556             commandId="org.eclipse.cdt.dsf.gdb.ui.commands.reverseStepInto"
       
   557             contextId="org.eclipse.cdt.debug.ui.debugging"
       
   558             schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"
       
   559             sequence="SHIFT+F5">
       
   560       </key>
       
   561       <key
       
   562             commandId="org.eclipse.cdt.dsf.gdb.ui.commands.reverseStepOver"
       
   563             contextId="org.eclipse.cdt.debug.ui.debugging"
       
   564             schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"
       
   565             sequence="SHIFT+F6">
       
   566       </key>
       
   567       <key
       
   568             commandId="org.eclipse.cdt.dsf.gdb.ui.commands.uncall"
       
   569             contextId="org.eclipse.cdt.debug.ui.debugging"
       
   570             schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"
       
   571             sequence="SHIFT+F7">
       
   572       </key>
       
   573    </extension>
       
   574    <extension
       
   575          point="org.eclipse.core.expressions.definitions">
       
   576       <definition
       
   577             id="org.eclipse.cdt.dsf.gdb.ui.testIsReverseDebuggingActionSetActive">
       
   578          <with
       
   579                variable="activeContexts">
       
   580             <iterate
       
   581                   operator="or">
       
   582                <equals
       
   583                      value="org.eclipse.cdt.dsf.gdb.ui.reverseDebuggingActionSet">
       
   584                </equals>
       
   585             </iterate>
       
   586          </with>
       
   587       </definition>
       
   588       <definition
       
   589             id="org.eclipse.cdt.dsf.gdb.ui.testIsGdbUIPluginActive">
       
   590          <with
       
   591                variable="org.eclipse.core.runtime.Platform">
       
   592             <test
       
   593                   args="org.eclipse.cdt.dsf.gdb.ui"
       
   594                   property="org.eclipse.core.runtime.bundleState"
       
   595                   value="ACTIVE">
       
   596             </test>
       
   597          </with>
       
   598       </definition>
       
   599       <definition
       
   600             id="org.eclipse.cdt.dsf.gdb.ui.testIsReverseDebuggingEnabled">
       
   601          <and>
       
   602             <reference
       
   603                   definitionId="org.eclipse.cdt.dsf.gdb.ui.testIsGdbUIPluginActive">
       
   604             </reference>
       
   605             <reference
       
   606                   definitionId="org.eclipse.cdt.dsf.gdb.ui.testIsReverseDebuggingActionSetActive">
       
   607             </reference>
       
   608             <or>
       
   609                <with
       
   610                      variable="activePart">
       
   611                   <test
       
   612                         property="org.eclipse.cdt.dsf.gdb.ui.isReverseDebuggingEnabled">
       
   613                   </test>
       
   614                </with>
       
   615                <with
       
   616                      variable="selection">
       
   617                   <test
       
   618                         property="org.eclipse.cdt.dsf.gdb.ui.isReverseDebuggingEnabled">
       
   619                   </test>
       
   620                </with>
       
   621             </or>
       
   622          </and>
       
   623       </definition>
       
   624       
       
   625    </extension>
       
   626    <extension
       
   627          point="org.eclipse.ui.handlers">
       
   628       <handler
       
   629             class="org.eclipse.cdt.dsf.gdb.internal.ui.actions.ReverseToggleCommandHandler"
       
   630             commandId="org.eclipse.cdt.dsf.gdb.ui.commands.reverseToggle">
       
   631          <enabledWhen>
       
   632             <reference
       
   633                   definitionId="org.eclipse.cdt.dsf.gdb.ui.testIsGdbUIPluginActive">
       
   634             </reference>
       
   635          </enabledWhen>
       
   636       </handler>
       
   637       <handler
       
   638             class="org.eclipse.cdt.dsf.gdb.internal.ui.actions.ReverseResumeCommandHandler"
       
   639             commandId="org.eclipse.cdt.dsf.gdb.ui.commands.reverseResume">
       
   640          <enabledWhen>
       
   641             <reference
       
   642                   definitionId="org.eclipse.cdt.dsf.gdb.ui.testIsGdbUIPluginActive">
       
   643             </reference>
       
   644          </enabledWhen>
       
   645       </handler>
       
   646       <handler
       
   647             class="org.eclipse.cdt.dsf.gdb.internal.ui.actions.ReverseStepIntoCommandHandler"
       
   648             commandId="org.eclipse.cdt.dsf.gdb.ui.commands.reverseStepInto">
       
   649          <enabledWhen>
       
   650             <reference
       
   651                   definitionId="org.eclipse.cdt.dsf.gdb.ui.testIsGdbUIPluginActive">
       
   652             </reference>
       
   653          </enabledWhen>
       
   654       </handler>
       
   655       <handler
       
   656             class="org.eclipse.cdt.dsf.gdb.internal.ui.actions.ReverseStepOverCommandHandler"
       
   657             commandId="org.eclipse.cdt.dsf.gdb.ui.commands.reverseStepOver">
       
   658          <enabledWhen>
       
   659             <reference
       
   660                   definitionId="org.eclipse.cdt.dsf.gdb.ui.testIsGdbUIPluginActive">
       
   661             </reference>
       
   662          </enabledWhen>
       
   663       </handler>
       
   664       <handler
       
   665             class="org.eclipse.cdt.dsf.gdb.internal.ui.actions.UncallCommandHandler"
       
   666             commandId="org.eclipse.cdt.dsf.gdb.ui.commands.uncall">
       
   667          <enabledWhen>
       
   668             <reference
       
   669                   definitionId="org.eclipse.cdt.dsf.gdb.ui.testIsGdbUIPluginActive">
       
   670             </reference>
       
   671          </enabledWhen>
       
   672       </handler>
       
   673    </extension>
       
   674    <extension
       
   675          point="org.eclipse.core.expressions.propertyTesters">
       
   676       <propertyTester
       
   677             class="org.eclipse.cdt.dsf.gdb.internal.ui.actions.ReverseDebuggingPropertyTester"
       
   678             id="org.eclipse.cdt.dsf.gdb.ui.selectionReverseDebuggingTester"
       
   679             namespace="org.eclipse.cdt.dsf.gdb.ui"
       
   680             properties="isReverseDebuggingEnabled"
       
   681             type="org.eclipse.cdt.dsf.ui.viewmodel.datamodel.IDMVMContext">
       
   682       </propertyTester>
       
   683       <propertyTester
       
   684             class="org.eclipse.cdt.dsf.gdb.internal.ui.actions.ReverseDebuggingPropertyTester"
       
   685             id="org.eclipse.cdt.dsf.gdb.ui.partReverseDebuggingTester"
       
   686             namespace="org.eclipse.cdt.dsf.gdb.ui"
       
   687             properties="isReverseDebuggingEnabled"
       
   688             type="org.eclipse.ui.IWorkbenchPart">
       
   689       </propertyTester>
       
   690    </extension>
       
   691    <extension
       
   692          point="org.eclipse.ui.preferencePages">
       
   693       <page   
       
   694             category="org.eclipse.cdt.dsf.debug.ui.preferences"
       
   695             class="org.eclipse.cdt.dsf.gdb.internal.ui.preferences.GdbDebugPreferencePage"
       
   696             id="org.eclipse.cdt.dsf.gdb.ui.preferences"
       
   697             name="%gdbPreferencePage.name">
       
   698       </page> 
       
   699    </extension>
       
   700    <extension
       
   701          point="org.eclipse.core.runtime.preferences">
       
   702       <initializer
       
   703             class="org.eclipse.cdt.dsf.gdb.internal.ui.preferences.GdbPreferenceInitializer">
       
   704       </initializer>
       
   705    </extension>
       
   706    
       
   707 </plugin>