java.lang.Object | |
↳ | com.google.gwt.requestfactory.client.impl.AbstractRequestFactoryEditorDriver<R, E extends com.google.gwt.editor.client.Editor<R>> |
Contains utility methods for top-level driver implementations.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Ensures that the Editor passed into
initialize(E) and its
sub-editors, if any, have synced their UI state by invoking flushing them
in a depth-first manner. | |||||||||||
Returns any unconsumed
EditorErrors from the last call
to flush() . | |||||||||||
Returns a new array containing the request paths.
| |||||||||||
Indicates if the last call to
flush() resulted in any errors. | |||||||||||
Initializes a driver that will not be able to support subscriptions.
| |||||||||||
Overload of
initialize(RequestFactory, Editor) to allow a modified
EventBus to be monitored for subscription services. | |||||||||||
Initializes a driver with the editor it will run, and a RequestFactory to
use for subscription services.
| |||||||||||
Show Violations returned from an attempt to submit a request.
|
Protected Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
From interface
com.google.gwt.requestfactory.client.RequestFactoryEditorDriver
|
Ensures that the Editor passed into initialize(E)
and its
sub-editors, if any, have synced their UI state by invoking flushing them
in a depth-first manner.
edit(P, RequestContext)
Returns any unconsumed EditorErrors
from the last call
to flush()
.
EditorError
instances
Returns a new array containing the request paths.
Indicates if the last call to flush()
resulted in any errors.
true if errors are present
Initializes a driver that will not be able to support subscriptions. Calls
to subscribe()
will do
nothing.
editor | an Editor of type E
|
---|
Overload of initialize(RequestFactory, Editor)
to allow a modified
EventBus
to be monitored for subscription services.
eventBus | the EventBus |
---|---|
requestFactory | a RequestFactory instance |
editor | an Editor of type E |
Initializes a driver with the editor it will run, and a RequestFactory to use for subscription services.
requestFactory | a RequestFactory instance |
---|---|
editor | an Editor of type E |
Show Violations returned from an attempt to submit a request. The
violations will be converted into EditorError
objects whose
getUserData()
method can be used to
access the original Violation object.
violations | a Iterable over Violation instances |
---|
true
if there were any unconsumed EditorErrors which
can be retrieved from getErrors()