[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.platform.swt] Re: savedialog box

Thomas wrote:

> Hello,
> in a save dialog box I want to get the filter extension that was used in the
> saving process.
> how can I get it ?

> i know the file name is mySaveDialog.getFileName();
> but i don't know where to find the extension.

Use the getFilterNames() or getFilterPath() methods. You can find the API
javadoc in the $ECLIPSE_INSTALL/plugins/org.eclipse.platform.doc.isv_2.1.0
directory. It is the doc.zip file.