List of usage examples for com.google.gwt.editor.client EditorContext getEditorDelegate
EditorDelegate<T> getEditorDelegate();
From source file:com.google.web.bindery.requestfactory.gwt.client.impl.Initializer.java
License:Apache License
@Override public <T> boolean visit(EditorContext<T> ctx) { RequestFactoryEditorDelegate<?, ?> delegate = (RequestFactoryEditorDelegate<?, ?>) ctx.getEditorDelegate(); if (delegate != null) { delegate.setRequestContext(request); }/*from w w w . j av a 2 s .c o m*/ Editor<T> editor = ctx.getEditor(); if (editor instanceof HasRequestContext) { ((HasRequestContext<T>) editor).setRequestContext(request); } return super.visit(ctx); }