Hello Markus About your second problem, I think you want transfer custom data? This is a lack of TransferHandler.exportData(). Unfortunatly this method does not exist. Therefore I suggest you to make a class "TransferHandlerEx extends TransferHandler" with a method
public abstract Object getDragData(); You set an Instance of TranferHandlerEx on the source componenten. In the importData() of the destination component, you get your data with getDragData(). mfg Simon Schawalder >>> "Markus Schwarz" <[EMAIL PROTECTED]> 04/24/07 3:17 pm >>> Hi, I have a couple of questions concerning DnD in ULC. 1) I need to drag and drop some tree nodes from a ULCTree to a different component. Unfortunately only certain nodes are allowed to be dragged at all. Is there a way to define the source actions per tree node? 2) My drop target is a custom component. What do I have to do in order to transfer the tree nodes user object instead of its tree path or textual representation? Help on this would greatly be appreciated, Markus _______________________________________________ ULC-developer mailing list [email protected] http://lists.canoo.com/mailman/listinfo/ulc-developer _______________________________________________ ULC-developer mailing list [email protected] http://lists.canoo.com/mailman/listinfo/ulc-developer
