public static class PsiCopyPasteManager.MyTransferable
extends java.lang.Object
implements java.awt.datatransfer.Transferable
Constructor and Description |
---|
MyTransferable(PsiCopyPasteManager.MyData data) |
MyTransferable(PsiElement[] selectedValues) |
Modifier and Type | Method and Description |
---|---|
PsiElement[] |
getElements() |
java.lang.Object |
getTransferData(java.awt.datatransfer.DataFlavor flavor) |
java.awt.datatransfer.DataFlavor[] |
getTransferDataFlavors() |
boolean |
isDataFlavorSupported(java.awt.datatransfer.DataFlavor flavor) |
public MyTransferable(PsiCopyPasteManager.MyData data)
public MyTransferable(PsiElement[] selectedValues)
public java.lang.Object getTransferData(java.awt.datatransfer.DataFlavor flavor) throws java.awt.datatransfer.UnsupportedFlavorException, java.io.IOException
getTransferData
in interface java.awt.datatransfer.Transferable
java.awt.datatransfer.UnsupportedFlavorException
java.io.IOException
public java.awt.datatransfer.DataFlavor[] getTransferDataFlavors()
getTransferDataFlavors
in interface java.awt.datatransfer.Transferable
public boolean isDataFlavorSupported(java.awt.datatransfer.DataFlavor flavor)
isDataFlavorSupported
in interface java.awt.datatransfer.Transferable
public PsiElement[] getElements()