public static Reply confirm(
        @NotNull Shell shell,
        @NotNull Collection<?> selectedObjects,
        @Nullable NavigatorObjectsDeleter deleter
    ) {
        if (selectedObjects.size() > 1) {
            return confirm(
                shell,
                UINavigatorMessages.confirm_deleting_multiple_objects_title,
                NLS.bind(UINavigatorMessages.confirm_deleting_multiple_objects_message, selectedObjects.size()),
                selectedObjects,
                deleter
            );
        }
        DBNNode node = (DBNNode) selectedObjects.iterator().next();
        String title = NLS.bind(node instanceof DBNLocalFolder ? UINavigatorMessages.confirm_local_folder_delete_title : UINavigatorMessages.confirm_entity_delete_title,
            node.getNodeTypeLabel(),
            node.getNodeDisplayName());
        String message = NLS.bind(node instanceof DBNLocalFolder ? UINavigatorMessages.confirm_local_folder_delete_message : UINavigatorMessages.confirm_entity_delete_message,
            node.getNodeTypeLabel(),
            node.getNodeDisplayName());
        return confirm(shell, title, message, selectedObjects, deleter);
    }
Asks the user if they want to delete navigator objects.

@param shell confirmation's parent shell
@param selectedObjects objects to delete
@param deleter deleter
@return user's reply
plugins/org.jkiss.dbeaver.ui.navigator/src/org/jkiss/dbeaver/ui/navigator/dialogs/NavigatorNodesDeletionConfirmations.java