RCP开发之:屏蔽视图(view)关闭按钮
实现很简单,在项目的Perspective类中设置不显示就OK了。
代码如下:
public class Perspective implements IPerspectiveFactory {public void createInitialLayout(IPageLayout layout) {// 屏蔽视图的关闭按钮layout.getViewLayout(UserManagerView.ID).setCloseable(false);}}
?
?
?
?
-------------------工作积累 尹当