if (data.isDataFlavorSupported(ClientFlavors.COMPLEX_TYPE_ITEM))
{
// Drag of a data type onto a node param will store the name of the data type
// in the expression of the node parameter.
// This is a handy shortcut for the database actions that take a data type as parameter.
DataTypeItem type = (DataTypeItem) data.getTransferData(ClientFlavors.COMPLEX_TYPE_ITEM);
getDrawing().getEditor().startUndo("Assign Type Name");
String typeName = getDrawing().getProcess().determineItemRef(type);