Package com.google.gwt.editor.client
Class EditorVisitor
java.lang.Object
com.google.gwt.editor.client.EditorVisitor
- Direct Known Subclasses:
EditorHierarchyPrinter
A visitor for examining an Editor hierarchy.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescription<T> void
endVisit
(EditorContext<T> ctx) Exit an Editor.<T> boolean
visit
(EditorContext<T> ctx) Receive an Editor.
-
Constructor Details
-
EditorVisitor
public EditorVisitor()
-
-
Method Details
-
endVisit
Exit an Editor. The default implementation is a no-op.- Parameters:
ctx
- contextual data about the current Editor
-
visit
Receive an Editor. The default implementation always returnstrue
.- Parameters:
ctx
- contextual data about the current Editor- Returns:
true
if the visitor should visit any sub-editors of the current editor.
-