checkWidget(); int[] types = getAvailableClipboardTypes(); TransferData[] result = new TransferData[types.length]; for (int i = 0; i < types.length; i++) { result[i] = new TransferData(); result[i].type = types[i]; } return result;
return getAvailableTypes(DND.CLIPBOARD);
public TransferData[] getAvailableTypes() {	checkWidget();	int[] types = getAvailableClipboardTypes();	TransferData[] result = new TransferData[types.length];	for (int i = 0; i < types.length; i++) {		result[i] = new TransferData();		result[i].type = types[i];	}	return result;}