checkWidget(); ClipboardProxy proxy = ClipboardProxy._getInstance(display); proxy.clear(this, clipboards);
checkWidget(); ClipboardProxy proxy = ClipboardProxy._getInstance(display); proxy.clear(this, clipboards);
checkWidget(); ClipboardProxy proxy = ClipboardProxy._getInstance(display); proxy.clear(this, clipboards);
checkWidget(); if ((clipboards & DND.CLIPBOARD) == 0) return new TransferData[0]; FORMATETC[] types = _getAvailableTypes();
checkWidget(); if ((clipboards & DND.CLIPBOARD) == 0) return; NSPasteboard pasteboard = NSPasteboard.generalPasteboard();
checkWidget(); if ((clipboards & DND.CLIPBOARD) != 0) {
checkWidget(); TransferData[] result = null; if ((clipboards & DND.CLIPBOARD) != 0) {
checkWidget(); TransferData[] result = null; if ((clipboards & DND.CLIPBOARD) != 0) {
checkWidget(); TransferData[] result = null; if ((clipboards & DND.CLIPBOARD) != 0) {
checkWidget(); FORMATETC[] types = _getAvailableTypes(); String[] names = new String[types.length];
/** * Returns a platform specific list of the data types currently available on the * system clipboard. * * <p>Note: <code>getAvailableTypeNames</code> is a utility for writing a Transfer * sub-class. It should NOT be used within an application because it provides * platform specific information.</p> * * @return a platform specific list of the data types currently available on the * system clipboard * * @exception SWTException <ul> * <li>ERROR_WIDGET_DISPOSED - if the receiver has been disposed</li> * <li>ERROR_THREAD_INVALID_ACCESS - if not called from the thread that created the receiver</li> * </ul> */ public String[] getAvailableTypeNames() { checkWidget(); NSPasteboard pasteboard = NSPasteboard.generalPasteboard(); if (pasteboard == null) return new String[0]; NSArray types = pasteboard.types(); if (types == null) return new String[0]; int count = (int)/*64*/types.count(); String[] result = new String[count]; for (int i = 0; i < count; i++) { result[i] = new NSString(types.objectAtIndex(i)).getString(); } return result; } }
checkWidget(); int[] types1 = getAvailableClipboardTypes(); int[] types2 = getAvailablePrimaryTypes();
checkWidget(); int[] types1 = getAvailableClipboardTypes(); int[] types2 = getAvailablePrimaryTypes();
checkWidget(); int[] types1 = getAvailableClipboardTypes(); int[] types2 = getAvailablePrimaryTypes();
checkWidget(); if (data == null || dataTypes == null || data.length != dataTypes.length || data.length == 0) { DND.error(SWT.ERROR_INVALID_ARGUMENT);
checkWidget(); if (data == null || dataTypes == null || data.length != dataTypes.length || data.length == 0) { DND.error(SWT.ERROR_INVALID_ARGUMENT);
checkWidget(); if (data == null || dataTypes == null || data.length != dataTypes.length || data.length == 0) { DND.error(SWT.ERROR_INVALID_ARGUMENT);
checkWidget(); if ((clipboards & DND.CLIPBOARD) == 0) return new TransferData[0]; NSPasteboard pasteboard = NSPasteboard.generalPasteboard();
checkWidget(); if (transfer == null) DND.error(SWT.ERROR_NULL_ARGUMENT); long /*int*/ selection_data = 0;
checkWidget(); if (transfer == null) DND.error(SWT.ERROR_NULL_ARGUMENT); int /*long*/ selection_data = 0;