class UserEditorScreen {

    void onUserDeleted(@Observes final DeleteUserEvent deleteUserEvent) {
        final String deletedId = deleteUserEvent.getIdentifier();
        if (userId != null && userId.equals(deletedId)) {
            closeEditor();
        }
    }

}