1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-04-22 06:02:11 +02:00

Remove reference to Navigator view that has been removed

The long deprecated for removal navigator view has been removed
from upcoming Eclipse Platform.

I don't know if there are other locations in CDT that are affected,
but this change covers the compilation failure of the removal.

xref: https://github.com/eclipse-platform/eclipse.platform.ui/issues/644
This commit is contained in:
Jonah Graham 2023-04-02 16:33:16 -04:00
parent 5cc606f29e
commit 47275c3884
2 changed files with 2 additions and 4 deletions

View file

@ -2,7 +2,7 @@ Manifest-Version: 1.0
Bundle-ManifestVersion: 2
Bundle-Name: %pluginName
Bundle-SymbolicName: org.eclipse.cdt.ui; singleton:=true
Bundle-Version: 8.0.100.qualifier
Bundle-Version: 8.0.200.qualifier
Bundle-Activator: org.eclipse.cdt.ui.CUIPlugin
Bundle-Vendor: %providerName
Bundle-Localization: plugin

View file

@ -1568,10 +1568,8 @@ public class CEditor extends TextEditor
} else if (adapterClass.isAssignableFrom(IShowInTargetList.class)) {
return (T) new IShowInTargetList() {
@Override
@SuppressWarnings("deprecation")
public String[] getShowInTargetIds() {
return new String[] { IPageLayout.ID_PROJECT_EXPLORER, IPageLayout.ID_OUTLINE,
IPageLayout.ID_RES_NAV };
return new String[] { IPageLayout.ID_PROJECT_EXPLORER, IPageLayout.ID_OUTLINE };
}
};
} else if (adapterClass.isAssignableFrom(IShowInSource.class)) {