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