[英]Eclipse RCP: How to Edit or Delete the “Editor Area” view in helloworld app
Hi this is really bugging me I can't find that View so I can either delete it or use it. 嗨,这真是烦我,我找不到View,所以我可以删除它或使用它。 I can't find it in plugin.xml nor extensions.
我在plugin.xml中找不到它,也没有扩展名。 To know what exactly I'm talking about it's simple : when you create new Hello world project in RCP it's there when you create new view it's still there.
要知道我到底在说什么很简单:当你在RCP中创建新的Hello world项目时,当你创建新视图时它仍然在那里。
Found it !!, 找到了 !!,
In Perspective.java insert this line: 在Perspective.java中插入以下行:
public void createInitialLayout(IPageLayout layout) {
layout.setEditorAreaVisible(false); //line
}
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.