1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-04-29 19:45:01 +02:00

Remove use of deprecated constant to allow Platform to delete the constant (#1131)

See https://github.com/eclipse-platform/eclipse.platform/pull/1784#pullrequestreview-2702035505
This commit is contained in:
Jonah Graham 2025-04-23 14:11:39 -04:00 committed by GitHub
parent a104a4f88d
commit 7f86b4a76c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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