Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » filetransfer ...
filetransfer ... [message #334195] Mon, 26 January 2009 11:00
Carmelo  is currently offline Carmelo Friend
Messages: 224
Registered: July 2009
Senior Member
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
Previous Topic:Problem with key bindings on newly-opened document
Next Topic:LTK rename refactoring - overriding the icons
Goto Forum:
  


Current Time: Sun Jun 30 13:54:12 GMT 2024

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

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

Back to the top