int function ( Component arg0 ) { if ( arg0 instanceof javax . swing . JTree && ( ( javax . swing . JTree ) arg0 ) . getModel ( ) instanceof OjbMetaDataTreeModel ) return DnDWorkerConstants . DRAG_COPY | DnDWorkerConstants . DRAG_LINK ; else return DnDWorkerConstants . NONE ; }
return a bitmask of acceptable actions . in most cases you will only support drag_copy , but sometimes you might support drag_link or drag_move as well . concode_field_sep PlaceHolder placeHolder concode_field_sep void exportDone concode_elem_sep Image getDragImage concode_elem_sep void exportStarted concode_elem_sep Transferable getTransferable