From ad1473feef72d66a68b62087800f3cc8c5b73aeb Mon Sep 17 00:00:00 2001 From: Jonah Graham Date: Sun, 17 Apr 2022 15:00:03 -0400 Subject: [PATCH] Bug 579666: Mark parts of AbstractPage API for deletion Change-Id: Iddade3b1a1fb848703d87ee9d1d3233bd6ab55ed --- .../eclipse/cdt/ui/newui/AbstractPage.java | 37 ++++++++++++++++ .../guide/deprecated_API_removals.html | 42 +++++++++++++++++-- 2 files changed, 75 insertions(+), 4 deletions(-) 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 77d4a301515..cbb6e1d1055 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 @@ -167,22 +167,59 @@ public abstract class AbstractPage extends PropertyPage implements IPreferencePa /* * Bookeeping variables */ + /** + * @deprecated This field was never meant to be API. This field will be made private. + */ + @Deprecated(forRemoval = true) protected boolean noContentOnPage = false; + /** + * @deprecated This field was never meant to be API. This field will be made private. + */ + @Deprecated(forRemoval = true) protected boolean displayedConfig = false; + /** + * @deprecated This field was never meant to be API. This field will be made private. + */ + @Deprecated(forRemoval = true) protected IResource internalElement = null; + /** + * @deprecated This field was never meant to be API. This field will be made private. + */ + @Deprecated(forRemoval = true) protected boolean isProject = false; + /** + * @deprecated This field was never meant to be API. This field will be made private. + */ + @Deprecated(forRemoval = true) protected boolean isFolder = false; + /** + * @deprecated This field was never meant to be API. This field will be made private. + */ + @Deprecated(forRemoval = true) protected boolean isFile = false; // tabs + /** + * @deprecated This field was never meant to be API. This field will be made private. + */ @Deprecated(forRemoval = true) protected TabFolder folder; + /** + * @deprecated This field was never meant to be API. This field will be made private. + */ @Deprecated(forRemoval = true) protected ArrayList itabs = new ArrayList<>(); + /** + * @deprecated This field was never meant to be API. This field will be made private. + */ + @Deprecated(forRemoval = true) protected ICPropertyTab currentTab; private static boolean isNewOpening = true; + /** + * @deprecated This class was never meant to be API. This class will be made private. + */ @Deprecated(forRemoval = true) protected class InternalTab { Composite comp; diff --git a/doc/org.eclipse.cdt.doc.isv/guide/deprecated_API_removals.html b/doc/org.eclipse.cdt.doc.isv/guide/deprecated_API_removals.html index 461f30947bd..d9b94e83247 100644 --- a/doc/org.eclipse.cdt.doc.isv/guide/deprecated_API_removals.html +++ b/doc/org.eclipse.cdt.doc.isv/guide/deprecated_API_removals.html @@ -48,14 +48,14 @@
  • ICPPASTDeductionGuide and ICPPASTParameterListOwner removed in CDT 10.0.1
  • - Planned Removals after June 2022 + Planned Removals after June 2022 or on the next major version of Eclipe CDT.

    1. 32-bit Binary parsers with 64-bit replacements
    2. BaudRate enum in org.eclipse.cdt.serial

    - Planned Removals after June 2023 + Planned Removals after June 2023 or on the next major version of Eclipe CDT.

    1. Rework of API to determine GDB command line in org.eclipse.cdt.dsf.gdb
    2. @@ -64,18 +64,24 @@
    3. Changed methods from static to non-static

    - Planned Removals after December 2023 + Planned Removals after December 2023 or on the next major version of Eclipe CDT.

    1. GnuMakefileGenerator is no longer part of API
    2. The Spawner signal constants are nolonger API

    - Planned Removals after March 2024 + Planned Removals after March 2024 or on the next major version of Eclipe CDT.

    1. java.util.regex.Matcher use in JSONCDB API will be removed
    +

    + Planned Removals after June 2024 or on the next major version of Eclipe CDT. +

    +
      +
    1. org.eclipse.cdt.ui.newui.AbstractPage reduced visibility of many fields
    2. +

    API Changes prior to CDT 10.0 / 2020-09. @@ -547,6 +553,34 @@ See Bug 578683.

    +

    API Removals after June 2024

    + +

    1. org.eclipse.cdt.ui.newui.AbstractPage reduced visibility of many fields

    +

    + The following fields will be removed from the API of org.eclipse.cdt.ui.newui.AbstractPage as they were never intended to be accessible by the design. As far as the current CDT developers know, no one is using this API. +

    + +

    + In addition, the following inner class wil be removed from the API. +

    +

    +

    + See Bug 579666. +

    + +