欢迎您访问程序员文章站本站旨在为大家提供分享程序员计算机编程知识!
您现在的位置是: 首页

Eclipse常用的视图ID

程序员文章站 2022-03-16 15:09:56
...

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