-
Enhancement
-
Resolution: Fixed
-
P3
-
1.4.2
-
b42
-
x86
-
windows_2000
Name: rmT116609 Date: 10/23/2003
FULL PRODUCT VERSION :
java version "1.4.0"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.0-b92)
Java HotSpot(TM) Client VM (build 1.4.0-b92, mixed mode)
FULL OPERATING SYSTEM VERSION :
Microsoft Windows 2000 [Version 5.00.2195]
A DESCRIPTION OF THE PROBLEM :
Implemeting more fine grained canImport functionality in
for structures like trees using TransferHandler is not
posible cause of limitation of arguments in
public boolean canImport(JComponent comp, DataFlavor[]
transferFlavors);
To do checks to prevent moving child to its parent or
parent to its child should be possible. If canImport would
carry Transferable instead of DataFlavours it would make it
possible to do such checks and give more feedback to user !
Somtimes it is not enought to only know the datatype to be
imported.
REPRODUCIBILITY :
This bug can be reproduced always.
CUSTOMER WORKAROUND :
Write your completely own TransferHandler. Of Course.
(Incident Review ID: 181502)
======================================================================
- duplicates
-
JDK-5029427 Location sensitive dropping
- Closed
-
JDK-5029432 Provide a way of getting the action in TransferHandler.importData(...)
- Closed
- relates to
-
JDK-4378091 Please add DropTargetDragEvent.getTransferable() method
- Resolved
-
JDK-4468566 Swing DnD should not use selection to show drop location
- Resolved
-
JDK-6184817 Make BasicDropTargetListener public
- Closed
-
JDK-6184866 BasicTreeUI should use factory method to construct drop target listener
- Closed
-
JDK-6277499 Minor API changes to support new Swing DnD API
- Resolved
-
JDK-5018712 NO WAY TO TELL WHAT IS BEING DRAGGED UNTIL DROP OCCURS
- Closed
-
JDK-4760426 JTree DnD conflicts with JTree.setUI(..)
- Closed