简体   繁体   English

通过远程系统资源管理器(RSE)的API获取选定的远程文件?

[英]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.

相关问题 使用Eclipse的RSE插件更新远程文件 - Update remote File using Eclipse's RSE Plugin 我在哪里可以下载 eclipse RSE(远程系统资源管理器)离线插件? - Where can I download for eclipse RSE ( Remote System Explorer ) offline plugin? 代码完成不适用于远程文件(使用 RSE) - Code Completion not working with remote file (with RSE) 如何使用Eclipse的Remote System Explorer获得自动完成和项目结构? - How to get autocomplete and project structure using Eclipse's Remote System Explorer? 在 Eclipse Kepler 中安装远程系统资源管理器 - Installing Remote System Explorer in Eclipse Kepler Eclipse CDT + RSE + PTP:如何使用远程索引建立同步的远程项目? - Eclipse CDT+RSE+PTP: how to set up a synchronized remote project with remote indexing? 使用从Amazon ec2获得的公钥将Eclipse RSE与远程Linux服务器连接 - Connect Eclipse RSE with remote Linux server using public key attained from Amazon ec2 如何从Eclipse的Package Explorer中获取所选文件 - How to get selected file in Package Explorer from Eclipse 如何使用“Remote System Explorer最终用户运行时”Eclipse插件和.pem私钥连接到SFTP服务器? - How can I connect to a SFTP server using the “Remote System Explorer End-User Runtime” Eclipse plugin and a .pem private key? 在 Eclipse 平台的 System Explorer 中显示的 API 是什么 - What is the API for Show in System Explorer in Eclipse Platform
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM