private void rename(DataTypeNode node, String newName) throws Exception {

		DataType dt = node.getDataType();
		tx(program, () -> dt.setName(newName));
		waitForProgram();
	}
Tests copy/paste/drag/drop operations
Ghidra/Features/Base/src/test.slow/java/ghidra/app/plugin/core/datamgr/DataTypeCopyMoveDragTest.java