FileSelectionDialog in Plugin
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Vincent_Beretti
Posted On:   Wednesday, June 15, 2005 11:56 AM

Hi !

in the plugin I developped, I need to use a file selection dialog. In fact, I want that when I click on a button, a dialog appears and I can choose a directory just as a classic save/open dialog.

I found in Eclipse API the class FileSelectionDialog and I think that's what I need.

But I can not use it in a plugin because it does not know the package org.eclipse.ui.dialogs.* where FileSelectionDialog is located.

How can I do that ?

Is FileSelectionDialog the good class to use ?

Thanks

Vincent

Re: FileSelectionDialog in Plugin

Posted By:   Anonymous  
Posted On:   Tuesday, June 28, 2005 11:24 AM

What you should be using the the SWT FileDialog (org.eclipse.swt.widgets.FileDialog)



That will open up the platform's File Dialog



Albert

About | Sitemap | Contact