質問

I am developing an Eclipse RCP application and I have custom markers that I display on a diagnostics view. I want the filtering in my diagnostics view to affect the markers as well (if I hide the warnings in my view I want the warnings markers not to be displayed in the editor). Is it possible to hide the markers from the editor without actually deleting them?

役に立ちましたか?

解決

Show/hide marker(annotation) can be done in the preference page. You could try programmatically change the warning marker state in the preference store when hiding warnings in the view. Refer to http://www.vogella.com/tutorials/EclipsePreferences/article.html

ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top