From 72a3cc59be4fa016a399b40ce08825852a1c2335 Mon Sep 17 00:00:00 2001 From: Andrew Gvozdev Date: Mon, 22 Nov 2010 15:42:38 +0000 Subject: [PATCH] bug 274684: Indicators of string list modes for multi-configuration edits look like debug texts --- .../src/org/eclipse/cdt/ui/newui/CDTPrefUtil.java | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/ui/newui/CDTPrefUtil.java b/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/ui/newui/CDTPrefUtil.java index 4d4abe17f90..b21244e0025 100644 --- a/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/ui/newui/CDTPrefUtil.java +++ b/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/ui/newui/CDTPrefUtil.java @@ -115,7 +115,11 @@ public class CDTPrefUtil { setStr(KEY_PREFTC, b.toString().trim()); } + /** + * @deprecated Use {@link StringListModeControl} to display string list modes. + */ @SuppressWarnings("fallthrough") + @Deprecated public static String getDMode() { String s = null; switch(getInt(KEY_DMODE)) { @@ -132,7 +136,11 @@ public class CDTPrefUtil { return Messages.EnvironmentTab_19 + s; } + /** + * @deprecated Use {@link StringListModeControl} to display string list modes. + */ @SuppressWarnings("fallthrough") + @Deprecated public static String getWMode() { String s = null; switch(getInt(KEY_WMODE)) {