}
else if (part.getModel() instanceof IAttributeMapper) {
IState state = (IState) getHost().getModel();
if (state instanceof SubflowState
&& ((SubflowState) state).getAttributeMapper() == null) {
AttributeMapperCloneCommand orphan = new AttributeMapperCloneCommand();
orphan.setChild((IAttributeMapper) ((EditPart) parts.get(i))
.getModel());
orphan.setNewState((IWebflowModelElement) getHost()
.getModel());
result.add(orphan);
}
}
}