item.addActionListener(new AbstractAction() {
public void actionPerformed(ActionEvent event) {
new Thread() {
@Override
public void run() {
Workflow workflow = new WorkflowFiler(ComponentMenu.this.engine).getWorkflow();
// //to normalize and build the scripts
// new ODEClient().getInputs(workflow);
try {
ComponentMenu.this.engine.addWorkflowComponent(workflow.getName(), SubWorkflowComponent.getInstance(workflow));