private static void createCheckbox(
        @NotNull Composite checkboxesComposite,
        @NotNull NavigatorObjectsDeleter.Option option,
        @NotNull NavigatorObjectsDeleter deleter
    ) {
        Composite placeholder = UIUtils.createPlaceholder(checkboxesComposite, 1, 5);
        Button checkbox = UIUtils.createCheckbox(placeholder, option.getLabel(), option.getTip(), false, 0);
        checkbox.addSelectionListener(new SelectionAdapter() {
            @Override
            public void widgetSelected(SelectionEvent e) {
                if (checkbox.getSelection()) {
                    deleter.enableOption(option);
                } else {
                    deleter.disableOption(option);
                }
            }
        });
    }
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