use of org.jcryptool.crypto.flexiprovider.ui.nodes.TreeNode in project core by jcryptool.
the class KeyDropListener method drop.
public void drop(DropTargetEvent event) {
Widget item = event.item;
Object tmp = event.data;
if (item != null && tmp != null) {
if (item instanceof TreeItem) {
entryNode = getTopLevel((TreeNode) ((TreeItem) item).getData());
// $NON-NLS-1$
LogUtil.logInfo("target: " + entryNode.getTimestamp());
entryNode.setKeyStoreAlias(new KeyStoreAlias((String) tmp));
}
} else {
// $NON-NLS-1$
LogUtil.logInfo("item is null");
}
}
Aggregations