This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
If several nodes are selected and DnD performed, registered ExClipboard.Convertors are not called on top level ExTransferable.Multi, but on inner Transferables. It is inconsistent with Cut/Paste action, where Convertors are correctly called on top level ExTransferable.Multi.
Created attachment 21693 [details] Proposed patch
I'll implement it.
Created attachment 21787 [details] Test and fix (nearly as jbecicka's one)
I'd like to call the ExClipboard.Convertor just once during drag and also I've changed to code to call Node.drag() instead of Node.clipboardCopy() as AbstractNode.drag delegates to clipboardCopy. Acceptable? I'll write apichanges before integration.
I'll integrate tomorrow.
cvs ci -m "#57972: ExClipboard.convert is now called for whole multiselction and for copy we use Node.drag. Version 6.3 of whole openide is reused from today's jlahoda's change" Checking in explorer/apichanges.xml; /cvs/openide/explorer/apichanges.xml,v <-- apichanges.xml new revision: 1.2; previous revision: 1.1 done Checking in explorer/manifest.mf; /cvs/openide/explorer/manifest.mf,v <-- manifest.mf new revision: 1.4; previous revision: 1.3 done Checking in explorer/src/org/openide/explorer/view/DragDropUtilities.java; /cvs/openide/explorer/src/org/openide/explorer/view/DragDropUtilities.java,v <-- DragDropUtilities.java new revision: 1.2; previous revision: 1.1 done RCS file: /cvs/openide/test/unit/src/org/openide/explorer/view/DragDropUtilitiesTest.java,v done Checking in test/unit/src/org/openide/explorer/view/DragDropUtilitiesTest.java; /cvs/openide/test/unit/src/org/openide/explorer/view/DragDropUtilitiesTest.java,v <-- DragDropUtilitiesTest.java initial revision: 1.1 done
Can j.becicka verify this?? thanx
Verified.