本文整理了Java中org.embl.ebi.escience.scufl.Processor.getModel()
方法的一些代码示例,展示了Processor.getModel()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Processor.getModel()
方法的具体详情如下:
包路径:org.embl.ebi.escience.scufl.Processor
类名称:Processor
方法名:getModel
暂无
代码示例来源:origin: uk.org.mygrid.taverna.scufl/scufl-ui-api
public void setSignificant(Object o) {
if (o == null) {
significantObject = null;
return;
}
if (o instanceof Port) {
significantObject = o;
return;
} else if (o instanceof Processor && ((Processor) o).getModel() != null) {
significantObject = o;
return;
}
significantObject = null;
}
代码示例来源:origin: uk.org.mygrid.taverna.processors/taverna-wsdl-processor
final ScuflModel model = inputPort.getProcessor().getModel();
代码示例来源:origin: uk.org.mygrid.taverna.processors/taverna-wsdl-processor
final ScuflModel model = outputPort.getProcessor().getModel();
代码示例来源:origin: uk.org.mygrid.taverna/taverna-scavenger-ui
public void actionPerformed(ActionEvent ae) {
try {
int numberOfAlternates = theProcessor.getAlternatesArray().length;
Processor alternateProcessor = pf.createProcessor("alternate"
+ (numberOfAlternates + 1), null);
AlternateProcessor alternate = new AlternateProcessor(alternateProcessor);
theProcessor.addAlternate(alternate);
if (theProcessor.getModel() != null) {
boolean isOffline = theProcessor.getModel().isOffline();
if (isOffline) {
alternateProcessor.setOffline();
} else {
alternateProcessor.setOnline();
}
}
// Set the appropriate offline /
// online status
} catch (Exception ex) {
ex.printStackTrace();
JOptionPane.showMessageDialog(null, "Problem creating alternate : \n"
+ ex.getMessage(), "Exception!", JOptionPane.ERROR_MESSAGE);
}
}
代码示例来源:origin: uk.org.mygrid.taverna.scufl/scufl-ui
theMenu.add(new ShadedLabel("Processor : " + theProcessor.getName(), ShadedLabel.TAVERNA_GREEN));
theMenu.addSeparator();
theMenu.add(new RenameAction(processor.getModel(), processor));
theMenu.add(new RemoveAction(processor.getModel(), processor));
theMenu.addSeparator();
Processor[] gp = processor.getModel().getProcessors();
if (gp.length > 1) {
theMenu.add(block);
final Processor controller = gp[x];
final Processor target = processor;
final ScuflModel model = processor.getModel();
gpi.addActionListener(new ActionListener() {
final Processor controller = gp[i];
final Processor target = processor;
final ScuflModel model = processor.getModel();
gpi.addActionListener(new ActionListener() {
代码示例来源:origin: uk.org.mygrid.taverna.scufl/scufl-ui
.getModel(), startPort, ports[index]));
new AddDataConstraintAction(startPort.getProcessor().getModel(), startPort,
(Port) ((VertexView) target).getCell()).actionPerformed(null);
代码示例来源:origin: uk.org.mygrid.taverna/taverna-enactor
private WorkflowInstance getWorkflowInstance() {
String flowID = getFlow().getFlowId();
Engine e = getFlow().getEngine();
WorkflowInstance workflowInstance= WorkflowInstanceImpl.getInstance(e, thePort.getProcessor().getModel(), flowID);
return workflowInstance;
}
代码示例来源:origin: uk.org.mygrid.taverna.scufl/scufl-ui
if (theInputPort.getProcessor().getModel() != null) {
theMenu.add(new SetDefaultValueAction(model, (InputPort) theInputPort));
if (theInputPort.getProcessor().getModel() != null && ((InputPort) theInputPort).hasDefaultValue()) {
代码示例来源:origin: uk.org.mygrid.taverna.scufl/scufl-ui
final ScuflModel model = sourcePort.getProcessor().getModel();
JPopupMenu theMenu = new JPopupMenu("Possible targets");
Processor[] processors = sourcePort.getProcessor().getModel()
.getProcessors();
代码示例来源:origin: org.biomoby/taverna-biomoby
final ScuflModel scuflModel = processor.getModel();
代码示例来源:origin: org.biomoby/taverna-biomoby
final ScuflModel scuflModel = processor.getModel();
代码示例来源:origin: uk.org.mygrid.taverna/taverna-enactor
Engine e = flow.getEngine();
this.workflowInstance = WorkflowInstanceImpl.getInstance(e,
activeProcessor.getModel(), flowID);
代码示例来源:origin: uk.org.mygrid.taverna.scufl/scufl-ui-api
Port thePort = (Port) userObject;
ScuflModel model = thePort.getProcessor().getModel();
if (thePort.isSource()) {
内容来源于网络,如有侵权,请联系作者删除!