开发者

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).

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜