private Map<String, org.embl.ebi.escience.scufl.InputPort> getInputPortMap( org.embl.ebi.escience.scufl.Processor processor) { Map<String, org.embl.ebi.escience.scufl.InputPort> inputPorts = new HashMap<String, org.embl.ebi.escience.scufl.InputPort>(); for (org.embl.ebi.escience.scufl.InputPort inputPort : processor .getInputPorts()) { inputPorts.put(inputPort.getName(), inputPort); } return inputPorts; }
private Map<String, org.embl.ebi.escience.scufl.InputPort> getInputPortMap( org.embl.ebi.escience.scufl.Processor processor) { Map<String, org.embl.ebi.escience.scufl.InputPort> inputPorts = new HashMap<String, org.embl.ebi.escience.scufl.InputPort>(); for (org.embl.ebi.escience.scufl.InputPort inputPort : processor .getInputPorts()) { inputPorts.put(inputPort.getName(), inputPort); } return inputPorts; }
linkMenu .setIcon(TavernaIcons.dataLinkIcon); ports = processor.getInputPorts(); if (ports.length > 0) { linkMenu
|| processor.getInputPorts().length > 0)
DataThing inputThing = (DataThing) inputMap.get("input"); InputPort myInput = proc.getInputPorts()[0]; String inputType = myInput.getSyntacticType();
InputPort[] originalPorts = ap.getOriginalProcessor().getInputPorts(); for (int i = 0; i < originalPorts.length; i++) { JMenuItem item = new JMenuItem(originalPorts[i].getName(), TavernaIcons.inputPortIcon);
Map<String, DataThing> inputMap) throws TaskExecutionException { InputPort[] ip = activeProcessor.getInputPorts(); for (int i = 0; i < ip.length; i++) { if (ip[i].hasDefaultValue()
private void populatePortSymanticTypeDetails(Processor processor, RshellActivityConfigurationBean bean) throws ActivityTranslationException { List<RShellPortSymanticTypeBean> inputDefinitions = new ArrayList<RShellPortSymanticTypeBean>(); List<RShellPortSymanticTypeBean> outputDefinitions = new ArrayList<RShellPortSymanticTypeBean>(); for (InputPort inputPort : processor.getInputPorts()) { RShellPortSymanticTypeBean symanticTypeBean = new RShellPortSymanticTypeBean(); symanticTypeBean.setName(inputPort.getName()); symanticTypeBean.setSymanticType(getSymanticType(inputPort)); inputDefinitions.add(symanticTypeBean); } for (OutputPort outPort : processor.getOutputPorts()) { RShellPortSymanticTypeBean symanticTypeBean = new RShellPortSymanticTypeBean(); symanticTypeBean.setName(outPort.getName()); symanticTypeBean.setSymanticType(getSymanticType(outPort)); outputDefinitions.add(symanticTypeBean); } bean.setInputSymanticTypes(inputDefinitions); bean.setOutputSymanticTypes(outputDefinitions); }
private void populatePortSymanticTypeDetails(Processor processor, RshellActivityConfigurationBean bean) throws ActivityTranslationException { List<RShellPortSymanticTypeBean> inputDefinitions = new ArrayList<RShellPortSymanticTypeBean>(); List<RShellPortSymanticTypeBean> outputDefinitions = new ArrayList<RShellPortSymanticTypeBean>(); for (InputPort inputPort : processor.getInputPorts()) { RShellPortSymanticTypeBean symanticTypeBean = new RShellPortSymanticTypeBean(); symanticTypeBean.setName(inputPort.getName()); symanticTypeBean.setSymanticType(getSymanticType(inputPort)); inputDefinitions.add(symanticTypeBean); } for (OutputPort outPort : processor.getOutputPorts()) { RShellPortSymanticTypeBean symanticTypeBean = new RShellPortSymanticTypeBean(); symanticTypeBean.setName(outPort.getName()); symanticTypeBean.setSymanticType(getSymanticType(outPort)); outputDefinitions.add(symanticTypeBean); } bean.setInputSymanticTypes(inputDefinitions); bean.setOutputSymanticTypes(outputDefinitions); }
if (x<processors.length) { InputPort[] inputs = processors[x].getInputPorts(); if (inputs.length > 0 && processors[x] != sourcePort.getProcessor()) { ImageIcon icon = null; if (!set) { InputPort[] inputs = processors[i].getInputPorts(); if (inputs.length > 0 && processors[i] != sourcePort.getProcessor()) { ImageIcon icon = null;
ports = processor.getInputPorts();
List<ActivityOutputPortDefinitionBean> outputDefinitions = new ArrayList<ActivityOutputPortDefinitionBean>(); for (InputPort inputPort : processor.getInputPorts()) { ActivityInputPortDefinitionBean bean = new ActivityInputPortDefinitionBean(); bean.setName(inputPort.getName());
InputPort[] ip = p.getInputPorts(); for (int i = 0; i < ip.length; i++) { String portName = ip[i].getName();
.getProcessors()) { for (org.embl.ebi.escience.scufl.InputPort t1InputPort : t1Processor .getInputPorts()) { if (!t1InputPort.isBound() && t1InputPort.getDefaultValue() != null) {
.getProcessors()) { for (org.embl.ebi.escience.scufl.InputPort t1InputPort : t1Processor .getInputPorts()) { if (!t1InputPort.isBound() && t1InputPort.getDefaultValue() != null) {