Publishing selection in eclipse RCP
I'm writing an RCP application plug-in. I want to make a set of objects the global selection from a IHandler but this can be triggered from other views out of my control - it is possible that these do not have an ISelectionProvider.
I开发者_开发百科s it possible to publish a selection to the eclipse selection service without going through some view site?
I don't think, its possible. The best you could do is to provide the selection through a view site, and then listen only to the selection of your own view (by creating a special selection listener).
精彩评论