List of usage examples for com.google.gwt.editor.client EditorDriver accept
void accept(EditorVisitor visitor);
From source file:com.google.gwt.editor.client.testing.EditorHierarchyPrinter.java
License:Apache License
/** * Produce a string representation of the Editor hierarchy being controlled by * {@code driver}.//w w w. ja v a 2s. c o m */ public static String toString(EditorDriver<?> driver) { StringBuilder sb = new StringBuilder(); driver.accept(new EditorHierarchyPrinter(sb)); return sb.toString(); }