public void attachToModel(Processor p) { setIterationStrategy(p.getIterationStrategy()); }
private void setIterationStrategy( org.embl.ebi.escience.scufl.Processor t1Processor, Processor t2Processor) { IterationStrategyStackImpl iterationStrategyStack = (IterationStrategyStackImpl) t2Processor .getIterationStrategy(); IterationStrategy t1IterationStrategy = t1Processor .getIterationStrategy(); IterationStrategyImpl t2IterationStrategy = new IterationStrategyImpl(); if (t1IterationStrategy == null) { t1IterationStrategy = new IterationStrategy(t1Processor) { public void normalize() {} }; } addIterationNode((MutableTreeNode) t1IterationStrategy.getTreeModel() .getRoot(), t2IterationStrategy, t2IterationStrategy .getTerminalNode(), t2Processor); iterationStrategyStack.clear(); iterationStrategyStack.addStrategy(t2IterationStrategy); }
private void setIterationStrategy( org.embl.ebi.escience.scufl.Processor t1Processor, Processor t2Processor) { IterationStrategyStackImpl iterationStrategyStack = (IterationStrategyStackImpl) t2Processor .getIterationStrategy(); IterationStrategy t1IterationStrategy = t1Processor .getIterationStrategy(); IterationStrategyImpl t2IterationStrategy = new IterationStrategyImpl(); if (t1IterationStrategy == null) { t1IterationStrategy = new IterationStrategy(t1Processor); } addIterationNode((MutableTreeNode) t1IterationStrategy.getTreeModel() .getRoot(), t2IterationStrategy, t2IterationStrategy .getTerminal(), t2Processor); iterationStrategyStack.clear(); iterationStrategyStack.addStrategy(t2IterationStrategy); }
if (getProcessor().getIterationStrategy() == null) { .getIterationStrategy())); if (getProcessor().getIterationStrategy() == null) { rootNode = getProcessor().getIterationStrategy().buildIterator( iteratorNodeMap); } catch (IntrospectionException ie) {