Eclipse RCP视图没有显示在应用程序的启动 [英] Eclipse RCP View doesn't show up on application's startup
问题描述
我现在面临这个问题大约一个小时,我不知道我做错了什么。
您是否在我的plugin.xml代码中看到错误?
< extension
point = org.eclipse.ui.perspectiveExtensions>新新新新旗新新新新旗新新旗200新新200 200 200 200 200 200 200 CE 200 200 200 200 200 200 CE 200 200 200 200 200 200 CE 200 200 200 200旗新1992 200 200新新Version 200 200 200 200新新新旗200 200旗新1992:
< view
closeable =true
id =de.tps.client.inboxplusplus.views.inboxplusplusview
minimize =false
moveable = true
ratio =0.3
relationship =bottom
relative =de.tps.client.iteminfo.view
showTitle =false
standalone =false
visible =true>
< / view>
< / perspectiveExtension>
而视图: p>
< extension
point =org.eclipse.ui.views>
< view
allowMultiple =false
category =com.contmgmt.client.category
class =de.tps.client.inboxplusplus.views.Inboxplusplusview
id =de.tps.client.inboxplusplus.views.inboxplusplusview
name =%view.inbox.name
restorable =true>
< / view>
任何建议将被高度赞赏X- 200454545 X- 20045 X- 20045 X-454545 X-454545 X-454545新新新新新新新旗新新旗新新旗新新旗新新旗新新旗新新旗新新旗新新旗新新旗新新旗新新旗我想你需要重新设置透视图,因为没有这个视图的旧布局被保存。
点击顶部菜单:首选项 - >重置透视图。 / p>
此信息存储在: $ workspace / .metadata / .plugins / org.eclipse.ui.workbench / workbench.xml
I'm facing this issue for about an hour now and I don't know what I'm doing wrong. Do you see the error in my plugin.xml code?
<extension
point="org.eclipse.ui.perspectiveExtensions">
<perspectiveExtension
targetID="de.tps.client.workspace.perspective">
<view
closeable="true"
id="de.tps.client.inboxplusplus.views.inboxplusplusview"
minimized="false"
moveable="true"
ratio="0.3"
relationship="bottom"
relative="de.tps.client.iteminfo.view"
showTitle="false"
standalone="false"
visible="true">
</view>
</perspectiveExtension>
And the view:
<extension
point="org.eclipse.ui.views">
<view
allowMultiple="false"
category="com.contmgmt.client.category"
class="de.tps.client.inboxplusplus.views.Inboxplusplusview"
id="de.tps.client.inboxplusplus.views.inboxplusplusview"
name="%view.inbox.name"
restorable="true">
</view>
Any advice will be highly appreciated.
For me it work's fine. I guess you'll need to reset the perspective, because the old layout without this view is saved.
Click on the top-menu: Preferences -> Reset Perspective.
This information is stored in: $workspace/.metadata/.plugins/org.eclipse.ui.workbench/workbench.xml
这篇关于Eclipse RCP视图没有显示在应用程序的启动的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!