Eclipse 在新窗口中打开2个视图

Eclipse 在新窗口中打开2个视图,eclipse,eclipse-plugin,eclipse-rcp,rcp,Eclipse,Eclipse Plugin,Eclipse Rcp,Rcp,当用户从视图中执行某个操作时,我想打开一个包含额外信息的新窗口。目前,我可以在新窗口中打开一个视图,但无法在同一窗口中在其下方添加第二个视图 EModelService service = (EModelService) getSite().getService(EModelService.class); IViewPart topView = getSite().getPage().showView(topid, "secondid", IWorkbenchPage.VIEW_VISIBLE

当用户从视图中执行某个操作时,我想打开一个包含额外信息的新窗口。目前,我可以在新窗口中打开一个视图,但无法在同一窗口中在其下方添加第二个视图

EModelService service = (EModelService) getSite().getService(EModelService.class);

IViewPart topView = getSite().getPage().showView(topid, "secondid", IWorkbenchPage.VIEW_VISIBLE);
MPart topPart = (MPart) topView .getSite().getService(MPart.class);

IViewPart botView = getSite().getPage().showView(botid, "secondid", IWorkbenchPage.VIEW_VISIBLE);                                   
MPart botPart = (MPart) botView.getSite().getService(MPart.class);

service.detach(topPart, 100, 100, 300, 300);     
service.insert(botPart, topPart, EModelService.BELOW, 1f);
俯视图被分离并放入一个新的(修剪过的)窗口中,但botpart不会在其下方插入到窗口中

有人能告诉我为什么不能插入吗?或者也许有人有更多关于emodelserie应该如何使用的信息

提前谢谢