Eclipse RCP View不会显示在应用程序的启动上

时间:2013-05-27 11:46:22

标签: eclipse-plugin eclipse-rcp

我现在面对这个问题大约一个小时,我不知道我做错了什么。 你在我的plugin.xml代码中看到了错误吗?

<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>

观点:

<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>

任何建议都将受到高度赞赏。

1 个答案:

答案 0 :(得分:6)

对我而言,它的工作很好。我猜您需要重置透视图,因为没有此视图的旧布局会被保存。

点击顶部菜单:偏好设置 - &gt;重置视角。

此信息存储在:$workspace/.metadata/.plugins/org.eclipse.ui.workbench/workbench.xml