Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » How to force the selected data to be immediately copied to the system clipboard
How to force the selected data to be immediately copied to the system clipboard [message #462047] Wed, 05 October 2005 02:10
Eclipse UserFriend
Originally posted by: yulian.crimsonlogic.com

Hi,

I am using DND’s clipboard to copy and paste object. I found that the
after clipboard.setContent(Object[],MyTypeTransfer), the object will not
be copied to the system cipboard immediately, which may result in the
inconsistence. I read from the API of Clipboard, and find the note:

<p>NOTE: On some platforms, the data is immediately copied to the system

* clipboard but on other platforms it is provided upon request. As a
result,

* if the application modifes the data object it has set on the clipboard,
that

* modification may or may not be available when the data is subsequently

* requested.</p>

Is there any way to force the selected object to be immediately copied to
the system clipboard?



Thanks in advance!



Yulian
Previous Topic:Create new widget or canvas ?
Next Topic:SWT Java Web Launch through jnlp for MAC
Goto Forum:
  


Current Time: Sun Sep 27 18:13:53 GMT 2020

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

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

Back to the top