private static void createDeleteContents(@NotNull Composite parent, @NotNull NavigatorObjectsDeleter deleter) {
        if (!deleter.supportsDeleteContents()) {
            return;
        }
        IProject project = deleter.getProjectToDelete();
        if (project == null || DBWorkbench.isDistributed()) {
            return;
        }
        Composite ph = UIUtils.createPlaceholder(parent, 2, 5);
        Button deleteContentsCheck = UIUtils.createCheckbox(
            ph,
            UINavigatorMessages.confirm_deleting_delete_contents_checkbox,
            UINavigatorMessages.confirm_deleting_delete_contents_checkbox_tooltip,
            false,
            2
        );
        deleteContentsCheck.addSelectionListener(new SelectionAdapter() {
            @Override
            public void widgetSelected(SelectionEvent e) {
                deleter.setDeleteContents(deleteContentsCheck.getSelection());
            }
        });
        UIUtils.createLabelText(ph,
            UINavigatorMessages.confirm_deleting_project_location_label,
            project.getLocation().toFile().getAbsolutePath(),
            SWT.READ_ONLY
        );
    }
Asks the user if they want to delete navigator objects.

@param shell confirmation's parent shell
@param title confirmation's title
@param message confirmation's message
@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