Create File Browser [message #1036086] |
Sun, 07 April 2013 23:43 |
Fatla 777 Messages: 13 Registered: April 2013 |
Junior Member |
|
|
Hello,
I am trying to create a file browser when the user clicks on a button at the property I have generated.
The following code I use,it fetches the whole files at my workspace.
However,I need to browse over all my PC.
IFile[] files = WorkspaceResourceDialog.openFileSelection(null, "File selection", "Please select any file", false, null, null);
Any ideas!
[Updated on: Mon, 08 April 2013 00:05] Report message to a moderator
|
|
|
Re: Create File Browser [message #1036223 is a reply to message #1036086] |
Mon, 08 April 2013 05:10 |
Ed Merks Messages: 33141 Registered: July 2009 |
Senior Member |
|
|
Fatla,
Have a look at org.eclipse.emf.common.ui.dialogs.ResourceDialog.
On 08/04/2013 1:43 AM, Fatla 777 wrote:
> Hello,
> I am trying to create a file browser when the user clicks on a button
> at the property I have generated.
> The following code I use,it fetches the whole files at my workspace.
> However,I need to browse over all my PC.
>
> IFile[] files = WorkspaceResourceDialog.openFileSelection(null, "File
> selection", "Please select any file", false, null, null);
>
>
> Any ideas!
Ed Merks
Professional Support: https://www.macromodeling.com/
|
|
|
|
Powered by
FUDForum. Page generated in 0.03128 seconds