diff options
author | Veronika Irvine <veronika> | 2002-06-07 19:34:28 +0000 |
---|---|---|
committer | Veronika Irvine <veronika> | 2002-06-07 19:34:28 +0000 |
commit | df8e3a319d8aa571a060658d861b12230912fb9b (patch) | |
tree | 6f8118916c04b4c4912b0ad6ab70a060959006a4 /bundles/org.eclipse.swt/Eclipse SWT Drag and Drop/win32/org/eclipse/swt/dnd/Clipboard.java | |
parent | 0aedbb4556525ba14c27249953c01a4a12eb8f42 (diff) | |
download | eclipse.platform.swt-df8e3a319d8aa571a060658d861b12230912fb9b.tar.gz eclipse.platform.swt-df8e3a319d8aa571a060658d861b12230912fb9b.tar.xz eclipse.platform.swt-df8e3a319d8aa571a060658d861b12230912fb9b.zip |
fix for 17494
Diffstat (limited to 'bundles/org.eclipse.swt/Eclipse SWT Drag and Drop/win32/org/eclipse/swt/dnd/Clipboard.java')
-rwxr-xr-x | bundles/org.eclipse.swt/Eclipse SWT Drag and Drop/win32/org/eclipse/swt/dnd/Clipboard.java | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT Drag and Drop/win32/org/eclipse/swt/dnd/Clipboard.java b/bundles/org.eclipse.swt/Eclipse SWT Drag and Drop/win32/org/eclipse/swt/dnd/Clipboard.java index f19be162ca..ce7cc77ea0 100755 --- a/bundles/org.eclipse.swt/Eclipse SWT Drag and Drop/win32/org/eclipse/swt/dnd/Clipboard.java +++ b/bundles/org.eclipse.swt/Eclipse SWT Drag and Drop/win32/org/eclipse/swt/dnd/Clipboard.java @@ -62,7 +62,7 @@ public void dispose () { }
/**
- * Get the data from the clipboard.
+ * Retrieve the data of the specified type currently available on the system clipboard.
*
* <code><pre>
* Clipboard clipboard = new Clipboard(display);
@@ -76,6 +76,7 @@ public void dispose () { * </code></pre>
*
* @param transfer the transfer agent for the type of data being requested
+ *
* @return the data obtained from the clipboard or null if no data of this type is available
*/
public Object getContents(Transfer transfer) {
@@ -105,7 +106,10 @@ public Object getContents(Transfer transfer) { return transfer.nativeToJava(match);
}
/**
- * Set the data onto the clipboard.
+ * Place data of the specified type on the system clipboard. More than one type of
+ * data can be placed on the system clipboard at the same time. Setting the data
+ * clears any previous data of the same type from the system clipboard and also
+ * clears data of any other type currently on the system clipboard.
*
* <p>NOTE: On some platforms, the data is immediately copied to the system
* clipboard but on other platforms it is provided upon request. As a result, if the
|