From f5446675ec88c5c7514fb46e61936dbcfda5142e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Torbj=C3=B6rn=20Svensson?= Date: Wed, 13 Apr 2022 20:32:32 +0200 Subject: [PATCH] Bug 579666: Mark fileds and internal class for removal MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This is the first step towards fixing the dark theme on windows. In order to fix the AbstractPage class, an API breakage is required and this will pave the way to let any sub-classers know that things are about to change. From my point of view, the marked fields and the InternalTab class should never have been part of the API as they are internal to the AbstractPage class that contains proper API methods. Contributed by STMicroelectronics Change-Id: Icfea8c963727718d4dc99e8df916674384dcb532 Signed-off-by: Torbjörn Svensson --- .../src/org/eclipse/cdt/ui/newui/AbstractPage.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/ui/newui/AbstractPage.java b/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/ui/newui/AbstractPage.java index 24e931940ef..f850014110c 100644 --- a/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/ui/newui/AbstractPage.java +++ b/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/ui/newui/AbstractPage.java @@ -175,12 +175,15 @@ public abstract class AbstractPage extends PropertyPage implements IPreferencePa protected boolean isFile = false; // tabs + @Deprecated(forRemoval = true) protected TabFolder folder; + @Deprecated(forRemoval = true) protected ArrayList itabs = new ArrayList<>(); protected ICPropertyTab currentTab; private static boolean isNewOpening = true; + @Deprecated(forRemoval = true) protected class InternalTab { Composite comp; String text;