[kepler-users] PortParameter

Ali, Muhannad muhannad.ali at student.kit.edu
Sun Jan 15 13:49:52 PST 2012


Hello,

I'm trying to develop a Composite actor with a PortParameter (let's name it: myPort) so that I can provide the input through an external actor (e.g. StringConst) and at the same time take benefit of the attributeChanged method every time the input changed in order to do some internal works.

Would you help me please to understand how I should update the port expression's value whenever the input changes? I've tried myPort.setExpression(((StringToken) myPort.getPort().get(0)).stringValue()). But it did not work.

Thanks!

Muhannad


More information about the Kepler-users mailing list