List of usage examples for com.google.gwt.editor.client EditorContext asHasEditorDelegate
HasEditorDelegate<T> asHasEditorDelegate();
From source file:com.google.gwt.editor.client.testing.EditorHierarchyPrinter.java
License:Apache License
@Override public <T> boolean visit(EditorContext<T> ctx) { println(ctx.getAbsolutePath());/* ww w. j a va 2s . c o m*/ data(ctx.getEditedType().getName()); data(ctx.getEditor().getClass().getName()); data("Implements: " // + ctx.asCompositeEditor() == null ? "" : "CompositeEditor " // + ctx.asHasEditorDelegate() == null ? "" : "HasEditorDelegate " // + ctx.asHasEditorErrors() == null ? "" : "HasEditorErrors " // + ctx.asLeafValueEditor() == null ? "" : "LeafValueEditor " // + ctx.asValueAwareEditor() == null ? "" : "ValueAwareEditor "); level++; return true; }