Skip to main content



      Home
Home » Eclipse Projects » Remote Application Platform (RAP) » rap file dialog(problem in creatinf a file dialog)
rap file dialog [message #658143] Mon, 07 March 2011 00:39
Eclipse UserFriend
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
Previous Topic:GMF on RAP
Next Topic:rap file dialog
Goto Forum:
  


Current Time: Mon Jul 07 08:28:10 EDT 2025

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

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

Back to the top