Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » FileDialog doesnt return entire filter extension
FileDialog doesnt return entire filter extension [message #1740473] Sun, 14 August 2016 08:57
Deepak Purushothama is currently offline Deepak PurushothamaFriend
Messages: 2
Registered: December 2011
Junior Member
While using the below code

 FileDialog dialog = new FileDialog(shell, SWT.SAVE);
   dialog.setFilterExtensions(new String [] {"*_deepak.xml"});
   String result =;

in the dialog opened, if i enter the file name as "sample"
then "result" shall contain "c:\temp\sample.xml".

But instead i want the "result" as "c:\temp\sample_deepak.xml".

Is it possible to get it??
Previous Topic:Shell is disposed when there is exception in syncExec.
Next Topic:No More Handles Exception
Goto Forum:

Current Time: Thu Jan 21 12:50:41 GMT 2021

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

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

Back to the top