public final class EditorHierarchyPrinter extends EditorVisitor
Modifier and Type | Method and Description |
---|---|
<T> void |
endVisit(EditorContext<T> ctx)
Exit an Editor.
|
static java.lang.String |
toString(EditorDriver<?> driver)
Produce a string representation of the Editor hierarchy being controlled by
driver . |
<T> boolean |
visit(EditorContext<T> ctx)
Receive an Editor.
|
public static java.lang.String toString(EditorDriver<?> driver)
driver
.public <T> void endVisit(EditorContext<T> ctx)
EditorVisitor
endVisit
in class EditorVisitor
ctx
- contextual data about the current Editorpublic <T> boolean visit(EditorContext<T> ctx)
EditorVisitor
true
.visit
in class EditorVisitor
ctx
- contextual data about the current Editortrue
if the visitor should visit any sub-editors of the
current editor.