}
public void edit(R object, final RequestContext saveRequest) {
this.saveRequest = saveRequest;
// Provide the delegate and maybe the editor with the RequestContext
accept(new EditorVisitor() {
@Override
public <T> void endVisit(EditorContext<T> ctx) {
RequestFactoryEditorDelegate<?, ?> delegate = (RequestFactoryEditorDelegate<?, ?>) ctx.getEditorDelegate();
if (delegate != null) {
delegate.setRequestContext(saveRequest);