Eclipse plugin eclipse rcp透视扩展显示部分不可见

Eclipse plugin eclipse rcp透视扩展显示部分不可见,eclipse-plugin,eclipse-rcp,Eclipse Plugin,Eclipse Rcp,我想将我的ViewPart添加到显示在组中。我添加了perspectiveExtension并在其下添加了showInPart,当我运行/调试插件时,我的视图不会出现在Show in上下文菜单组中 这是我在plugin.xml中的扩展点 <extension point="org.eclipse.ui.perspectiveExtensions"> <perspectiveExtension targetID="org.eclipse.jdt.ui

我想将我的ViewPart添加到
显示在
组中。我添加了
perspectiveExtension
并在其下添加了
showInPart
,当我运行/调试插件时,我的视图不会出现在
Show in
上下文菜单组中

这是我在
plugin.xml中的扩展点

<extension
     point="org.eclipse.ui.perspectiveExtensions">
  <perspectiveExtension
        targetID="org.eclipse.jdt.ui.JavaPerspective">
     <showInPart
           id="com.ex.views.DebugView">
     </showInPart>
  </perspectiveExtension>
  <perspectiveExtension
        targetID="org.eclipse.ui.resourcePerspective">
     <showInPart
           id="com.ex.views.DebugView">
     </showInPart>
  </perspectiveExtension>
</extension> 


使用Eclipse4.15(虽然也可能是任何4.x),我必须从一个新的工作区开始,这样的更改才能生效。调试Eclipse(在非干净/旧的工作区中)时,更改没有任何效果。

使用Eclipse4.15(虽然也可能是任何4.x),我必须在新的工作区中启动这些更改才能生效。调试Eclipse(在非干净/旧的工作区中)时,更改没有任何效果。

您的视图是否实现了
IShowInTarget
?您是在Java或资源透视图(而不是插件开发透视图)中尝试这一点的吗?您可能需要重置透视图。是,1。DebugView实现了IShowInTarget 2。我在调试的target eclipses your view implement
IShowInTarget
中尝试了Java或Resource透视图?您是在Java或资源透视图(而不是插件开发透视图)中尝试这一点的吗?您可能需要重置透视图。是,1。DebugView实现了IShowInTarget 2。我在调试的目标eclipse中尝试了Java或资源透视图