if (display == null) DND.error(SWT.ERROR_WIDGET_DISPOSED); if (display.isDisposed()) DND.error(SWT.ERROR_DEVICE_DISPOSED);
checkWidget();
public String[] getAvailableTypeNames() {	if (display == null) DND.error(SWT.ERROR_WIDGET_DISPOSED);	if (display.isDisposed()) DND.error(SWT.ERROR_DEVICE_DISPOSED);	int[] types = _getAvailableTypes();	String[] result = new String[types.length];	for (int i = 0; i < types.length; i++) {		int pName = OS.gdk_atom_name(types[i]);		byte[] buffer = new byte [OS.strlen(pName)];		OS.memmove (buffer, pName, buffer.length);		OS.g_free (pName);		result[i] = new String (Converter.mbcsToWcs (null, buffer));	}	return result;}