if (display == null) DND.error(SWT.ERROR_WIDGET_DISPOSED); if (display.isDisposed()) DND.error(SWT.ERROR_DEVICE_DISPOSED);
checkWidget();
public TransferData[] getAvailableTypes() {	if (display == null) DND.error(SWT.ERROR_WIDGET_DISPOSED);	if (display.isDisposed()) DND.error(SWT.ERROR_DEVICE_DISPOSED);	int xDisplay = OS.XtDisplay(shellHandle);	if (xDisplay == 0) return new TransferData[0];	byte[][] types = _getAvailableTypes();	TransferData[] result = new TransferData[types.length];	for (int i = 0; i < types.length; i++) {		int atom = OS.XmInternAtom(xDisplay, types[i], true);		result[i] = new TransferData();		result[i].type = atom;	}	return result;}