Skip to main content
summaryrefslogtreecommitdiffstats
path: root/dsf
diff options
context:
space:
mode:
authorPawel Piech2011-07-21 14:26:55 -0400
committerPawel Piech2011-07-21 14:30:40 -0400
commit48646a0cbda2b22e427a66848bf18969e32efd7b (patch)
treee16a0dee4eb6631c7c00000df767f844f54cceda /dsf
parentf32349a738936db399fe64cfbf9097f8707e2d34 (diff)
downloadorg.eclipse.cdt-48646a0cbda2b22e427a66848bf18969e32efd7b.tar.gz
org.eclipse.cdt-48646a0cbda2b22e427a66848bf18969e32efd7b.tar.xz
org.eclipse.cdt-48646a0cbda2b22e427a66848bf18969e32efd7b.zip
Bug 352795 - [expressions] Enable in-line editing of expression
activated by File->Rename action.
Diffstat (limited to 'dsf')
-rw-r--r--dsf/org.eclipse.cdt.dsf.ui/src/org/eclipse/cdt/dsf/debug/ui/viewmodel/IDebugVMConstants.java9
1 files changed, 8 insertions, 1 deletions
diff --git a/dsf/org.eclipse.cdt.dsf.ui/src/org/eclipse/cdt/dsf/debug/ui/viewmodel/IDebugVMConstants.java b/dsf/org.eclipse.cdt.dsf.ui/src/org/eclipse/cdt/dsf/debug/ui/viewmodel/IDebugVMConstants.java
index 0a40ba0bd9..7f56cc4795 100644
--- a/dsf/org.eclipse.cdt.dsf.ui/src/org/eclipse/cdt/dsf/debug/ui/viewmodel/IDebugVMConstants.java
+++ b/dsf/org.eclipse.cdt.dsf.ui/src/org/eclipse/cdt/dsf/debug/ui/viewmodel/IDebugVMConstants.java
@@ -14,6 +14,7 @@ import org.eclipse.cdt.dsf.debug.service.IFormattedValues;
import org.eclipse.cdt.dsf.debug.ui.viewmodel.numberformat.FormattedValueVMUtil;
import org.eclipse.cdt.dsf.internal.ui.DsfUIPlugin;
import org.eclipse.cdt.dsf.ui.viewmodel.update.ICachingVMProvider;
+import org.eclipse.debug.internal.ui.elements.adapters.VariableColumnPresentation;
/**
* Public constants used in the debug view model.
@@ -30,7 +31,13 @@ public interface IDebugVMConstants {
public static final String COLUMN_ID__VALUE = DsfUIPlugin.PLUGIN_ID + ".COLUMN_ID__VALUE"; //$NON-NLS-1$
public static final String COLUMN_ID__ADDRESS = DsfUIPlugin.PLUGIN_ID + ".COLUMN_ID__ADDRESS"; //$NON-NLS-1$
public static final String COLUMN_ID__DESCRIPTION = DsfUIPlugin.PLUGIN_ID + ".COLUMN_ID__DESCRIPTION"; //$NON-NLS-1$
- public static final String COLUMN_ID__EXPRESSION = DsfUIPlugin.PLUGIN_ID + ".COLUMN_ID__EXPRESSION"; //$NON-NLS-1$
+
+ /**
+ * Make expression column ID the same as platform's "name" column ID to
+ * enable the File->Rename in-line editing action in the expressions view.
+ */
+ @SuppressWarnings("restriction")
+ public static final String COLUMN_ID__EXPRESSION = VariableColumnPresentation.COLUMN_VARIABLE_NAME;
/**
* Property name used to store the selected number format in a

Back to the top