Bug 302129 - Add listener to Clipboard to monitor for certain content
Summary: Add listener to Clipboard to monitor for certain content
Status: NEW
Alias: None
Product: Platform
Classification: Eclipse Project
Component: SWT (show other bugs)
Version: 3.6   Edit
Hardware: PC Windows XP
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Platform-SWT-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-02-08 08:18 EST by Philipp Kursawe CLA
Modified: 2021-03-21 13:25 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.