[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.platform.swt] Re: How to check System Clipboard

Clipboard.getAvailableTypes() will tell you what types of data are on the 
clipboard:

http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.swt.snippets/src/org/eclipse/swt/snippets/Snippet122.java?rev=HEAD&content-type=text/vnd.viewcvs-markup

If you are looking for notification when the content on the clipboard 
changes, it is not supported yet.  See:

https://bugs.eclipse.org/bugs/show_bug.cgi?id=39369

"John Smith" <ohcho@xxxxxxxxxx> wrote in message 
news:d3ujhg$clv$1@xxxxxxxxxxxxxxxxxxx
> Is there any API that I can check system clipboard
> about availabilty for clipped data? Note that clipboard
> is empty when starts.
>
> -- 
> Aghhhhhhh!
>
>