final Collection actionSet = new LinkedHashSet();
final StateMachineFacade graphContext = getStateMachine();
if (graphContext instanceof ActivityGraphFacade)
{
final UseCaseFacade useCase = ((ActivityGraphFacade)graphContext).getUseCase();
if (useCase instanceof StrutsUseCase)
{
Collection actions = ((StrutsUseCase)useCase).getActions();
for (final Iterator actionIterator = actions.iterator(); actionIterator.hasNext();)