Package cppclassanalyzer.plugin.typemgr
Class TypeInfoDragNDropHandler
java.lang.Object
cppclassanalyzer.plugin.typemgr.TypeInfoDragNDropHandler
- All Implemented Interfaces:
GTreeDragNDropHandler
,GTreeTransferHandler
public final class TypeInfoDragNDropHandler extends Object implements GTreeDragNDropHandler
-
Constructor Summary
Constructors Constructor Description TypeInfoDragNDropHandler()
-
Method Summary
Modifier and Type Method Description void
drop(GTreeNode destUserData, Transferable transferable, int dropAction)
DataFlavor[]
getSupportedDataFlavors(List<GTreeNode> transferNodes)
int
getSupportedDragActions()
Object
getTransferData(List<GTreeNode> transferNodes, DataFlavor flavor)
boolean
isDropSiteOk(GTreeNode node, DataFlavor[] flavors, int dropAction)
boolean
isStartDragOk(List<GTreeNode> dragUserData, int dragAction)
-
Constructor Details
-
TypeInfoDragNDropHandler
public TypeInfoDragNDropHandler()
-
-
Method Details
-
getSupportedDataFlavors
- Specified by:
getSupportedDataFlavors
in interfaceGTreeTransferHandler
-
getTransferData
public Object getTransferData(List<GTreeNode> transferNodes, DataFlavor flavor) throws UnsupportedFlavorException- Specified by:
getTransferData
in interfaceGTreeTransferHandler
- Throws:
UnsupportedFlavorException
-
isStartDragOk
- Specified by:
isStartDragOk
in interfaceGTreeDragNDropHandler
-
getSupportedDragActions
public int getSupportedDragActions()- Specified by:
getSupportedDragActions
in interfaceGTreeDragNDropHandler
-
isDropSiteOk
- Specified by:
isDropSiteOk
in interfaceGTreeDragNDropHandler
-
drop
- Specified by:
drop
in interfaceGTreeDragNDropHandler
-