CUIPlugin.CVIEW_ID
IPageLayout.ID_RES_NAV
IPageLayout.ID_BOOKMARKS
IConsoleConstants.ID_CONSOLE_VIEW
IPageLayout.ID_PROP_SHEET
IPageLayout.ID_PROBLEM_VIEW
IPageLayout.ID_OUTLINE
layout.addActionSet(CUIPlugin.SEARCH_ACTION_SET_ID);
//layout.addActionSet(IDebugUIConstants.LAUNCH_ACTION_SET);
//layout.addActionSet(JavaUI.ID_ACTION_SET);
layout.addActionSet(CUIPlugin.ID_CELEMENT_CREATION_ACTION_SET);
layout.addActionSet(IPageLayout.ID_NAVIGATE_ACTION_SET);
// views - build console
layout.addShowViewShortcut(IConsoleConstants.ID_CONSOLE_VIEW);
// views - searching
layout.addShowViewShortcut(NewSearchUI.SEARCH_VIEW_ID);
// views - standard workbench
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);
// link - things we should do
layout.addShowInPart(CUIPlugin.CVIEW_ID);
layout.addShowInPart(IPageLayout.ID_RES_NAV);
Eclipse常用的视图ID
最新推荐文章于 2020-04-11 21:22:01 发布