Java IFolderLayout addView打开文件夹源代码

Java IFolderLayout addView打开文件夹源代码,java,eclipse,eclipse-plugin,Java,Eclipse,Eclipse Plugin,我通过IFolderLayout将文件夹添加到底部区域的addView(),如下所示。有没有办法将文件夹作为源文件打开,而不是用鼠标单击 IFolderLayout left = layout.createFolder("left", IPageLayout.LEFT, 0.25F, layout.getEditorArea()); left.addView(JavaUI.ID_PACKAGES);

我通过
IFolderLayout
将文件夹添加到底部区域的
addView()
,如下所示。有没有办法将文件夹作为源文件打开,而不是用鼠标单击

IFolderLayout left = layout.createFolder("left", IPageLayout.LEFT, 0.25F, layout.getEditorArea());
    left.addView(JavaUI.ID_PACKAGES);                                                   
    left.addView("org.eclipse.ui.views.ResourceNavigator");                             

    // Bottom
    IFolderLayout bottom = layout.createFolder("bottom", IPageLayout.BOTTOM, 0.75F, layout.getEditorArea());
    bottom.addView(IPageLayout.ID_PROBLEM_VIEW);                                        // problems
    bottom.addView(IConsoleConstants.ID_CONSOLE_VIEW);                                  // console
    bottom.addView("org.eclipse.wst.server.ui.ServersView");                            // servers
    bottom.addView("org.eclipse.search.ui.views.SearchView");                           // search

您所说的“作为源打开文件夹”是什么意思?用鼠标单击文件夹进入视图。以源代码替换这些事件。抱歉,我仍然不理解您所说的“以源代码替换这些事件”是什么意思。请回答您的问题,并更详细地解释您想做什么。谢谢您的关注。添加图像。我想问的是,如何像单击一样查看底部区域,而不是像图像中的红色框那样单击底部区域。如果您的意思是不希望视图最初显示,则使用
addPlaceholder
而不是
addView
来定义视图打开时的位置。