How to remove views from Windows-->Show View list?

前端 未结 1 414
慢半拍i
慢半拍i 2020-12-22 07:12

I have view which I am setting permanently on my perspective. This view can not be closed and can not be opened from Windows --> show views

I struct to remove View f

相关标签:
1条回答
  • 2020-12-22 07:31

    The view list is filtered by the activities list. So you can define an activity to suppress the view:

    <extension point="org.eclipse.ui.activities">  
      <activity id="activity.id" name="Name">
      </activity>
      <activityPatternBinding
         activityId="activity.id"
         isEqualityPattern="true"
         pattern="plugin.id/view.id">
      </activityPatternBinding>
     </extension>
    

    Note: The pattern value is 'contributing plugin id / view id', a common mistake is leaving out the plugin id.

    0 讨论(0)
提交回复
热议问题