diff --git a/bundles/org.eclipse.core.commands/src/org/eclipse/core/commands/ExecutionEvent.java b/bundles/org.eclipse.core.commands/src/org/eclipse/core/commands/ExecutionEvent.java index 8e8c3cf6799..d55e0ed2573 100644 --- a/bundles/org.eclipse.core.commands/src/org/eclipse/core/commands/ExecutionEvent.java +++ b/bundles/org.eclipse.core.commands/src/org/eclipse/core/commands/ExecutionEvent.java @@ -89,7 +89,7 @@ public ExecutionEvent() { * @deprecated use * {@link ExecutionEvent#ExecutionEvent(Command, Map, Object, Object)} */ - @Deprecated + @Deprecated(forRemoval = true, since = "2025-12") public ExecutionEvent(@SuppressWarnings("rawtypes") final Map parameters, final Object trigger, final Object applicationContext) { this(null, parameters, trigger, applicationContext); diff --git a/bundles/org.eclipse.core.commands/src/org/eclipse/core/commands/ParameterizedCommand.java b/bundles/org.eclipse.core.commands/src/org/eclipse/core/commands/ParameterizedCommand.java index 8eb1cf0cdc4..c01d9f63805 100644 --- a/bundles/org.eclipse.core.commands/src/org/eclipse/core/commands/ParameterizedCommand.java +++ b/bundles/org.eclipse.core.commands/src/org/eclipse/core/commands/ParameterizedCommand.java @@ -63,7 +63,7 @@ public final class ParameterizedCommand implements Comparable { * * @deprecated no longer used */ - @Deprecated + @Deprecated(forRemoval = true, since = "2025-12") public static final int INDEX_PARAMETER_ID = 0; /** @@ -72,7 +72,7 @@ public final class ParameterizedCommand implements Comparable { * * @deprecated no longer used */ - @Deprecated + @Deprecated(forRemoval = true, since = "2025-12") public static final int INDEX_PARAMETER_NAME = 1; /** @@ -81,7 +81,7 @@ public final class ParameterizedCommand implements Comparable { * * @deprecated no longer used */ - @Deprecated + @Deprecated(forRemoval = true, since = "2025-12") public static final int INDEX_PARAMETER_VALUE_NAME = 2; /** @@ -89,7 +89,7 @@ public final class ParameterizedCommand implements Comparable { * * @deprecated no longer used */ - @Deprecated + @Deprecated(forRemoval = true, since = "2025-12") public static final int INDEX_PARAMETER_VALUE_VALUE = 3; /** @@ -450,7 +450,7 @@ public boolean equals(final Object object) { * @deprecated Please use {@link #executeWithChecks(Object, Object)} * instead. */ - @Deprecated + @Deprecated(forRemoval = true, since = "2025-12") public Object execute(final Object trigger, final Object applicationContext) throws ExecutionException, NotHandledException { return command.execute(new ExecutionEvent(command, getParameterMap(), trigger, applicationContext)); diff --git a/bundles/org.eclipse.core.databinding.observable/src/org/eclipse/core/databinding/observable/Diffs.java b/bundles/org.eclipse.core.databinding.observable/src/org/eclipse/core/databinding/observable/Diffs.java index 330e188622f..b13e295d581 100644 --- a/bundles/org.eclipse.core.databinding.observable/src/org/eclipse/core/databinding/observable/Diffs.java +++ b/bundles/org.eclipse.core.databinding.observable/src/org/eclipse/core/databinding/observable/Diffs.java @@ -361,7 +361,7 @@ private static int listIndexOf(List list, Object object, int index) { * false otherwise. * @deprecated Use {@link Objects#equals(Object, Object)} instead */ - @Deprecated + @Deprecated(forRemoval = true, since = "2025-12") public static final boolean equals(final Object left, final Object right) { return Objects.equals(left, right); } diff --git a/bundles/org.eclipse.core.databinding/src/org/eclipse/core/databinding/ObservablesManager.java b/bundles/org.eclipse.core.databinding/src/org/eclipse/core/databinding/ObservablesManager.java index cd0cf49c46a..d3481c96a50 100644 --- a/bundles/org.eclipse.core.databinding/src/org/eclipse/core/databinding/ObservablesManager.java +++ b/bundles/org.eclipse.core.databinding/src/org/eclipse/core/databinding/ObservablesManager.java @@ -123,7 +123,7 @@ public void addContext(DataBindingContext context, boolean trackTargets, boolean * @param runnable the runnable to execute * @since 1.2 */ - @Deprecated(since = "1.11.0") + @Deprecated(forRemoval = true, since = "2025-12") public void runAndCollect(Runnable runnable) { IObservable[] collected = ObservableTracker.runAndCollect(runnable); for (IObservable observable : collected) { diff --git a/bundles/org.eclipse.e4.ui.css.swt/src/org/eclipse/e4/ui/internal/css/swt/ICTabRendering.java b/bundles/org.eclipse.e4.ui.css.swt/src/org/eclipse/e4/ui/internal/css/swt/ICTabRendering.java index 90d20665a23..469e7134c94 100644 --- a/bundles/org.eclipse.e4.ui.css.swt/src/org/eclipse/e4/ui/internal/css/swt/ICTabRendering.java +++ b/bundles/org.eclipse.e4.ui.css.swt/src/org/eclipse/e4/ui/internal/css/swt/ICTabRendering.java @@ -15,7 +15,6 @@ *******************************************************************************/ package org.eclipse.e4.ui.internal.css.swt; -import org.eclipse.core.runtime.ILog; import org.eclipse.swt.graphics.Color; public interface ICTabRendering { @@ -39,18 +38,8 @@ public interface ICTabRendering { void setOuterKeyline(Color color); - @Deprecated(forRemoval = true) - default void setShadowColor(Color color) { - ILog.of(ICTabRendering.class).info("setShadowColor not supported anymore in platform renderer"); - } - void setCornerRadius(int radius); - @Deprecated(forRemoval = true) - default void setShadowVisible(boolean visible) { - ILog.of(ICTabRendering.class).info("setShadowVisible not supported anymore in platform renderer"); - } - /** * Sets whether to use a custom tab background (reusing tab colors and * gradients), or default one from plain CTabFolder (using widget background diff --git a/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/ui/basic/MWizardDialog.java b/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/ui/basic/MWizardDialog.java index 67982e135d5..c782a63cf6c 100644 --- a/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/ui/basic/MWizardDialog.java +++ b/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/ui/basic/MWizardDialog.java @@ -33,6 +33,6 @@ * @model * @generated */ -@Deprecated +@Deprecated(forRemoval = true, since = "2025-12") public interface MWizardDialog extends MDialog { } // MWizardDialog diff --git a/bundles/org.eclipse.e4.ui.progress/src/org/eclipse/e4/ui/progress/internal/ProgressManager.java b/bundles/org.eclipse.e4.ui.progress/src/org/eclipse/e4/ui/progress/internal/ProgressManager.java index fc58ec41eb9..1a395ab7604 100644 --- a/bundles/org.eclipse.e4.ui.progress/src/org/eclipse/e4/ui/progress/internal/ProgressManager.java +++ b/bundles/org.eclipse.e4.ui.progress/src/org/eclipse/e4/ui/progress/internal/ProgressManager.java @@ -67,7 +67,7 @@ public class ProgressManager extends ProgressProvider { * * @deprecated use IProgressConstants#PROPERTY_IN_DIALOG instead */ - @Deprecated + @Deprecated(forRemoval = true, since = "2025-12") public static final QualifiedName PROPERTY_IN_DIALOG = IProgressConstants.PROPERTY_IN_DIALOG; private static final String ERROR_JOB = "errorstate.svg"; //$NON-NLS-1$ @@ -622,7 +622,7 @@ public JobInfo removeJob(Job job) { * @deprecated use the more thread safe {@link #removeJob(Job)} instead. See bug * 558655. */ - @Deprecated + @Deprecated(forRemoval = true, since = "2025-12") public void removeJobInfo(JobInfo info) { removeJob(info.getJob()); } diff --git a/tests/org.eclipse.e4.emf.xpath.test/src/org/eclipse/e4/emf/xpath/test/model/xpathtest/impl/XpathtestFactoryImpl.java b/tests/org.eclipse.e4.emf.xpath.test/src/org/eclipse/e4/emf/xpath/test/model/xpathtest/impl/XpathtestFactoryImpl.java index 2605c912839..764f10f7ca6 100644 --- a/tests/org.eclipse.e4.emf.xpath.test/src/org/eclipse/e4/emf/xpath/test/model/xpathtest/impl/XpathtestFactoryImpl.java +++ b/tests/org.eclipse.e4.emf.xpath.test/src/org/eclipse/e4/emf/xpath/test/model/xpathtest/impl/XpathtestFactoryImpl.java @@ -157,7 +157,7 @@ public XpathtestPackage getXpathtestPackage() { * @deprecated * @generated */ - @Deprecated + @Deprecated(forRemoval = true, since = "2025-12") public static XpathtestPackage getPackage() { return XpathtestPackage.eINSTANCE; }