title: How to programmatically update the selected resource for link-with-editor functionality?
body: <p>My Eclipse plugin provides an editor which contains a list of files (as result of a dependency search). When the user selects a file in the list, this file/resource should be highlighted in package/resource explorer.</p>
  
  <p>This could be done easily using the link-with-editor functionality of the explorer view if there was a call like: <code>updateSelectedResource(IResource)</code> that I could call from within my editor to explicity set the active file. What is the actual call?</p>