Class EditorHierarchyPrinter
java.lang.Object
com.google.gwt.editor.client.EditorVisitor
com.google.gwt.editor.client.testing.EditorHierarchyPrinter
A utility class that creates a string representation of an Editor hierarchy
for testing purposes.
-
Method Summary
Modifier and TypeMethodDescription<T> voidendVisit(EditorContext<T> ctx) Exit an Editor.static StringtoString(EditorDriver<?> driver) Produce a string representation of the Editor hierarchy being controlled bydriver.<T> booleanvisit(EditorContext<T> ctx) Receive an Editor.
-
Method Details
-
toString
Produce a string representation of the Editor hierarchy being controlled bydriver. -
endVisit
Description copied from class:EditorVisitorExit an Editor. The default implementation is a no-op.- Overrides:
endVisitin classEditorVisitor- Parameters:
ctx- contextual data about the current Editor
-
visit
Description copied from class:EditorVisitorReceive an Editor. The default implementation always returnstrue.- Overrides:
visitin classEditorVisitor- Parameters:
ctx- contextual data about the current Editor- Returns:
trueif the visitor should visit any sub-editors of the current editor.
-