Skip to main content



      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 04:57
Eclipse UserFriend
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 Jul 07 09:25:45 EDT 2025

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

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

Back to the top