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

Ste*_*o L 3 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>
Run Code Online (Sandbox Code Playgroud)

并且观点:

<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>
Run Code Online (Sandbox Code Playgroud)

任何建议将受到高度赞赏.

xon*_*ned 6

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

单击顶部菜单:Preferences - > Reset Perspective.

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