if(null == dataPort.getFromNode()){
return dataPort;
}
}
//none found, so make a new one.
DynamicComponentPort comPort = new DynamicComponentPort(getComponent());
getComponent().addInputPort(comPort);
DataPort port = comPort.createPort();
((DynamicPort)port).setNode(this);
this.addInputPort(port);
return port;
}