论坛首页 Java企业应用论坛

Eclipse常用的视图ID

浏览 2290 次
精华帖 (0) :: 良好帖 (0) :: 新手帖 (0) :: 隐藏帖 (1)
作者 正文
   发表时间:2009-09-04  
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);
论坛首页 Java企业应用版

跳转论坛:
Global site tag (gtag.js) - Google Analytics