Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDarin Wright2002-06-11 15:06:29 -0400
committerDarin Wright2002-06-11 15:06:29 -0400
commitf75ea18806dfea7aba3462bd27566d66c7843aba (patch)
tree021ae608194332c36a100ee870d22bf9b00a9c34 /org.eclipse.debug.ui
parent912306960259058a0ea49a438e49bde91a26b6e3 (diff)
downloadeclipse.platform.debug-f75ea18806dfea7aba3462bd27566d66c7843aba.tar.gz
eclipse.platform.debug-f75ea18806dfea7aba3462bd27566d66c7843aba.tar.xz
eclipse.platform.debug-f75ea18806dfea7aba3462bd27566d66c7843aba.zip
bug 19740
Diffstat (limited to 'org.eclipse.debug.ui')
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/views/variables/VariablesView.java7
1 files changed, 6 insertions, 1 deletions
diff --git a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/views/variables/VariablesView.java b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/views/variables/VariablesView.java
index bfa3eecc9..2406576c2 100644
--- a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/views/variables/VariablesView.java
+++ b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/views/variables/VariablesView.java
@@ -514,6 +514,12 @@ public class VariablesView extends AbstractDebugEventHandlerView implements ISel
textAction.setDisabledImageDescriptor(DebugPluginImages.getImageDescriptor(IDebugUIConstants.IMG_DLCL_CONTENT_ASSIST));
setAction("ContentAssist", textAction); //$NON-NLS-1$
+ // XXX: hook the "java" content assist action - this is a hack to get content
+ // assist to work with the retargetable content assist action in the java UI
+ getViewSite().getActionBars().setGlobalActionHandler("org.eclipse.jdt.ui.actions.ContentAssist", textAction);
+ // Also hook CTRL-Space in case the java UI is not loaded/available
+ addVerifyKeyListener();
+
textAction= new TextViewerAction(getDetailViewer(), getDetailViewer().getTextOperationTarget().SELECT_ALL);
textAction.configureAction(DebugUIViewsMessages.getString("VariablesView.Select_&All_5"), "", ""); //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$
setAction(DETAIL_SELECT_ALL_ACTION, textAction);
@@ -539,7 +545,6 @@ public class VariablesView extends AbstractDebugEventHandlerView implements ISel
fSelectionActions.add(ITextEditorActionConstants.PASTE);
updateAction(ITextEditorActionConstants.FIND);
- addVerifyKeyListener();
// set initial content here, as viewer has to be set
setInitialContent();
}

Back to the top