Warning: file_get_contents(/data/phpspider/zhask/data//catemap/0/windows/15.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
View 如何在视图中禁用调整大小_View_Resize_Eclipse Rcp - Fatal编程技术网

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);
有什么办法吗?
谢谢大家!

要使视图不可调整大小,没有简单的方法。一种可能的方法是引入一个横幅,将该视图的内容放置在此横幅内。我不久前写了一封

谢谢你,汤姆。这正是我需要的。