filetransfer ... [message #334195] |
Mon, 26 January 2009 06:00 |
Eclipse User |
|
|
|
Hi all,
I have got a question on FileTranfer .
I have a TreeViewer representing files inside an object db .
I want to add the drag operation from the viewer to the Windows File
system .
Inside my ViewerDragAdapter dragSetData I have built an array of string with
the path of the objects .
Clearly this list of paths is local to the db so once the real FileTransfer
starts it cannot locate the path on the file system .
What I have done to solve the problem is to create a temporary file in the
file system and add this path to the string arrays .
The problem is that files sometimes could be really big, and the user could
stop the operation pressing esc or just moving the selection somewhere
inside eclipse . so is there any other place where I can run the export
action and set the path?
I was thinking to "extends" the FileTransfer . and actually replace the path
with the real local path (after the items have been exported) just before
the native to java is called .
What can I do?
Thanks
Kar
|
|
|
Powered by
FUDForum. Page generated in 0.03195 seconds