Class DndTransfer
- java.lang.Object
-
- org.eclipse.swt.dnd.Transfer
-
- org.eclipse.swt.dnd.ByteArrayTransfer
-
- com._1c.g5.v8.dt.common.ui.controls.DndTransfer
-
public class DndTransfer extends org.eclipse.swt.dnd.ByteArrayTransfer
Transfer for drag and drop Transfered data must be pair of Integer and String
-
-
Constructor Summary
Constructors Constructor Description DndTransfer()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DndTransfer
getInstance()
Returns the singleton instance.protected int[]
getTypeIds()
protected String[]
getTypeNames()
protected void
javaToNative(Object object, org.eclipse.swt.dnd.TransferData transferData)
Object
nativeToJava(org.eclipse.swt.dnd.TransferData transferData)
-
-
-
Method Detail
-
getInstance
public static DndTransfer getInstance()
Returns the singleton instance.- Returns:
- the singleton instance, never
null
-
nativeToJava
public Object nativeToJava(org.eclipse.swt.dnd.TransferData transferData)
- Overrides:
nativeToJava
in classorg.eclipse.swt.dnd.ByteArrayTransfer
-
javaToNative
protected void javaToNative(Object object, org.eclipse.swt.dnd.TransferData transferData)
- Overrides:
javaToNative
in classorg.eclipse.swt.dnd.ByteArrayTransfer
- Parameters:
object
- - . Pair of Integer and StringtransferData
- -
-
getTypeIds
protected int[] getTypeIds()
- Specified by:
getTypeIds
in classorg.eclipse.swt.dnd.Transfer
-
getTypeNames
protected String[] getTypeNames()
- Specified by:
getTypeNames
in classorg.eclipse.swt.dnd.Transfer
-
-