Class ClipboardProxyGTK4
java.lang.Object
org.eclipse.swt.dnd.ClipboardProxyGTK4
Clipboard proxy used to copy data to the clipboard in GTK4 only.
This class has a different life-cycle than Clipboard. Each display has
exactly one proxy.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate Clipboardprivate Clipboardprivate final ContentProvidersprivate Displayprivate static String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) static ClipboardProxyGTK4_getInstance(Display display) (package private) voidClear the contents of the specified clipboardsprivate voiddispose()(package private) booleanprivate CompletableFuture<Boolean> storeClipboard(long clipboard)
-
Field Details
-
ID
-
display
-
activeClipboard
-
activePrimaryClipboard
-
contentProviders
-
-
Constructor Details
-
ClipboardProxyGTK4
-
-
Method Details
-
_getInstance
-
clear
Clear the contents of the specified clipboards- Parameters:
owner- the calling SWT Clipboardclipboards- which clipboards to cleartakeOwnership- normally we only clear the clipboard if we own it, takeOwnership will take ownership of the clipboard and clear it. If there is a clipboard manager the ownership may be immediately transferred back to the manager.- See Also:
-
dispose
private void dispose() -
storeClipboard
-
setData
-
getData
-