Community
Participate
Working Groups
Build Identifier: 3.7.0.2011-Jun 2011 PROBLEM DESCRIPTION: 1. If a TablePage is configured to be droppable but not draggable, CTRL-C on the page will not work. 2. Related to this problem is the fact that for draggable pages, CTRL-C will only copy the object returned by the overriden method execDrag to the clipboard, instead of the latter and additionally the contents of the corresponding table as text. 3. The copied rows of a table contain the text "null" if the corresponding column is emtpy EVALUATION: 1. For draggable or droppable pages, P_SwingRowTransferHandler avoids the execution of exportToClipboard if canDrag() returns false. 2. createTransferable only returns the Object returned by execDrag. 3. getValue() ist converted to a String in toString() of Cell.java. PROPOSED SOLUTION: 1.& 2. Override exportToClipboard and enhance createTransferable of P_SwingRowTransferHandler to meet the requirements. 3. Adapt toString() of class Cell.
Closed. The bug is over 5 years old and does no longer seem relevant/important enough. In case you do not agree with closing it, reopen the bug and present your case (again), thanks.