Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Scout » Drag and Drop(Drag and Drop for others than files and text)
Drag and Drop [message #1340680] Thu, 08 May 2014 06:09 Go to next message
Rene Eigenheer is currently offline Rene EigenheerFriend
Messages: 109
Registered: July 2009
Senior Member
Hi
I've tried to drag and drop an email (or contact/vcard) from my mail application to a scout application. It seems that out of the box scout only accepts files, text or java transfer objects.
Is there an easy way to add additional transfer types as for example email?

thx
Rene
Re: Drag and Drop [message #1340707 is a reply to message #1340680] Thu, 08 May 2014 06:25 Go to previous messageGo to next message
Matthias Nick is currently offline Matthias NickFriend
Messages: 197
Registered: August 2013
Senior Member
Hi René,
you are right, Scout supports the following transfer types:
TYPE_IMAGE_TRANSFER
TYPE_FILE_TRANSFER
TYPE_JAVA_ELEMENT_TRANSFER
TYPE_TEXT_TRANSFER

I think there is no way to define another transfer type in your own application.

However do you really need to?
You can save the vcard as file to your desktop and than drop it into your application. With TYPE_FILE_TRANSFER you will be able to accept the drop request and perform some custom actions. Does this work for you?

Best regards,
Matthias

[Updated on: Thu, 08 May 2014 06:31]

Report message to a moderator

Re: Drag and Drop [message #1341620 is a reply to message #1340707] Thu, 08 May 2014 15:19 Go to previous messageGo to next message
Rene Eigenheer is currently offline Rene EigenheerFriend
Messages: 109
Registered: July 2009
Senior Member
Hi Matthias

Yes, with vcard your proposal is absolutely valid as this is a rare case.

But drag&drop of an email and add this email to a workflow in your scout application would be a good thing...there I do not see the workaround over a local file.

-Rene
Re: Drag and Drop [message #1342296 is a reply to message #1341620] Thu, 08 May 2014 22:03 Go to previous messageGo to next message
Matthias Zimmermann is currently offline Matthias ZimmermannFriend
Messages: 208
Registered: June 2015
Senior Member
Hi René,

in our commercial product we have an implementation of drag&drop for outlook (emails and contacts). however, this component is not available for free and not under the epl licence. if such an approach is of interst to you, please let us know.

best regards
Matthias
Re: Drag and Drop [message #1343137 is a reply to message #1342296] Fri, 09 May 2014 06:44 Go to previous message
Rene Eigenheer is currently offline Rene EigenheerFriend
Messages: 109
Registered: July 2009
Senior Member
Thank you Matthias

I'll check and we can discuss next time we meet.

cu
Previous Topic:single form application: updating tables
Next Topic:RAP an Firefox 29
Goto Forum:
  


Current Time: Thu Apr 18 15:20:00 GMT 2024

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

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

Back to the top