Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » Specify the default directory in a DirectoryDialog.
Specify the default directory in a DirectoryDialog. [message #438668] Tue, 29 June 2004 15:08 Go to next message
Eclipse UserFriend
Originally posted by: cbr.teamlog.com

Hello,

I would like to open a DirectoryDialog at a specified directory ?
Which method do I need to use ?

Thanks in advance,
-MaRc
Re: Specify the default directory in a DirectoryDialog. [message #438672 is a reply to message #438668] Tue, 29 June 2004 17:24 Go to previous message
Veronika Irvine is currently offline Veronika IrvineFriend
Messages: 1272
Registered: July 2009
Senior Member
DirectoryDialog d = new DirectoryDialog(shell, SWT.SAVE);
d.setFilterPath("C:\\temp");
d.open();

"Takaido" <cbr@teamlog.com> wrote in message
news:cbs0qn$73e$1@eclipse.org...
> Hello,
>
> I would like to open a DirectoryDialog at a specified directory ?
> Which method do I need to use ?
>
> Thanks in advance,
> -MaRc
>
>
Previous Topic:How to select a cell in a SWT table
Next Topic:RCP question: how to fill the Perspective Bar with all the perspectives
Goto Forum:
  


Current Time: Fri Apr 19 21:55:42 GMT 2024

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

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

Back to the top