Skip to content

Commit 7f86b4a

Browse files
authored
Remove use of deprecated constant to allow Platform to delete the constant (#1131)
See eclipse-platform/eclipse.platform#1784 (review)
1 parent a104a4f commit 7f86b4a

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

dsf/org.eclipse.cdt.dsf.ui/src/org/eclipse/cdt/dsf/debug/ui/viewmodel/IDebugVMConstants.java

+2-3
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
import org.eclipse.cdt.dsf.debug.ui.viewmodel.numberformat.FormattedValueVMUtil;
1818
import org.eclipse.cdt.dsf.internal.ui.DsfUIPlugin;
1919
import org.eclipse.cdt.dsf.ui.viewmodel.update.ICachingVMProvider;
20-
import org.eclipse.debug.internal.ui.elements.adapters.VariableColumnPresentation;
20+
import org.eclipse.debug.ui.IDebugUIConstants;
2121

2222
/**
2323
* Public constants used in the debug view model.
@@ -39,8 +39,7 @@ public interface IDebugVMConstants {
3939
* Make expression column ID the same as platform's "name" column ID to
4040
* enable the File->Rename in-line editing action in the expressions view.
4141
*/
42-
@SuppressWarnings("restriction")
43-
public static final String COLUMN_ID__EXPRESSION = VariableColumnPresentation.COLUMN_VARIABLE_NAME;
42+
public static final String COLUMN_ID__EXPRESSION = IDebugUIConstants.COLUMN_ID_VARIABLE_NAME;
4443

4544
/**
4645
* Property name used to store the selected number format in a

0 commit comments

Comments
 (0)