I'm developing a custom Eclipse plugin that makes use of Remote System Explorer (of the Eclipse TM project) under the hoods.
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).