[英]Get selected remote file via Remote System Explorer (RSE)'s API?
I'm developing a custom Eclipse plugin that makes use of Remote System Explorer (of the Eclipse TM project ) under the hoods. 我正在开发一个自定义的Eclipse插件,该插件在后台使用了Eclipse TM项目的Remote System Explorer。
My question is, how can I grab the currently selected remote file from my own plugin? 我的问题是,如何从自己的插件中获取当前选择的远程文件 ? I suppose there is some convenience method somewhere, but I can't find it (or I found a number of close matches, but couldn't get anything to work).
我想某个地方有一些便捷方法,但是我找不到(或者我找到了很多接近的比赛,但是什么也没用)。
Sounds like you need to make use of the selection service. 听起来您需要利用选择服务。 There is an article here that will help.
这里有一篇文章会有所帮助。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.