Skip to content

Commit cdb9599

Browse files
committed
This change marks several deprecated, unused methods, constants for
removal.
1 parent 5c642d1 commit cdb9599

File tree

12 files changed

+13
-42
lines changed

12 files changed

+13
-42
lines changed

bundles/org.eclipse.e4.ui.services/src/org/eclipse/e4/ui/services/IServiceConstants.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ public interface IServiceConstants {
3434
*
3535
* @noreference This field is not intended to be referenced by clients.
3636
*/
37-
@Deprecated
37+
@Deprecated(forRemoval = true, since = "2025-12")
3838
public static final String SELECTION = ACTIVE_SELECTION;
3939

4040
/**

bundles/org.eclipse.e4.ui.services/src/org/eclipse/e4/ui/services/IStylingEngine.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ public interface IStylingEngine {
3030
* @deprecated please use IStylingEngine.class or
3131
* IStylingEngine.class.getName() for context access
3232
*/
33-
@Deprecated
33+
@Deprecated(forRemoval = true, since = "2025-12")
3434
public static final String SERVICE_NAME = IStylingEngine.class.getName();
3535

3636
public void setClassname(Object widget, String classname);

bundles/org.eclipse.e4.ui.workbench/src/org/eclipse/e4/ui/workbench/IPresentationEngine.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,7 @@ public interface IPresentationEngine {
217217
*
218218
* @deprecated not supported in the Eclipse platform anymore
219219
*/
220-
@Deprecated
220+
@Deprecated(forRemoval = true, since = "2025-12")
221221
String ANIMATIONS_ENABLED = "Animations Enabled"; //$NON-NLS-1$
222222

223223
/**

bundles/org.eclipse.e4.ui.workbench/src/org/eclipse/e4/ui/workbench/modeling/ESelectionService.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ public interface ESelectionService {
2929
* {@link IServiceConstants#ACTIVE_SELECTION}. All clients of this API should change their
3030
* references to <code>IServiceConstants.ACTIVE_SELECTION</code>.
3131
*/
32-
@Deprecated
32+
@Deprecated(forRemoval = true, since = "2025-12")
3333
public static final String SELECTION = IServiceConstants.ACTIVE_SELECTION; // "in.selection";
3434

3535
/**

bundles/org.eclipse.e4.ui.workbench/src/org/eclipse/e4/ui/workbench/modeling/IModelProcessorContribution.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ public interface IModelProcessorContribution {
5252
* {@link Beforefragment @Beforefragment(true|false)} component
5353
* property type
5454
*/
55-
@Deprecated(forRemoval = true, since = "1.16")
55+
@Deprecated(forRemoval = true, since = "2025-12")
5656
String BEFORE_FRAGMENT_PROPERTY_PREFIX = "beforefragment:Boolean="; //$NON-NLS-1$
5757

5858
/**
@@ -88,7 +88,7 @@ public interface IModelProcessorContribution {
8888
* @deprecated Instead annotate the component with the {@link Apply @Apply(&lt;
8989
* a-value &gt;)} component property type
9090
*/
91-
@Deprecated(forRemoval = true, since = "1.16")
91+
@Deprecated(forRemoval = true, since = "2025-12")
9292
String APPLY_PROPERTY_PREFIX = "apply="; //$NON-NLS-1$
9393

9494
/**

bundles/org.eclipse.ltk.core.refactoring/src/org/eclipse/ltk/core/refactoring/participants/ProcessorBasedRefactoring.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ protected boolean internalProcessOnCancel(Change change) {
138138
*
139139
* @deprecated use {@link #ProcessorBasedRefactoring(RefactoringProcessor)} instead
140140
*/
141-
@Deprecated
141+
@Deprecated(forRemoval= true, since= "2025-12")
142142
protected ProcessorBasedRefactoring() {
143143
}
144144

bundles/org.eclipse.ltk.ui.refactoring/src/org/eclipse/ltk/ui/refactoring/RedoRefactoringAction.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@
5252
*
5353
* @noextend This class is not intended to be subclassed by clients.
5454
*/
55-
@Deprecated
55+
@Deprecated(forRemoval = true, since = "2025-12")
5656
public class RedoRefactoringAction extends UndoManagerAction {
5757

5858
private int fPatternLength;

bundles/org.eclipse.ltk.ui.refactoring/src/org/eclipse/ltk/ui/refactoring/RefactoringUI.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ public static Composite createSortableRefactoringHistoryControl(Composite parent
174174
* @deprecated use {@link PerformChangeOperation#PerformChangeOperation(Change)}.
175175
* Since 3.1, undo batching is implemented in {@link TextChange}.
176176
*/
177-
@Deprecated
177+
@Deprecated(forRemoval = true, since = "2025-12")
178178
public static PerformChangeOperation createUIAwareChangeOperation(Change change) {
179179
return new PerformChangeOperation(change);
180180
}

bundles/org.eclipse.ltk.ui.refactoring/src/org/eclipse/ltk/ui/refactoring/RefactoringWizard.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ public abstract class RefactoringWizard extends Wizard {
114114
/**
115115
* @deprecated Use {@link #DIALOG_BASED_USER_INTERFACE} instead.
116116
*/
117-
@Deprecated
117+
@Deprecated(forRemoval = true, since = "2025-12")
118118
public static final int DIALOG_BASED_UESR_INTERFACE= DIALOG_BASED_USER_INTERFACE;
119119

120120
/**
@@ -356,7 +356,7 @@ public final Change getChange() {
356356
* @deprecated {@link #WIZARD_BASED_USER_INTERFACE} always shows a '?' button.
357357
* To show the button with {@link #DIALOG_BASED_USER_INTERFACE}, add the {@link #SHOW_HELP_CONTROL} flag.
358358
*/
359-
@Deprecated
359+
@Deprecated(forRemoval = true, since = "2025-12")
360360
@Override
361361
public void setHelpAvailable(boolean b) {
362362
super.setHelpAvailable(b);

bundles/org.eclipse.ltk.ui.refactoring/src/org/eclipse/ltk/ui/refactoring/UndoRefactoringAction.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@
5252
*
5353
* @noextend This class is not intended to be subclassed by clients.
5454
*/
55-
@Deprecated
55+
@Deprecated(forRemoval = true, since = "2025-12")
5656
public class UndoRefactoringAction extends UndoManagerAction {
5757

5858
private int fPatternLength;

0 commit comments

Comments
 (0)