rap file dialog [message #658143] |
Mon, 07 March 2011 00:39 |
Eclipse User |
|
|
|
Hi all,
i m creating a rap application,but i m facing a problem while creating file dialog in my application,i have tried with file upload but it is not working with the same
FileDialog fileDialog = new FileDialog(getWorkbenchShell(), SWT.SAVE);
fileDialog.setFilterExtensions(new String[] {"*.xml"});
String xmlFilePath = null;
/* if named export file already exists in File System , display warning msg and depends
* upon user input proceed*/
do{
xmlFilePath = fileDialog.open();
if( xmlFilePath == null )
return false;
xmlFileDir = fileDialog.getFilterPath();
fileName = fileDialog.getFileName();
can anybody help me to resolve the problem.
thnak in advance
|
|
|
Powered by
FUDForum. Page generated in 0.02944 seconds