use of org.knime.workbench.explorer.view.ContentObject in project knime-core by knime.
the class MetaNodeTemplateDropTargetListener method handleDrop.
/**
* {@inheritDoc}
*/
@Override
protected void handleDrop() {
ContentObject obj = getDragResources(getCurrentEvent());
AbstractExplorerFileStore store = obj.getObject();
if (AbstractExplorerFileStore.isWorkflowTemplate(store)) {
getFactory().setSourceFileStore(store);
super.handleDrop();
}
}
Aggregations