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"});
   dialog.setFilterPath("c:\\temp");
   String result = dialog.open();


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: Mon Dec 11 23:00:55 GMT 2017

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

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