开发者

Marker Support Extension Point enabled only for a concrete Perspective

开发者 https://www.devze.com 2023-03-06 06:30 出处:网络
We have developed our own perspective, and we want to limit all shown markers so they fit our own Project Explorer content provider, which contains a subset of all project files and folders.

We have developed our own perspective, and we want to limit all shown markers so they fit our own Project Explorer content provider, which contains a subset of all project files and folders. We have already added an org.eclipse.ui.ide.markerSupport to plugin extension points, but we found this markers content configuration applies to all perspectives.

Is there a way to enable this configuration only for our perspective? As a first aproximation, we have added our content provider to PerspectiveListeners, so we will be able to do something (already don't know what) when our perspective changes or activates. This may not be the correct or simplest way to start, so any help would be very 开发者_C百科apreciated.

Thanks in advance!


The markers are not tied with perspectives. So all the markers will be available in all the perspectives. There are no plans to do that, so you are on your own.

0

精彩评论

暂无评论...
验证码 换一张
取 消