Community
Participate
Working Groups
Currently the field DropTargetEvent.dataType can not be changed in the dragEnter/dragOver events. Also, the Transfers are compared on the client using only the classname instead of the type-id. Therefore, Transfers that are not identical but compatible are not recognized.
Created attachment 154314 [details] fix Fix including tests. There is one deviation from the SWT-behavior: If the application-code sets "currentTransferType" to null or a invalid value, it is reverted to a valid value in RAP, while in SWT it is set to null and the DROP_NONE-cursor is displayed.
I keep mixing those up: In the description i mean "currentDataType", not "dataType", and in comment 1 i also mean "currentDataType", not "currentTransferType". (Neither "dataType" nor "currentTransferType" actually exist in dropTargetEvent. )
Applied patch to CVS HEAD