Bug 522373

Summary: Provide a mean to reuse the ShowInSystemExplorer handler for non-resource paths
Product: [Eclipse Project] Platform Reporter: Andreas Pakulat <andreas>
Component: IDEAssignee: Platform-UI-Inbox <Platform-UI-Inbox>
Status: NEW --- QA Contact:
Severity: enhancement    
Priority: P3 CC: loskutov
Version: 4.8   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:

Description Andreas Pakulat CLA 2017-09-15 10:52:26 EDT
I have a view which (among other things) contains references to local filesystem paths and I'd like my users to be able to go to those locations with their system 'explorer'. Unfortunately the handler class currently requires an IResource to be available and does not expose any of its logic in a way that would allow to re-use it.

I think it would be great if the logic, from the point where a 'File' instance is being used to actually open the explorer, would be moved to a utility function. Alternatively I'd be happy if the handler would allow to pass local filesystem paths via another parameter such that it can be re-used by invoking it from another handler with that parameter set.
Comment 1 Andrey Loskutov CLA 2017-09-16 02:07:29 EDT
https://wiki.eclipse.org/Platform_UI/How_to_Contribute