Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    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 05:39
marie Missing name is currently offline marie Missing nameFriend
Messages: 63
Registered: March 2011
Member
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: Tue Oct 19 13:26:46 GMT 2021

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

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

Back to the top