Bug 201595 - API to associate programs with a file type
Summary: API to associate programs with a file type
Status: NEW
Alias: None
Product: Platform
Classification: Eclipse Project
Component: SWT (show other bugs)
Version: 3.4   Edit
Hardware: All Windows XP
: P3 enhancement with 1 vote (vote)
Target Milestone: ---   Edit
Assignee: Steve Northover CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-08-29 11:54 EDT by Matthew Hall CLA
Modified: 2019-09-06 15:33 EDT (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Matthew Hall CLA 2007-08-29 11:54:37 EDT
Please add API to the Program class for associating a program with a file extension.  This will allow SWT programs to include functionality such as the oft-seen "Do you want to make X the default program for opening Y files?" dialog.  

Possible APIs:

1) Program.associateProgram(programFilename, extension);
2) Program.createProgram(programName, programFilename).associateExtension(extension);

There might need to be a way of specifying whether to make the program the default handler for the file type.  On Windows XP, this is the difference between double-clicking a file (invokes the default handler) versus right clicking the file, and selecting a program under the "Open With" context menu.
Comment 1 Grant Gayed CLA 2007-08-30 10:16:10 EDT
SN to consider.
Comment 2 Matthew Hall CLA 2008-12-09 15:15:07 EST
Ping.

This is still something that would be very useful.  Currently to create file associations I have to deploy through JWS which is not always an option.

Any chance that some resources could be given to this issue?
Comment 3 Eclipse Webmaster CLA 2019-09-06 15:33:17 EDT
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet.

If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.