Eclipse里几个常用视图的ID
Eclipse提供的几个常用公共视图的ID,在定义perspective时可能会用到,如下:
//Resource Navigator public final static String VIEW_ID_NAVIGATOR = "org.eclipse.ui.views.ResourceNavigator"; //Properties public final static String VIEW_ID_PROPERTIES = "org.eclipse.ui.views.PropertySheet"; //Outline public final static String VIEW_ID_OUTLINE = "org.eclipse.ui.views.ContentOutline";
Update(2007/4/9): Eclipse提供的IPageLayout接口里已经包含了这些ID,直接使用更方便,例如IPageLayout.ID_OUTLINE。