From 94d0cc07df4b57a57290f65f02f11c1c0547ab70 Mon Sep 17 00:00:00 2001 From: Jonah Graham Date: Tue, 8 Apr 2025 11:49:54 -0400 Subject: [PATCH] Remove use of deprecated constant to allow Platform to delete the constant See https://github.com/eclipse-platform/eclipse.platform/pull/1784#pullrequestreview-2702035505 --- .../cdt/dsf/debug/ui/viewmodel/IDebugVMConstants.java | 5 ++--- 1 file changed, 2 insertions(+), 3 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 9075308c8d4..253998a59d3 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 @@ -17,7 +17,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; +import org.eclipse.debug.ui.IDebugUIConstants; /** * Public constants used in the debug view model. @@ -39,8 +39,7 @@ public interface IDebugVMConstants { * 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; + public static final String COLUMN_ID__EXPRESSION = IDebugUIConstants.COLUMN_ID_VARIABLE_NAME; /** * Property name used to store the selected number format in a