Skip to content

Commit e0fa32b

Browse files
committed
The String PROJECT_OPEN_NEW_PERSPECTIVE = "PROJECT_OPEN_NEW_PERSPECTIVE"
in IWorkbenchPreferenceConstants interface is deprecated and marked for removal and hence it can be replaced with public static final String PROJECT_OPEN_NEW_PERSPECTIVE = "PROJECT_OPEN_NEW_PERSPECTIVE" present in IDE.Preferences. Fixup : effective preference used by the Eclipse IDE is the one under org.eclipse.ui.ide, not the one in org.eclipse.ui. deprecated IWorkbenchPreferenceConstants.PROJECT_OPEN_NEW_PERSPECTIVE no longer influences current project-opening behaviour.
1 parent f7d94e2 commit e0fa32b

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

bundles/org.eclipse.ui/src/org/eclipse/ui/internal/UIPreferenceInitializer.java

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -52,10 +52,6 @@ public void initializeDefaultPreferences() {
5252
node.put(IWorkbenchPreferenceConstants.OPEN_NEW_PERSPECTIVE,
5353
IWorkbenchPreferenceConstants.OPEN_PERSPECTIVE_REPLACE);
5454

55-
// Deprecated but kept for backwards compatibility
56-
node.put(IWorkbenchPreferenceConstants.PROJECT_OPEN_NEW_PERSPECTIVE,
57-
IWorkbenchPreferenceConstants.OPEN_PERSPECTIVE_REPLACE);
58-
5955
// Although there is no longer any item on the preference pages
6056
// for setting the linking preference, since it is now a per-part
6157
// setting, it remains as a preference to allow product overrides of the

0 commit comments

Comments
 (0)