void (final Object[] elements, final @Nullable Runnable onDone, boolean addToSelection) { AbstractTreeUi ui = getUi(); if (ui != null) ui.userSelect(elements, new UserRunnable(onDone), addToSelection, true); }