List of usage examples for com.google.gwt.editor.client EditorError EditorError
EditorError
From source file:org.dashbuilder.client.widgets.dataset.editor.widgets.editors.elasticsearch.ELDataSetDefAttributesEditor.java
License:Apache License
private EditorError createError(final String path, final String message, final Editor<?> editor) { return new EditorError() { private boolean consumed = false; @Override/*from w ww .j a va 2s . c om*/ public String getAbsolutePath() { return path; } @Override public Editor<?> getEditor() { return editor; } @Override public String getMessage() { return message; } @Override public String getPath() { return null; } @Override public Object getUserData() { return null; } @Override public Object getValue() { return null; } @Override public boolean isConsumed() { return consumed; } @Override public void setConsumed(boolean consumed) { this.consumed = consumed; } }; }