Examples of PipelineModule


Examples of net.sf.pipet.api.PipelineModule

    }
  }
 
  private void showModuleConnectDialog()
  {
    PipelineModule mod = (PipelineModule)view.getSelected();
    PipelineModuleEditor modedit = new PipelineModuleEditor(app.getEditorConfig(), getPipeline(), mod);
    JOptionPane.showMessageDialog(app.getMainWindow(), modedit, mod.getTitle(), JOptionPane.QUESTION_MESSAGE);
  }
View Full Code Here

Examples of net.sf.pipet.api.PipelineModule

   
    Map<PipelineModule,PipelineModule> modmap = new HashMap<PipelineModule,PipelineModule>();
   
    for (PipelineModule mod : mods)
    {
      PipelineModule copy = new PipelineModule((ModuleDefinition)mod.getParent(), mod.getCachePolicy(), mod.toMap(false));
      modmap.put(mod, copy);
      obj.addModule(copy);
    }
   
    for (Map.Entry<Plug, Collection<Plug>> e : connectors.entrySet())
View Full Code Here

Examples of net.sf.pipet.api.PipelineModule

      null);
   
    if (moddef == null)
      return;
 
    PipelineModule mod = new PipelineModule(moddef, null, null);
    if (!mods.addModule(mod))
      return;
  }
View Full Code Here

Examples of net.sf.pipet.api.PipelineModule

     
      return moddef;
    }
    else
    {
      PipelineModule moddef = new PipelineModule(parent, extractCachePolicy(modnode), atts);
      if (moddef.getInterface() == null)
        throw new InvalidConfigurationException(String.format("Module %s: Incomplete module definition.", modid));
      pipeline_mods.put(modid, moddef);

      return moddef;
    }
View Full Code Here

Examples of net.sf.pipet.api.PipelineModule

    String modid = getAttribute(elem, "module");
    String port = getAttribute(elem, "port");
    if (modid == null || port == null)
      throw new InvalidConfigurationException("Incomplete plug definition.");

    PipelineModule mod = mods.get(modid);
    if (mod == null)
      throw new InvalidConfigurationException("Reference to non-existing module: "+modid);
   
    /*
    if (is_target && !mod.getInputPipeNames().contains(port))
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.