Bug 522373 - Provide a mean to reuse the ShowInSystemExplorer handler for non-resource paths
Summary: Provide a mean to reuse the ShowInSystemExplorer handler for non-resource paths
Status: NEW
Alias: None
Product: Platform
Classification: Eclipse Project
Component: IDE (show other bugs)
Version: 4.8   Edit
Hardware: All All
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Platform-UI-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-09-15 10:52 EDT by Andreas Pakulat CLA
Modified: 2017-09-16 02:07 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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