From b844c875779131f405a1f922c307a8e4527d6581 Mon Sep 17 00:00:00 2001 From: Paul Verest Date: Tue, 22 Sep 2015 18:35:53 +0800 Subject: [PATCH] add TernExplorer view https://github.com/angelozerr/tern.java/issues/289 --- .../src/org/nodeclipse/ui/perspectives/NodePerspective.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/org.nodeclipse.ui/src/org/nodeclipse/ui/perspectives/NodePerspective.java b/org.nodeclipse.ui/src/org/nodeclipse/ui/perspectives/NodePerspective.java index d3aa0194..42831524 100644 --- a/org.nodeclipse.ui/src/org/nodeclipse/ui/perspectives/NodePerspective.java +++ b/org.nodeclipse.ui/src/org/nodeclipse/ui/perspectives/NodePerspective.java @@ -23,6 +23,7 @@ public class NodePerspective implements IPerspectiveFactory { public static final String ID_GFM_VIEW = "code.satyagraha.gfm.viewer.views.GfmView"; public static final String ID_DEBUG_VIEW = "org.eclipse.debug.ui.DebugView"; public static final String ID_LOG_VIEW = "org.eclipse.pde.runtime.LogView"; + public static final String ID_TERN_EXPLORER_VIEW = "tern.eclipse.ide.ui.views.TernExplorerView"; private IPageLayout factory; @@ -69,6 +70,7 @@ private void addViews() { IFolderLayout rightTopRight = factory.createFolder("rightTopRight", IPageLayout.RIGHT, 0.75f, factory.getEditorArea()); rightTopRight.addView(IPageLayout.ID_OUTLINE); + rightTopRight.addView(ID_TERN_EXPLORER_VIEW); rightTopRight.addView(IPageLayout.ID_TASK_LIST); }