checkWidget();  FORMATETC[] types = _getAvailableTypes(); TransferData[] data = new TransferData[types.length]; for (int i = 0; i < types.length; i++) { data[i] = new TransferData(); data[i].type = types[i].cfFormat; data[i].formatetc = types[i]; } return data;
return getAvailableTypes(DND.CLIPBOARD);
public TransferData[] getAvailableTypes() {	checkWidget();		FORMATETC[] types = _getAvailableTypes();	TransferData[] data = new TransferData[types.length];	for (int i = 0; i < types.length; i++) {		data[i] = new TransferData();		data[i].type = types[i].cfFormat;		data[i].formatetc = types[i];	}	return data;}