Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Kurtakov2019-10-10 17:26:19 -0400
committerAlexander Kurtakov2019-10-10 17:26:19 -0400
commit9f37660751b5b6c5198ed3e2063e5b5bac7c0938 (patch)
treeb0bafcf6eca12e2ccf0946cf64b67d567182afb7
parent3317465cdfcb40e4e80cf981ed642a5c18bc983d (diff)
downloadorg.eclipse.cdt-9f37660751b5b6c5198ed3e2063e5b5bac7c0938.tar.gz
org.eclipse.cdt-9f37660751b5b6c5198ed3e2063e5b5bac7c0938.tar.xz
org.eclipse.cdt-9f37660751b5b6c5198ed3e2063e5b5bac7c0938.zip
Navigator view is scheduled for removal.
Get rid of it in user visible places for now. Change-Id: If887dce5de1a9a23a8fa2a55445b632b31ba6401 Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
-rw-r--r--core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/CPerspectiveFactory.java2
-rw-r--r--core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/cview/CView.java2
2 files changed, 1 insertions, 3 deletions
diff --git a/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/CPerspectiveFactory.java b/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/CPerspectiveFactory.java
index 7dd9a2fbbb..bd6e13d89f 100644
--- a/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/CPerspectiveFactory.java
+++ b/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/CPerspectiveFactory.java
@@ -42,7 +42,6 @@ public class CPerspectiveFactory implements IPerspectiveFactory {
IFolderLayout folder1 = layout.createFolder("topLeft", IPageLayout.LEFT, (float) 0.25, editorArea); //$NON-NLS-1$
folder1.addView(ProjectExplorer.VIEW_ID);
folder1.addPlaceholder(CUIPlugin.CVIEW_ID);
- folder1.addPlaceholder(IPageLayout.ID_RES_NAV);
folder1.addPlaceholder(IPageLayout.ID_BOOKMARKS);
IFolderLayout folder2 = layout.createFolder("bottom", IPageLayout.BOTTOM, (float) 0.75, editorArea); //$NON-NLS-1$
@@ -68,7 +67,6 @@ public class CPerspectiveFactory implements IPerspectiveFactory {
layout.addShowViewShortcut(IPageLayout.ID_OUTLINE);
layout.addShowViewShortcut(IPageLayout.ID_PROBLEM_VIEW);
layout.addShowViewShortcut(CUIPlugin.CVIEW_ID);
- layout.addShowViewShortcut(IPageLayout.ID_RES_NAV);
layout.addShowViewShortcut(IPageLayout.ID_PROP_SHEET);
layout.addShowViewShortcut(IPageLayout.ID_TASK_LIST);
diff --git a/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/cview/CView.java b/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/cview/CView.java
index d4f2e4e312..9d93a813d9 100644
--- a/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/cview/CView.java
+++ b/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/cview/CView.java
@@ -1039,6 +1039,6 @@ public class CView extends ViewPart
@Override
public String[] getShowInTargetIds() {
- return new String[] { IPageLayout.ID_RES_NAV };
+ return new String[] { IPageLayout.ID_PROJECT_EXPLORER };
}
}

Back to the top