Quantcast
Channel: Samuel's Tech Blog - planet bioclipse
Viewing all articles
Browse latest Browse all 12

Opening a remote file selection dialog with the RSE for Eclipse

$
0
0

This was easier than expected. Helped by the RSE File UI API Docs and this forum post, I figured out how to do:

SystemRemoteFileDialog dialog =new SystemRemoteFileDialog(SystemBasePlugin.getActiveWorkbenchShell());
dialog.open(); 
IRemoteFile file =(IRemoteFile) dialog.getSelectedObject();System.out.println("Selected file's absolute path: "+ file.getAbsolutePath());

Now also committed!

Update: Using proper interface for dealing with remote files (commit).

read more


Viewing all articles
Browse latest Browse all 12

Trending Articles