![](/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.