try {
DataFlavor[] flavors = tr.getTransferDataFlavors();
for (int i = 0; i < flavors.length; i++) {
if (tr.isDataFlavorSupported(flavors[i])) {
dtde.acceptDrop(dtde.getDropAction());
ISweaveTag swt = (ISweaveTag)tr.getTransferData(flavors[i]);
//TODO: ohne string name
JLatexPanel.addTagAtCursor(swt);
System.out.println(swt.getName());
// TreePath p = (TreePath) tr.getTransferData(flavors[i]);
// DefaultMutableTreeNode node = (DefaultMutableTreeNode) p
// .getLastPathComponent();
// DefaultTreeModel model = (DefaultTreeModel) tree.getModel();