Bug 45501 - "Open External File" Dialog should support multiple file selection.
Summary: "Open External File" Dialog should support multiple file selection.
Status: RESOLVED FIXED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: Text (show other bugs)
Version: 3.0   Edit
Hardware: All All
: P3 enhancement (vote)
Target Milestone: 3.1 M4   Edit
Assignee: Kai-Uwe Maetzel CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-10-24 09:49 EDT by Karl-Heinz Damm CLA
Modified: 2004-11-29 06:06 EST (History)
1 user (show)

See Also:


Attachments
Simple patch to implement multiple opens (2.72 KB, patch)
2004-11-24 14:23 EST, Billy Biggs CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Karl-Heinz Damm CLA 2003-10-24 09:49:20 EDT
Open External File Dialog should allow multiple selection of files.
Comment 1 Debbie Wilson CLA 2003-10-24 10:24:12 EDT
I assume you mean File->Open External File...   ?
Comment 2 Karl-Heinz Damm CLA 2003-10-24 11:19:45 EDT
Yes, of course. The corresponding ids are:
actionSet id="org.eclipse.ui.edit.text.actionSet.openExternalFile"
action id="org.eclipse.ui.edit.text.openExternalFile"
Comment 3 Tod Creasey CLA 2004-02-11 17:35:20 EST
This is a platform dialog. We have no control over it
Comment 4 Karl-Heinz Damm CLA 2004-02-12 05:40:58 EST
The statement from Tod_Creasey@ca.ibm.com incorrect:
"This is a platform dialog. We have no control over it"

Just use the style constant   org.eclipse.swt.SWT.MULTI  with the constructor 
of class  org.eclipse.swt.widgets.FileDialog.

org.eclipse.swt.SWT.MULTI: 
Style constant for multi-selection behavior in lists and multiple line support 
on text fields (value is 1<<1).
Comment 5 Tod Creasey CLA 2004-03-29 10:14:23 EST
Not on the plan for 3.0
Comment 6 Tod Creasey CLA 2004-06-28 11:27:57 EDT
Reopening now that 3.0 has shipped
Comment 7 Billy Biggs CLA 2004-11-24 14:22:17 EST
The action for this dialog is in org.eclipse.ui.editors which is owned by
Platform Text.  I think this is a good idea.
Comment 8 Billy Biggs CLA 2004-11-24 14:23:01 EST
Created attachment 16108 [details]
Simple patch to implement multiple opens
Comment 9 Kai-Uwe Maetzel CLA 2004-11-25 03:06:55 EST
Thanks, Billy.
Comment 10 Kai-Uwe Maetzel CLA 2004-11-29 06:06:06 EST
Build I20041130.