@Override
  public void onSelectionChange(final Runnable runnable) {
    myTree.getSelectionModel().addTreeSelectionListener(e -> runnable.run());
  }
@Override
  public void onSelectionChange(final Runnable runnable)