| Summary: | Error dialog details can't be copied | ||
|---|---|---|---|
| Product: | [RT] RAP | Reporter: | Andreas Blochberger <andreas.blochberger> |
| Component: | RWT | Assignee: | Project Inbox <rap-inbox> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | ||
| Version: | 2.1 | ||
| Target Milestone: | 2.2 M2 | ||
| Hardware: | All | ||
| OS: | All | ||
| Whiteboard: | |||
(In reply to comment #0) > The menu should also be commented out, or the functionality implemented. Clipboard is not supported in RAP. Remove copy to clipboard menu with commit 7ed681d24ff6ab470d9a4f2b0f79d7e2e19be0a1. |
In the class org.eclipse.jface.dialogs.ErrorDialog, there is a popup menu entry, to copy the details of the error to the clipboard. But this does not work. Reason why it does not work is the commented code: private void copyToClipboard() { // RAP [bm]: // if (clipboard != null) { // clipboard.dispose(); // } // StringBuffer statusBuffer = new StringBuffer(); // populateCopyBuffer(status, statusBuffer, 0); // clipboard = new Clipboard(list.getDisplay()); // clipboard.setContents(new Object[] { statusBuffer.toString() }, // new Transfer[] { TextTransfer.getInstance() }); } The menu should also be commented out, or the functionality implemented.