@Override
	public boolean applyTo(Program program, TaskMonitor monitor) {
		BookmarkManager mgr = program.getBookmarkManager();
		monitor.initialize(bookmarks.length);
		for (int i = 0; i < bookmarks.length; i++) {
			if (monitor.isCancelled()) {
				return true;
			}
			Bookmark bm = bookmarks[i];
			mgr.removeBookmark(bm);
			monitor.setProgress(i);
		}
		return true;
	}
@see ghidra.framework.cmd.BackgroundCommand#applyTo(ghidra.framework.model.DomainObject, ghidra.util.task.TaskMonitor)
Ghidra/Features/Base/src/main/java/ghidra/app/plugin/core/bookmark/BookmarkDeleteBackgroundCmd.java