public boolean triggerAction(JTree tree, String action) throws Exception {
if (action.equals(DeleteAction.ID)) {
deleteHostDescription(tree);
return true;
} else if (action.equals(ImportAction.ID)) {
Workflow workflow = new RegistryAccesser(getXBayaEngine()).getWorkflow(getXbayaWorkflow().getWorkflowName());
GraphCanvas newGraphCanvas = getXBayaEngine().getGUI().newGraphCanvas(true);
newGraphCanvas.setWorkflow(workflow);
getXBayaEngine().getGUI().getGraphCanvas().setWorkflowFile(null);
return true;
}