Skip to content

Commit bbc28ce

Browse files
committed
Mark long deprecated methods in AbstractUIPlugin for removal
These methods are deprecated since a long time and should be marked for removal. This will enable us to delete them after the API deprecation period.
1 parent 176f503 commit bbc28ce

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

bundles/org.eclipse.ui.workbench/eclipseui/org/eclipse/ui/plugin/AbstractUIPlugin.java

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -269,7 +269,7 @@ public IPreferenceStore getPreferenceStore() {
269269
*
270270
* @return IWorkbench the workbench for this plug-in
271271
*/
272-
@Deprecated
272+
@Deprecated(forRemoval = true, since = "2025-03")
273273
public IWorkbench getWorkbench() {
274274
return PlatformUI.getWorkbench();
275275
}
@@ -297,7 +297,7 @@ public IWorkbench getWorkbench() {
297297
* @deprecated this is only called if the runtime compatibility layer is
298298
* present. See {@link #initializeDefaultPluginPreferences}.
299299
*/
300-
@Deprecated
300+
@Deprecated(forRemoval = true, since = "2025-03")
301301
protected void initializeDefaultPreferences(IPreferenceStore store) {
302302
// spec'ed to do nothing
303303
}
@@ -322,7 +322,7 @@ protected void initializeDefaultPreferences(IPreferenceStore store) {
322322
* @see #initializeDefaultPreferences
323323
* @since 2.0
324324
*/
325-
@Deprecated
325+
@Deprecated(forRemoval = true, since = "2025-03")
326326
@Override
327327
protected void initializeDefaultPluginPreferences() {
328328
// N.B. by the time this method is called, the plug-in has a
@@ -372,7 +372,7 @@ protected void initializeImageRegistry(ImageRegistry reg) {
372372
* @deprecated
373373
* @see PlatformUI#getDialogSettingsProvider(Bundle)
374374
*/
375-
@Deprecated
375+
@Deprecated(forRemoval = true, since = "2025-03")
376376
protected void loadDialogSettings() {
377377
PlatformUI.getDialogSettingsProvider(getBundle()).loadDialogSettings();
378378
}
@@ -393,7 +393,7 @@ protected void loadDialogSettings() {
393393
* being initialized. The plug-ins preferences are loaded from the
394394
* file regardless of what this method does.
395395
*/
396-
@Deprecated
396+
@Deprecated(forRemoval = true, since = "2025-03")
397397
protected void loadPreferenceStore() {
398398
// do nothing by default
399399
}
@@ -424,7 +424,7 @@ protected void refreshPluginActions() {
424424
* @deprecated
425425
* @see IDialogSettingsProvider#saveDialogSettings()
426426
*/
427-
@Deprecated
427+
@Deprecated(forRemoval = true, since = "2025-03")
428428
protected void saveDialogSettings() {
429429
PlatformUI.getDialogSettingsProvider(getBundle()).saveDialogSettings();
430430
}
@@ -440,7 +440,7 @@ protected void saveDialogSettings() {
440440
* <code>savePluginPreferences</code>, and exists only for backwards
441441
* compatibility.
442442
*/
443-
@Deprecated
443+
@Deprecated(forRemoval = true, since = "2025-03")
444444
protected void savePreferenceStore() {
445445
savePluginPreferences();
446446
}
@@ -451,7 +451,7 @@ protected void savePreferenceStore() {
451451
*
452452
* It is not called anymore as Eclipse 4.6 removed this plug-in.
453453
*/
454-
@Deprecated
454+
@Deprecated(forRemoval = true, since = "2025-03")
455455
@Override
456456
public void startup() throws CoreException {
457457
// this method no longer does anything
@@ -477,7 +477,7 @@ public void startup() throws CoreException {
477477
* org.eclipse.core.runtime.compatibility plug-in; in contrast, the
478478
* <code>stop</code> method is always called.
479479
*/
480-
@Deprecated
480+
@Deprecated(forRemoval = true, since = "2025-03")
481481
@Override
482482
public void shutdown() throws CoreException {
483483
// this method no longer does anything interesting

0 commit comments

Comments
 (0)