Bug 160860
Summary: | RFE: Add ability to launch external editors on resources based on Freedesktop.org mime actions specification | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Dave Malcolm <dmalcolm> |
Component: | eclipse | Assignee: | Alexander Kurtakov <akurtako> |
Status: | CLOSED UPSTREAM | QA Contact: | |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | rawhide | CC: | billy.biggs, eclipse-bugs |
Target Milestone: | --- | Keywords: | FutureFeature |
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Enhancement | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2013-03-01 08:57:41 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Dave Malcolm
2005-06-17 20:53:23 UTC
Eclipse honours the freedesktop.org MIME system using gnome-vfs via the SWT Program API. The "Open With... > System Editor" functionality is implemented using the SWT Program API, which uses gnome_vfs_url_show() (same as gnome-open). This feature request must be done in two parts, first, the SWT Program API would need to be extended to support some way of returning multiple results for a file type or filename. I have opened this feature request: https://bugs.eclipse.org/bugs/show_bug.cgi?id=100676 Once this is done, the Eclipse UI would need to be changed to add more options to their Open With context menus in the appropriate places. The UI would be greatly improved as well if rather than saying "System Editor" it actually said what it was going to do, e.g. System Editor: The GIMP" (and then had the other options listed after a separator). (Icons for the different applications would be nice too!) While that sounds like an easy change, it would mean we couldn't use gnome_vfs_url_show(), we'd have to first determine the MIME type of the file and then get the application for that MIME type. I like using gnome_vfs_url_show() has the advantage that it is clean and consistent with gnome-open. Regardless, we should really have this discussion in the Eclipse bugzilla, and nothing can be done lightly as it will require researching what is available on the other platforms first. Should we close this as upstream or do we want to hack our packages to have this functionality? This package has changed ownership in the Fedora Package Database. Reassigning to the new owner of this component. I'm closing as upstream as no work is happening here for 8 years and the default case (use system editor) is already implemented for long time. For the rest there is bug upstream so things should be tracked there. |