if (sCaption == null)
{
sCaption = "ids.flow.done";
}
m_states = new ConstPair(new ConstPair(Primitive.createInteger(-1), sCaption), m_states);
continue;
}
nOrdinal = decision.getNext().getOrdinal();
if (sCaption == null)
{
sCaption = decision.getNext().getName();
}
}
else
{
Step step = branch.getStep(0);
if (step instanceof Decision && ((Decision)step).isManual())
{
collectStates((Decision)step, identitySet);
continue;
}
nOrdinal = step.getOrdinal();
if (sCaption == null)
{
sCaption = step.getName();
}
}
if (sCaption == null)
{
sCaption = "Decision " + nOrdinal;
}
m_states = new ConstPair(new ConstPair(Primitive.createInteger(nOrdinal), sCaption), m_states);
}
}