Skip to main content
aboutsummaryrefslogtreecommitdiffstats
path: root/debug
diff options
context:
space:
mode:
authorAlexander Kurtakov2019-10-10 21:28:09 +0000
committerAlexander Kurtakov2019-10-10 21:28:09 +0000
commit8fff462f9530451c2e4d22b0374abd29ae5fb19f (patch)
tree4e484e59d81919be1eeabd15c594de4d78135a09 /debug
parent9f37660751b5b6c5198ed3e2063e5b5bac7c0938 (diff)
downloadorg.eclipse.cdt-8fff462f9530451c2e4d22b0374abd29ae5fb19f.tar.gz
org.eclipse.cdt-8fff462f9530451c2e4d22b0374abd29ae5fb19f.tar.xz
org.eclipse.cdt-8fff462f9530451c2e4d22b0374abd29ae5fb19f.zip
Use non-deprecated command constants.
Change-Id: I637c9167149ec9137c0ae5db69528b842424984c Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
Diffstat (limited to 'debug')
-rw-r--r--debug/org.eclipse.cdt.debug.ui/src/org/eclipse/cdt/debug/internal/ui/views/modules/ModuleDetailPane.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/debug/org.eclipse.cdt.debug.ui/src/org/eclipse/cdt/debug/internal/ui/views/modules/ModuleDetailPane.java b/debug/org.eclipse.cdt.debug.ui/src/org/eclipse/cdt/debug/internal/ui/views/modules/ModuleDetailPane.java
index 03acaf51829..f86aeb821ca 100644
--- a/debug/org.eclipse.cdt.debug.ui/src/org/eclipse/cdt/debug/internal/ui/views/modules/ModuleDetailPane.java
+++ b/debug/org.eclipse.cdt.debug.ui/src/org/eclipse/cdt/debug/internal/ui/views/modules/ModuleDetailPane.java
@@ -58,11 +58,11 @@ import org.eclipse.swt.widgets.Composite;
import org.eclipse.swt.widgets.Control;
import org.eclipse.swt.widgets.Menu;
import org.eclipse.ui.IWorkbenchActionConstants;
+import org.eclipse.ui.IWorkbenchCommandConstants;
import org.eclipse.ui.PlatformUI;
import org.eclipse.ui.actions.ActionFactory;
import org.eclipse.ui.console.actions.TextViewerAction;
import org.eclipse.ui.progress.WorkbenchJob;
-import org.eclipse.ui.texteditor.IWorkbenchActionDefinitionIds;
/**
*
@@ -307,14 +307,14 @@ public class ModuleDetailPane extends AbstractDetailPane implements IAdaptable,
TextViewerAction textAction = new TextViewerAction(fSourceViewer, ITextOperationTarget.SELECT_ALL);
textAction.configureAction("Select &All", "", ""); //$NON-NLS-2$ //$NON-NLS-3$
- textAction.setActionDefinitionId(IWorkbenchActionDefinitionIds.SELECT_ALL);
+ textAction.setActionDefinitionId(IWorkbenchCommandConstants.EDIT_SELECT_ALL);
PlatformUI.getWorkbench().getHelpSystem().setHelp(textAction,
ICDebugHelpContextIds.MODULE_DETAIL_PANE_SELECT_ALL_ACTION);
setAction(DETAIL_SELECT_ALL_ACTION, textAction);
textAction = new TextViewerAction(fSourceViewer, ITextOperationTarget.COPY);
textAction.configureAction("&Copy", "", ""); //$NON-NLS-2$ //$NON-NLS-3$
- textAction.setActionDefinitionId(IWorkbenchActionDefinitionIds.COPY);
+ textAction.setActionDefinitionId(IWorkbenchCommandConstants.EDIT_COPY);
PlatformUI.getWorkbench().getHelpSystem().setHelp(textAction,
ICDebugHelpContextIds.MODULE_DETAIL_PANE_COPY_ACTION);
setAction(DETAIL_COPY_ACTION, textAction);

Back to the top