private void showCheckedOutVersionedDialog(DomainFile file) throws CancelledException {
		if (checkedOutDialogBuilder == null) {

			//@formatter:off
			checkedOutDialogBuilder = 
				new OptionDialogBuilder("Delete Not Allowed")
				.addOption("OK")
				.addCancel()
				.setMessageType(OptionDialog.ERROR_MESSAGE)
				;
			//@formatter:on

			if (getFileCount() > 1) {
				checkedOutDialogBuilder.addDontShowAgainOption();
			}
		}

		String msg = "The file \"" + file.getName() +
			"\" is a versioned file that you have\n checked out. It can't be deleted!";
		checkedOutDialogBuilder.setMessage(msg);
		if (checkedOutDialogBuilder.show(parent) == OptionDialog.CANCEL_OPTION) {
			throw new CancelledException();
		}
	}
Construct a new DeleteProjectFilesTask with the list of folders and files to delete.

@param folders the fist of DomainFolders (and all files contained recursively 
in those folders) to delete
@param files the list of DomainFiles to delete
@param fileCount the number of files being deleted
@param parent the component to use for parenting any dialogs that are shown
Ghidra/Framework/Project/src/main/java/ghidra/framework/main/projectdata/actions/DeleteProjectFilesTask.java