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> void
endVisit
(EditorContext<T> ctx) Exit an Editor.static String
toString
(EditorDriver<?> driver) Produce a string representation of the Editor hierarchy being controlled bydriver
.<T> boolean
visit
(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:EditorVisitor
Exit an Editor. The default implementation is a no-op.- Overrides:
endVisit
in classEditorVisitor
- Parameters:
ctx
- contextual data about the current Editor
-
visit
Description copied from class:EditorVisitor
Receive an Editor. The default implementation always returnstrue
.- Overrides:
visit
in classEditorVisitor
- Parameters:
ctx
- contextual data about the current Editor- Returns:
true
if the visitor should visit any sub-editors of the current editor.
-