Skip to main content



      Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » DirectoryDialog initial directory
DirectoryDialog initial directory [message #666080] Mon, 18 April 2011 21:34 Go to next message
Eclipse UserFriend
Hi

The DirectoryDialog is fine for helping the user select a directory in the filesystem but how to init it in order to have a default directory selected ?

DirectoryDialog dialog = new DirectoryDialog(getSite().getShell());
String directory = dialog.open();




If is not possible, is there another dialog that can be use to do this ?

Regards
Re: DirectoryDialog initial directory [message #666108 is a reply to message #666080] Tue, 19 April 2011 03:27 Go to previous message
Eclipse UserFriend
http://www.eclipse.org/forums/index.php?t=msg&th=207881& amp;start=0&S=0d381c41f48a79bc5c477ccc566be3df
Re: DirectoryDialog initial directory [message #666114 is a reply to message #666080] Tue, 19 April 2011 03:21 Go to previous message
Eclipse UserFriend
Your question has already been answered! Please search the forum with
your title.

Tom

Am 19.04.11 03:34, schrieb spcmdr@yahoo.fr:
> Hi
>
> The DirectoryDialog is fine for helping the user select a directory in
> the filesystem but how to init it in order to have a default directory
> selected ?
>
> DirectoryDialog dialog = new DirectoryDialog(getSite().getShell());
> String directory = dialog.open();
>
>
>
> If is not possible, is there another dialog that can be use to do this ?
>
> Regards
>
Previous Topic:Re: DirectoryDialog initial directory
Next Topic:Legal question about SWT
Goto Forum:
  


Current Time: Tue Jul 08 00:21:27 EDT 2025

Powered by FUDForum. Page generated in 0.30236 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top