protected boolean editorErrorMatches(final EditorError perror) {
    return perror != null && perror.getEditor() != null
        && (equals(perror.getEditor()) || perror.getEditor().equals(editor));
  }
protected boolean editorErrorMatches ( final EditorError perror ) { return perror != null && perror . getEditor ( ) != null && ( equals ( perror . getEditor ( ) ) || perror . getEditor ( ) . equals ( editor ) ) ; }
Checks if a error belongs to this widget.

@param perror editor error to check
@return true if the error belongs to this widget