private void updateButtonsState() {
    boolean hasSelection = !myRepositoriesTable.getSelectionModel().isSelectionEmpty();
    myUpdateButton.setEnabled(hasSelection);
    myUpdateButton.setFocusable(hasSelection);
  }
private void updateButtonsState()