|The curious RAP FileDialog [message #838080]
||Fri, 06 April 2012 14:38
| Georges Bachelier
Registered: May 2010
Hello Everybody !|
I have successfully and easily converted a simple RCP application to a RAP one.
Encouraged by this first success, I started to convert a second simple application of mine which reads an input file from the file-system, encrypts it and writes the encrypted file to the file-system.
The GUI is very simple: a Text widget and a Browse button for the input file; the same couple of widgets for the encrypted output file. I use the FileDialog widget from RAP 1.4 Incubator to specify the input and output files pathnames.
The current FileDialog behavior does not suit my needs: it contains its own Browse button, which means the user has to click two Browse buttons before the file selection dialog pops up. This is the first issue. The second problem is that the dialog only displays the selected file name, not its full pahname on the user's file system. The third issue arises when I update the Text widget with FileDialog.getFileName() which displays a strange file pathname including a \Temp folder and adds a series of numbers to the file name ,like in util.2624504061871153546.jar.
Is there a chance that the RAP FileDialog behavior evolves in the future, making it usable the same way than the regular SWT one, or is my request absolutely ridiculous ?
In others words, should I wait for the June release (or more), or abandon RAP (which would be really disappointing).
Thanks a lot in advance for your time !
Powered by FUDForum
. Page generated in 0.03038 seconds