class GroupEditorScreen {

    void onGroupDeleted(@Observes final DeleteGroupEvent deleteGroupEvent) {
        final String deletedGroup = deleteGroupEvent.getName();
        if (groupName != null && groupName.equals(deletedGroup)) {
            closeEditor();
        }
    }

}