Class MoxelClipboardService
java.lang.Object
com._1c.g5.v8.dt.moxel.ui.operations.MoxelClipboardService
Service for reading and writing data to clipboard
-
Method Summary
Modifier and TypeMethodDescriptiongetClipboardContentSync
(org.eclipse.swt.dnd.Transfer transfer) Get clipboard contents for specified data typestatic MoxelClipboardService
Returns the singleton instance of the MoxelTransfer class.void
setClipboardContentAsync
(Object[] data, org.eclipse.swt.dnd.Transfer[] dataTypes) Set clipboard content in async modevoid
setClipboardContentSync
(Object[] data, org.eclipse.swt.dnd.Transfer[] dataTypes) Set clipboard content in sync modevoid
setDisplay
(org.eclipse.swt.widgets.Display display) Set display
-
Method Details
-
getInstance
Returns the singleton instance of the MoxelTransfer class.- Returns:
- the singleton instance of the MoxelTransfer class
-
setClipboardContentSync
Set clipboard content in sync mode- Parameters:
data
- - data to be setdataTypes
- - related data types
-
setClipboardContentAsync
Set clipboard content in async mode- Parameters:
data
- - data to be setdataTypes
- - related data types
-
getClipboardContentSync
Get clipboard contents for specified data type- Parameters:
transfer
- - data type description- Returns:
- clipboard contents for specified data type
-
setDisplay
public void setDisplay(org.eclipse.swt.widgets.Display display) Set display- Parameters:
display
- -Display
-