![](/img/trans.png)
[英]Eclipse RCP - Open a View in the Editor Area (3.8/e4 hybrid)
[英]Eclipse RCP: How to Edit or Delete the “Editor Area” view in helloworld app
嗨,这真是烦我,我找不到View,所以我可以删除它或使用它。 我在plugin.xml中找不到它,也没有扩展名。 要知道我到底在说什么很简单:当你在RCP中创建新的Hello world项目时,当你创建新视图时它仍然在那里。
找到了 !!,
在Perspective.java中插入以下行:
public void createInitialLayout(IPageLayout layout) {
layout.setEditorAreaVisible(false); //line
}
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.