Skip to content

Commit e900fff

Browse files
deepika-uelsazac
authored andcommitted
Mark removal for unused deprecated methods/constants/classes in
org.eclipse.ui.texteditor
1 parent aa146c3 commit e900fff

19 files changed

+45
-45
lines changed

bundles/org.eclipse.ui.workbench.texteditor/src/org/eclipse/ui/texteditor/AbstractDocumentProvider.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@ public void documentAboutToBeChanged(DocumentEvent event) {
177177
* @since 2.0
178178
* @deprecated As of 3.6, replaced by {@link Status#OK_STATUS}
179179
*/
180-
@Deprecated
180+
@Deprecated(forRemoval = true, since = "2025-12")
181181
static final protected IStatus STATUS_OK= new Status(IStatus.OK, TextEditorPlugin.PLUGIN_ID, IStatus.OK, EditorMessages.AbstractDocumentProvider_ok, null);
182182

183183
/**

bundles/org.eclipse.ui.workbench.texteditor/src/org/eclipse/ui/texteditor/AbstractTextEditor.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2043,7 +2043,7 @@ private int computeOffsetAtLocation(ITextViewer textViewer, int x, int y) {
20432043
*
20442044
* @deprecated As of 2.1, replaced by {@link JFaceResources#TEXT_FONT}
20452045
*/
2046-
@Deprecated
2046+
@Deprecated(forRemoval = true, since = "2025-12")
20472047
public static final String PREFERENCE_FONT = JFaceResources.TEXT_FONT;
20482048
/**
20492049
* Key used to look up foreground color preference. Value:

bundles/org.eclipse.ui.workbench.texteditor/src/org/eclipse/ui/texteditor/AnnotationPreference.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -486,7 +486,7 @@ public Object getAnnotationType() {
486486
* @return the marker type, or <code>null</code> if none is set
487487
* @deprecated since 3.0
488488
*/
489-
@Deprecated
489+
@Deprecated(forRemoval = true, since = "2025-12")
490490
public String getMarkerType() {
491491
return fMarkerType;
492492
}
@@ -497,7 +497,7 @@ public String getMarkerType() {
497497
* @return the marker severity
498498
* @deprecated since 3.0
499499
*/
500-
@Deprecated
500+
@Deprecated(forRemoval = true, since = "2025-12")
501501
public int getSeverity() {
502502
return fSeverity;
503503
}

bundles/org.eclipse.ui.workbench.texteditor/src/org/eclipse/ui/texteditor/FindNextAction.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ public FindNextAction(ResourceBundle bundle, String prefix, IWorkbenchPart workb
122122
*
123123
* @deprecated use FindReplaceAction(ResourceBundle, String, IWorkbenchPart, boolean) instead
124124
*/
125-
@Deprecated
125+
@Deprecated(forRemoval = true, since = "2025-12")
126126
public FindNextAction(ResourceBundle bundle, String prefix, IWorkbenchWindow workbenchWindow, boolean forward) {
127127
super(bundle, prefix);
128128
fWorkbenchWindow= workbenchWindow;

bundles/org.eclipse.ui.workbench.texteditor/src/org/eclipse/ui/texteditor/FindReplaceAction.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -349,7 +349,7 @@ public FindReplaceAction(ResourceBundle bundle, String prefix, Shell shell, IFin
349349
*
350350
* @deprecated use FindReplaceAction(ResourceBundle, String, IWorkbenchPart) instead
351351
*/
352-
@Deprecated
352+
@Deprecated(forRemoval = true, since = "2025-12")
353353
public FindReplaceAction(ResourceBundle bundle, String prefix, IWorkbenchWindow workbenchWindow) {
354354
super(bundle, prefix);
355355
fWorkbenchWindow= workbenchWindow;

bundles/org.eclipse.ui.workbench.texteditor/src/org/eclipse/ui/texteditor/HyperlinkDetectorDescriptor.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ private HyperlinkDetectorDescriptor(IConfigurationElement element) {
9191
* @throws CoreException if a failure occurred during creation
9292
* @deprecated As of 3.9, replaced by {@link #createHyperlinkDetectorImplementation()}
9393
*/
94-
@Deprecated
94+
@Deprecated(forRemoval = true, since = "2025-12")
9595
public AbstractHyperlinkDetector createHyperlinkDetector() throws CoreException {
9696
return (AbstractHyperlinkDetector)createHyperlinkDetectorImplementation();
9797
}

bundles/org.eclipse.ui.workbench.texteditor/src/org/eclipse/ui/texteditor/IAbstractTextEditorHelpContextIds.java

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -222,22 +222,22 @@ public interface IAbstractTextEditorHelpContextIds {
222222
* Value: <code>"org.eclipse.ui.bookmark_action_context"</code>
223223
* @deprecated in 3.0 Use <code>org.eclipse.ui.texteditor.ITextEditorHelpContextIds.BOOKMARK_ACTION</code> instead.
224224
*/
225-
@Deprecated
225+
@Deprecated(forRemoval = true, since = "2025-12")
226226
String BOOKMARK_ACTION= PREFIX + IWorkbenchActionConstants.BOOKMARK + ACTION_POSTFIX;
227227

228228
/**
229229
* Help context id for the action.
230230
* Value: <code>"org.eclipse.ui.addTask_action_context"</code>
231231
* @deprecated in 3.0 Use <code>org.eclipse.ui.texteditor.ITextEditorHelpContextIds.ADD_TASK_ACTION</code> instead.
232232
*/
233-
@Deprecated
233+
@Deprecated(forRemoval = true, since = "2025-12")
234234
String ADD_TASK_ACTION= PREFIX + IWorkbenchActionConstants.ADD_TASK + ACTION_POSTFIX;
235235

236236
/**
237237
* Help context id for the action. Value: <code>"org.eclipse.ui.save_action_context"</code>
238238
* @deprecated As of 3.5, no longer used
239239
*/
240-
@Deprecated
240+
@Deprecated(forRemoval = true, since = "2025-12")
241241
String SAVE_ACTION= PREFIX + ITextEditorActionConstants.SAVE + ACTION_POSTFIX;
242242

243243
/**
@@ -264,7 +264,7 @@ public interface IAbstractTextEditorHelpContextIds {
264264
* @since 2.0
265265
* @deprecated since 3.1. No longer supported as editor actions.
266266
*/
267-
@Deprecated
267+
@Deprecated(forRemoval = true, since = "2025-12")
268268
String CONVERT_LINE_DELIMITERS_TO_WINDOWS= PREFIX + ITextEditorActionConstants.CONVERT_LINE_DELIMITERS_TO_WINDOWS + ACTION_POSTFIX;
269269

270270
/**
@@ -273,7 +273,7 @@ public interface IAbstractTextEditorHelpContextIds {
273273
* @since 2.0
274274
* @deprecated since 3.1. No longer supported as editor actions.
275275
*/
276-
@Deprecated
276+
@Deprecated(forRemoval = true, since = "2025-12")
277277
String CONVERT_LINE_DELIMITERS_TO_UNIX= PREFIX + ITextEditorActionConstants.CONVERT_LINE_DELIMITERS_TO_UNIX + ACTION_POSTFIX;
278278

279279
/**
@@ -282,7 +282,7 @@ public interface IAbstractTextEditorHelpContextIds {
282282
* @since 2.0
283283
* @deprecated since 3.1 No longer supported as editor actions.
284284
*/
285-
@Deprecated
285+
@Deprecated(forRemoval = true, since = "2025-12")
286286
String CONVERT_LINE_DELIMITERS_TO_MAC= PREFIX + ITextEditorActionConstants.CONVERT_LINE_DELIMITERS_TO_MAC + ACTION_POSTFIX;
287287

288288
/**

bundles/org.eclipse.ui.workbench.texteditor/src/org/eclipse/ui/texteditor/ITextEditorActionDefinitionIds.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -393,23 +393,23 @@ public interface ITextEditorActionDefinitionIds extends IWorkbenchActionDefiniti
393393
* Value: <code>"org.eclipse.ui.edit.text.convert.lineDelimiters.toWindows"</code>
394394
* @deprecated since 3.1. No longer supported as editor actions.
395395
*/
396-
@Deprecated
396+
@Deprecated(forRemoval = true, since = "2025-12")
397397
String CONVERT_LINE_DELIMITERS_TO_WINDOWS= "org.eclipse.ui.edit.text.convert.lineDelimiters.toWindows"; //$NON-NLS-1$
398398

399399
/**
400400
* Action definition id of the edit convert to Unix line delimiter action.
401401
* Value: <code>"org.eclipse.ui.edit.text.convert.lineDelimiters.toUNIX"</code>
402402
* @deprecated since 3.1. No longer supported as editor actions.
403403
*/
404-
@Deprecated
404+
@Deprecated(forRemoval = true, since = "2025-12")
405405
String CONVERT_LINE_DELIMITERS_TO_UNIX= "org.eclipse.ui.edit.text.convert.lineDelimiters.toUNIX"; //$NON-NLS-1$
406406

407407
/**
408408
* Action definition id of the edit convert to Mac line delimiter action.
409409
* Value: <code>"org.eclipse.ui.edit.text.convert.lineDelimiters.toMac"</code>
410410
* @deprecated since 3.1. No longer supported as editor actions.
411411
*/
412-
@Deprecated
412+
@Deprecated(forRemoval = true, since = "2025-12")
413413
String CONVERT_LINE_DELIMITERS_TO_MAC= "org.eclipse.ui.edit.text.convert.lineDelimiters.toMac"; //$NON-NLS-1$
414414

415415

bundles/org.eclipse.ui.workbench.texteditor/src/org/eclipse/ui/texteditor/IWorkbenchActionDefinitionIds.java

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ public interface IWorkbenchActionDefinitionIds {
3636
*
3737
* @deprecated As of 3.5, replaced by {@link IWorkbenchCommandConstants#FILE_PRINT}
3838
*/
39-
@Deprecated
39+
@Deprecated(forRemoval = true, since = "2025-12")
4040
public static final String PRINT= IWorkbenchCommandConstants.FILE_PRINT;
4141

4242
/**
@@ -45,7 +45,7 @@ public interface IWorkbenchActionDefinitionIds {
4545
*
4646
* @deprecated As of 3.5, no longer used
4747
*/
48-
@Deprecated
48+
@Deprecated(forRemoval = true, since = "2025-12")
4949
public static final String SAVE= IWorkbenchCommandConstants.FILE_SAVE;
5050

5151
/**
@@ -54,7 +54,7 @@ public interface IWorkbenchActionDefinitionIds {
5454
*
5555
* @deprecated As of 3.4, replaced by {@link #REVERT}
5656
*/
57-
@Deprecated
57+
@Deprecated(forRemoval = true, since = "2025-12")
5858
public static final String REVERT_TO_SAVED= "org.eclipse.ui.edit.revertToSaved"; //$NON-NLS-1$
5959

6060
/**
@@ -64,7 +64,7 @@ public interface IWorkbenchActionDefinitionIds {
6464
* @since 3.4
6565
* @deprecated As of 3.5, replaced by {@link IWorkbenchCommandConstants#FILE_REVERT}
6666
*/
67-
@Deprecated
67+
@Deprecated(forRemoval = true, since = "2025-12")
6868
public static final String REVERT= IWorkbenchCommandConstants.FILE_REVERT;
6969

7070
/**
@@ -74,7 +74,7 @@ public interface IWorkbenchActionDefinitionIds {
7474
* @deprecated As of 3.5, replaced by {@link IWorkbenchCommandConstants#FILE_PROPERTIES}
7575
* @since 3.1
7676
*/
77-
@Deprecated
77+
@Deprecated(forRemoval = true, since = "2025-12")
7878
public static final String PROPERTIES= IWorkbenchCommandConstants.FILE_PROPERTIES;
7979

8080

@@ -86,7 +86,7 @@ public interface IWorkbenchActionDefinitionIds {
8686
*
8787
* @deprecated As of 3.5, replaced by {@link IWorkbenchCommandConstants#EDIT_CUT}
8888
*/
89-
@Deprecated
89+
@Deprecated(forRemoval = true, since = "2025-12")
9090
public static final String CUT= IWorkbenchCommandConstants.EDIT_CUT;
9191

9292
/**
@@ -95,7 +95,7 @@ public interface IWorkbenchActionDefinitionIds {
9595
*
9696
* @deprecated As of 3.5, replaced by {@link IWorkbenchCommandConstants#EDIT_COPY}
9797
*/
98-
@Deprecated
98+
@Deprecated(forRemoval = true, since = "2025-12")
9999
public static final String COPY= IWorkbenchCommandConstants.EDIT_COPY;
100100

101101
/**
@@ -104,7 +104,7 @@ public interface IWorkbenchActionDefinitionIds {
104104
*
105105
* @deprecated As of 3.5, replaced by {@link IWorkbenchCommandConstants#EDIT_PASTE}
106106
*/
107-
@Deprecated
107+
@Deprecated(forRemoval = true, since = "2025-12")
108108
public static final String PASTE= IWorkbenchCommandConstants.EDIT_PASTE;
109109

110110
/**
@@ -113,7 +113,7 @@ public interface IWorkbenchActionDefinitionIds {
113113
*
114114
* @deprecated As of 3.5, replaced by {@link IWorkbenchCommandConstants#EDIT_UNDO}
115115
*/
116-
@Deprecated
116+
@Deprecated(forRemoval = true, since = "2025-12")
117117
public static final String UNDO= IWorkbenchCommandConstants.EDIT_UNDO;
118118

119119
/**
@@ -122,7 +122,7 @@ public interface IWorkbenchActionDefinitionIds {
122122
*
123123
* @deprecated As of 3.5, replaced by {@link IWorkbenchCommandConstants#EDIT_REDO}
124124
*/
125-
@Deprecated
125+
@Deprecated(forRemoval = true, since = "2025-12")
126126
public static final String REDO= IWorkbenchCommandConstants.EDIT_REDO;
127127

128128
/**
@@ -131,7 +131,7 @@ public interface IWorkbenchActionDefinitionIds {
131131
*
132132
* @deprecated As of 3.5, replaced by {@link IWorkbenchCommandConstants#EDIT_DELETE}
133133
*/
134-
@Deprecated
134+
@Deprecated(forRemoval = true, since = "2025-12")
135135
public static final String DELETE= IWorkbenchCommandConstants.EDIT_DELETE;
136136

137137
/**
@@ -140,7 +140,7 @@ public interface IWorkbenchActionDefinitionIds {
140140
*
141141
* @deprecated As of 3.5, replaced by {@link IWorkbenchCommandConstants#EDIT_SELECT_ALL}
142142
*/
143-
@Deprecated
143+
@Deprecated(forRemoval = true, since = "2025-12")
144144
public static final String SELECT_ALL= IWorkbenchCommandConstants.EDIT_SELECT_ALL;
145145

146146
/**
@@ -149,7 +149,7 @@ public interface IWorkbenchActionDefinitionIds {
149149
*
150150
* @deprecated As of 3.5, replaced by {@link IWorkbenchCommandConstants#EDIT_FIND_AND_REPLACE}
151151
*/
152-
@Deprecated
152+
@Deprecated(forRemoval = true, since = "2025-12")
153153
public static final String FIND_REPLACE= IWorkbenchCommandConstants.EDIT_FIND_AND_REPLACE;
154154

155155
/**
@@ -158,7 +158,7 @@ public interface IWorkbenchActionDefinitionIds {
158158
*
159159
* @deprecated As of 3.5, replaced by {@link IWorkbenchCommandConstants#EDIT_ADD_BOOKMARK}
160160
*/
161-
@Deprecated
161+
@Deprecated(forRemoval = true, since = "2025-12")
162162
public static final String ADD_BOOKMARK= IWorkbenchCommandConstants.EDIT_ADD_BOOKMARK;
163163

164164
/**
@@ -167,7 +167,7 @@ public interface IWorkbenchActionDefinitionIds {
167167
*
168168
* @deprecated As of 3.5, replaced by {@link IWorkbenchCommandConstants#EDIT_ADD_TASK}
169169
*/
170-
@Deprecated
170+
@Deprecated(forRemoval = true, since = "2025-12")
171171
public static final String ADD_TASK= IWorkbenchCommandConstants.EDIT_ADD_TASK;
172172

173173
/**
@@ -177,7 +177,7 @@ public interface IWorkbenchActionDefinitionIds {
177177
* @since 3.0
178178
* @deprecated As of 3.5, replaced by {@link IWorkbenchCommandConstants#FILE_MOVE}
179179
*/
180-
@Deprecated
180+
@Deprecated(forRemoval = true, since = "2025-12")
181181
public static final String MOVE= IWorkbenchCommandConstants.FILE_MOVE;
182182

183183
/**
@@ -187,7 +187,7 @@ public interface IWorkbenchActionDefinitionIds {
187187
* @since 3.0
188188
* @deprecated As of 3.5, replaced by {@link IWorkbenchCommandConstants#FILE_RENAME}
189189
*/
190-
@Deprecated
190+
@Deprecated(forRemoval = true, since = "2025-12")
191191
public static final String RENAME= IWorkbenchCommandConstants.FILE_RENAME;
192192

193193

bundles/org.eclipse.ui.workbench.texteditor/src/org/eclipse/ui/texteditor/IncrementalFindAction.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ public IncrementalFindAction(ResourceBundle bundle, String prefix, IWorkbenchPar
8383
* @deprecated use FindReplaceAction(ResourceBundle, String, IWorkbenchPart, boolean) instead
8484
* @since 2.1
8585
*/
86-
@Deprecated
86+
@Deprecated(forRemoval = true, since = "2025-12")
8787
public IncrementalFindAction(ResourceBundle bundle, String prefix, IWorkbenchWindow workbenchWindow, boolean forward) {
8888
super(bundle, prefix);
8989
fWorkbenchWindow= workbenchWindow;

0 commit comments

Comments
 (0)