View 如何在视图中禁用调整大小
我的主窗口如下所示:View 如何在视图中禁用调整大小,view,resize,eclipse-rcp,View,Resize,Eclipse Rcp,我的主窗口如下所示: ____________________________ |Upper View | |___________________________| |Left View|Editor|Right view| | | | | | | | | | | | | 我想让上面的视图不可调整大小 Perspective.cr
____________________________
|Upper View |
|___________________________|
|Left View|Editor|Right view|
| | | |
| | | |
| | | |
我想让上面的视图不可调整大小
Perspective.createInitialLayout是:
layout.addStandaloneView(URLView.ID, false, IPageLayout.TOP, 0f, layout.getEditorArea());
layout.addStandaloneView(ServicesView.ID, false, IPageLayout.LEFT, 0.2f, layout.getEditorArea());
IFolderLayout folder = layout.createFolder("responses", IPageLayout.RIGHT, 0.6f, layout.getEditorArea());
folder.addPlaceholder(ResponseView.ID + ":*");
folder.addView(ResponseView.ID);
layout.getViewLayout(ResponseView.ID).setCloseable(true);
有什么办法吗?
谢谢大家! 要使视图不可调整大小,没有简单的方法。一种可能的方法是引入一个横幅,将该视图的内容放置在此横幅内。我不久前写了一封谢谢你,汤姆。这正是我需要的。