Bug 302129

Summary: Add listener to Clipboard to monitor for certain content
Product: [Eclipse Project] Platform Reporter: Philipp Kursawe <phil.kursawe>
Component: SWTAssignee: Platform-SWT-Inbox <platform-swt-inbox>
Status: NEW --- QA Contact:
Severity: enhancement    
Priority: P3 CC: ts-swt
Version: 3.6   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Philipp Kursawe CLA 2010-02-08 08:18:11 EST
It would be nice, of one could register a Listener with the Clipboard, to get informed about changes in it. This would allow UI contributions to react to clipboard changes without polling the system.

This could be implemented as registering the main window as Clipboard Viewer and handling the WM_DRAWCLIPBOARD and WM_CHANGECBCHAIN messages.
On WM_DRAWCLIPBOARD all listeners would be called with an event containing the available types. The listener could then decide to further query to current clipboard content.
Comment 1 Eclipse Webmaster CLA 2019-09-06 15:37:50 EDT
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet.

If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.