|
280 | 280 | helpContextId="move_to_line_action_context"
|
281 | 281 | label="%GlobalMoveToLineAction.label"
|
282 | 282 | menubarPath="org.eclipse.ui.run/stepGroup"/>
|
283 |
| - <action |
284 |
| - class="org.eclipse.cdt.debug.internal.ui.actions.ToggleInstructionStepModeActionDelegate" |
285 |
| - helpContextId="toggle_instruction_step_mode_action_context" |
286 |
| - icon="icons/elcl16/instr_step.gif" |
287 |
| - id="org.eclipse.cdt.debug.ui.actions.ToggleInstructionStepMode" |
288 |
| - label="%ToggleInstructionStepModeAction.label" |
289 |
| - menubarPath="org.eclipse.ui.run/stepGroup" |
290 |
| - state="false" |
291 |
| - style="toggle" |
292 |
| - toolbarPath="org.eclipse.debug.ui.main.toolbar/renderGroup"> |
293 |
| - </action> |
294 | 283 | </actionSet>
|
295 | 284 | </extension>
|
296 | 285 | <extension
|
|
340 | 329 |
|
341 | 330 | <extension
|
342 | 331 | point="org.eclipse.ui.popupMenus">
|
343 |
| - <viewerContribution |
344 |
| - targetID="org.eclipse.debug.ui.DebugView" |
345 |
| - id="org.eclipse.cdt.debug.ui.debugview.popupMenu"> |
346 |
| - <action |
347 |
| - state="false" |
348 |
| - style="toggle" |
349 |
| - id="org.eclipse.cdt.debug.internal.ui.actions.ToggleInstructionStepModeActionDelegate" |
350 |
| - class="org.eclipse.cdt.debug.internal.ui.actions.ToggleInstructionStepModeActionDelegate" |
351 |
| - icon="icons/elcl16/instr_step.gif" |
352 |
| - helpContextId="toggle_instruction_step_mode_action_context" |
353 |
| - label="%ToggleInstructionStepModeAction.label" |
354 |
| - menubarPath="renderGroup" |
355 |
| - tooltip="%ToggleInstructionStepModeAction.tooltip"> |
356 |
| - <enablement> |
357 |
| - <pluginState |
358 |
| - value="activated" |
359 |
| - id="org.eclipse.cdt.debug.ui"> |
360 |
| - </pluginState> |
361 |
| - </enablement> |
362 |
| - </action> |
363 |
| - </viewerContribution> |
364 | 332 | <viewerContribution
|
365 | 333 | targetID="#CEditorRulerContext"
|
366 | 334 | id="org.eclipse.cdt.debug.ui.CEditorRulerActions">
|
|
675 | 643 | </extension>
|
676 | 644 | <extension
|
677 | 645 | point="org.eclipse.ui.viewActions">
|
678 |
| - <viewContribution |
679 |
| - targetID="org.eclipse.debug.ui.DebugView" |
680 |
| - id="org.eclipse.cdt.debug.ui.debugview.toolbar"> |
681 |
| - <action |
682 |
| - state="false" |
683 |
| - style="toggle" |
684 |
| - id="org.eclipse.cdt.debug.internal.ui.actions.ToggleInstructionStepModeActionDelegate" |
685 |
| - toolbarPath="renderGroup" |
686 |
| - class="org.eclipse.cdt.debug.internal.ui.actions.ToggleInstructionStepModeActionDelegate" |
687 |
| - disabledIcon="icons/dlcl16/instr_step.gif" |
688 |
| - icon="icons/elcl16/instr_step.gif" |
689 |
| - label="%ToggleInstructionStepModeAction.label" |
690 |
| - helpContextId="toggle_instruction_step_mode_action_context" |
691 |
| - tooltip="%ToggleInstructionStepModeAction.tooltip"> |
692 |
| - <enablement> |
693 |
| - <pluginState |
694 |
| - value="activated" |
695 |
| - id="org.eclipse.cdt.debug.ui"> |
696 |
| - </pluginState> |
697 |
| - </enablement> |
698 |
| - </action> |
699 |
| - </viewContribution> |
700 | 646 | <viewContribution
|
701 | 647 | targetID="org.eclipse.debug.ui.DebugView"
|
702 | 648 | id="org.eclipse.cdt.debug.ui.debugView.menu">
|
|
1379 | 1325 | id="org.eclipse.debug.ui.actions.BreakpointTypesContribution"
|
1380 | 1326 | class="org.eclipse.debug.ui.actions.BreakpointTypesContribution">
|
1381 | 1327 | </dynamic>
|
1382 |
| - </menu> |
1383 |
| - </menuContribution> |
1384 |
| - |
| 1328 | + </menu> |
| 1329 | + </menuContribution> |
| 1330 | + <menuContribution |
| 1331 | + allPopups="false" |
| 1332 | + locationURI="toolbar:org.eclipse.debug.ui.DebugView?after=additions"> |
| 1333 | + <command |
| 1334 | + commandId="org.eclipse.cdt.debug.internal.ui.actions.ToggleInstructionStepModeCommand" |
| 1335 | + disabledIcon="icons/dlcl16/instr_step.gif" |
| 1336 | + helpContextId="toggle_instruction_step_mode_action_context" |
| 1337 | + icon="icons/elcl16/instr_step.gif" |
| 1338 | + label="%ToggleInstructionStepModeAction.label" |
| 1339 | + style="toggle" |
| 1340 | + tooltip="%ToggleInstructionStepModeAction.tooltip"> |
| 1341 | + <visibleWhen |
| 1342 | + checkEnabled="false"> |
| 1343 | + <test |
| 1344 | + property="org.eclipse.cdt.debug.ui.isCDTDebugging"> |
| 1345 | + </test> |
| 1346 | + </visibleWhen> |
| 1347 | + </command> |
| 1348 | + </menuContribution> |
| 1349 | + <menuContribution |
| 1350 | + allPopups="false" |
| 1351 | + locationURI="popup:org.eclipse.debug.ui.DebugView?after=renderGroup"> |
| 1352 | + <command |
| 1353 | + commandId="org.eclipse.cdt.debug.internal.ui.actions.ToggleInstructionStepModeCommand" |
| 1354 | + disabledIcon="icons/dlcl16/instr_step.gif" |
| 1355 | + helpContextId="toggle_instruction_step_mode_action_context" |
| 1356 | + icon="icons/elcl16/instr_step.gif" |
| 1357 | + label="%ToggleInstructionStepModeAction.label" |
| 1358 | + style="toggle" |
| 1359 | + tooltip="%ToggleInstructionStepModeAction.tooltip"> |
| 1360 | + <visibleWhen |
| 1361 | + checkEnabled="false"> |
| 1362 | + <test |
| 1363 | + property="org.eclipse.cdt.debug.ui.isCDTDebugging"> |
| 1364 | + </test> |
| 1365 | + </visibleWhen> |
| 1366 | + </command> |
| 1367 | + </menuContribution> |
| 1368 | + <menuContribution |
| 1369 | + allPopups="false" |
| 1370 | + locationURI="menu:org.eclipse.ui.run?endof=stepGroup"> |
| 1371 | + <command |
| 1372 | + commandId="org.eclipse.cdt.debug.internal.ui.actions.ToggleInstructionStepModeCommand" |
| 1373 | + disabledIcon="icons/dlcl16/instr_step.gif" |
| 1374 | + helpContextId="toggle_instruction_step_mode_action_context" |
| 1375 | + icon="icons/elcl16/instr_step.gif" |
| 1376 | + label="%ToggleInstructionStepModeAction.label" |
| 1377 | + style="toggle" |
| 1378 | + tooltip="%ToggleInstructionStepModeAction.tooltip"> |
| 1379 | + <visibleWhen |
| 1380 | + checkEnabled="false"> |
| 1381 | + <test |
| 1382 | + property="org.eclipse.cdt.debug.ui.isCDTDebugging"> |
| 1383 | + </test> |
| 1384 | + </visibleWhen> |
| 1385 | + </command> |
| 1386 | + </menuContribution> |
| 1387 | + <menuContribution |
| 1388 | + allPopups="false" |
| 1389 | + locationURI="toolbar:org.eclipse.debug.ui.main.toolbar?after=renderGroup"> |
| 1390 | + <command |
| 1391 | + commandId="org.eclipse.cdt.debug.internal.ui.actions.ToggleInstructionStepModeCommand" |
| 1392 | + disabledIcon="icons/dlcl16/instr_step.gif" |
| 1393 | + helpContextId="toggle_instruction_step_mode_action_context" |
| 1394 | + icon="icons/elcl16/instr_step.gif" |
| 1395 | + label="%ToggleInstructionStepModeAction.label" |
| 1396 | + style="toggle" |
| 1397 | + tooltip="%ToggleInstructionStepModeAction.tooltip"> |
| 1398 | + <visibleWhen |
| 1399 | + checkEnabled="false"> |
| 1400 | + <test |
| 1401 | + property="org.eclipse.cdt.debug.ui.isCDTDebugging"> |
| 1402 | + </test> |
| 1403 | + </visibleWhen> |
| 1404 | + </command> |
| 1405 | + </menuContribution> |
| 1406 | + |
1385 | 1407 | </extension>
|
1386 | 1408 | <extension
|
1387 | 1409 | point="org.eclipse.core.runtime.adapters">
|
|
1660 | 1682 | id="org.eclipse.cdt.debug.ui.command.loadAllSymbols"
|
1661 | 1683 | name="%LoadSymbolsForAllAction.label">
|
1662 | 1684 | </command>
|
| 1685 | + <command |
| 1686 | + id="org.eclipse.cdt.debug.internal.ui.actions.ToggleInstructionStepModeCommand" |
| 1687 | + name="%ToggleInstructionStepModeAction.label"> |
| 1688 | + <state |
| 1689 | + class="org.eclipse.ui.handlers.RegistryToggleState:false" |
| 1690 | + id="org.eclipse.ui.commands.toggleState"> |
| 1691 | + </state> |
| 1692 | + </command> |
1663 | 1693 | </extension>
|
1664 | 1694 | <extension
|
1665 | 1695 | point="org.eclipse.ui.handlers">
|
|
1737 | 1767 | </with>
|
1738 | 1768 | </and>
|
1739 | 1769 | </enabledWhen>
|
1740 |
| - </handler> |
| 1770 | + </handler> |
| 1771 | + <handler |
| 1772 | + class="org.eclipse.cdt.debug.internal.ui.commands.ToggleInstructionStepModeHandler" |
| 1773 | + commandId="org.eclipse.cdt.debug.internal.ui.actions.ToggleInstructionStepModeCommand"> |
| 1774 | + </handler> |
1741 | 1775 | </extension>
|
1742 | 1776 | <extension
|
1743 | 1777 | point="org.eclipse.core.expressions.definitions">
|
|
2564 | 2598 | properties="createBreakpointAdapt"
|
2565 | 2599 | type="org.eclipse.cdt.debug.ui.breakpoints.ICBreakpointContext">
|
2566 | 2600 | </propertyTester>
|
| 2601 | + <propertyTester |
| 2602 | + class="org.eclipse.cdt.debug.internal.ui.actions.CDTDebugPropertyTester" |
| 2603 | + id="org.eclipse.cdt.debug.CDTDebugPropertyTester" |
| 2604 | + namespace="org.eclipse.cdt.debug.ui" |
| 2605 | + properties="isCDTDebugging" |
| 2606 | + type="java.lang.Object"> |
| 2607 | + </propertyTester> |
2567 | 2608 | </extension>
|
2568 | 2609 | <extension
|
2569 | 2610 | point="org.eclipse.launchbar.ui.launchBarUIContributions">
|
|
0 commit comments