diff --git a/src/com/idcanet/foei/core/impl/ObjectBindingsManagerImpl.java b/src/com/idcanet/foei/core/impl/ObjectBindingsManagerImpl.java index e6e09dc..74252c2 100644 --- a/src/com/idcanet/foei/core/impl/ObjectBindingsManagerImpl.java +++ b/src/com/idcanet/foei/core/impl/ObjectBindingsManagerImpl.java @@ -29,6 +29,8 @@ package com.idcanet.foei.core.impl; import com.idcanet.foei.core.ObjectBindingsManager; import com.idcanet.foei.event.EventPort; import com.idcanet.foei.event.EventPortType; +import com.idcanet.foei.event.EventStep; +import com.idcanet.foei.event.EventStepController; import java.util.HashMap; import java.util.Map; @@ -42,8 +44,7 @@ import java.util.logging.Logger; * @author Willem Cazander * @version 1.0 20/04/2005 */ -public class ObjectBindingsManagerImpl implements ObjectBindingsManager -{ +public class ObjectBindingsManagerImpl implements ObjectBindingsManager { /** */ private Map> bindingsOutput = null; /** Works like: eventPort(input) -> List (EventPorts(output) */ @@ -165,12 +166,24 @@ public class ObjectBindingsManagerImpl implements ObjectBindingsManager StringBuffer result = new StringBuffer(); result.append("\n"); result.append("\n"); + //FoeiProcess process = FoeiProcessFactory.getFoeiProcess(); + // todo: ID nameing should go automatic, and be reverse lookup'ale + for(EventPort port:bindingsOutput.keySet()) { - for(EventPort b:getBindings(port)) { - result.append("\n"); - + for(EventPort b:getBindings(port)) { + result.append("\t\n"); + EventStepController e = (EventStepController)o; + for(EventStep es:e.getEventSteps()) { + result.append("\t\t\n"); + } + result.append("\t\n"); + } else { + result.append("\"/>\n"); + } } } result.append("");