Class EditorVisitor

java.lang.Object
com.google.gwt.editor.client.EditorVisitor
Direct Known Subclasses:
EditorHierarchyPrinter

public class EditorVisitor extends Object
A visitor for examining an Editor hierarchy.
  • Constructor Details

    • EditorVisitor

      public EditorVisitor()
  • Method Details

    • endVisit

      public <T> void endVisit(EditorContext<T> ctx)
      Exit an Editor. The default implementation is a no-op.
      Parameters:
      ctx - contextual data about the current Editor
    • visit

      public <T> boolean visit(EditorContext<T> ctx)
      Receive an Editor. The default implementation always returns true.
      Parameters:
      ctx - contextual data about the current Editor
      Returns:
      true if the visitor should visit any sub-editors of the current editor.