private void chooseItems(boolean withEnterOrDoubleClick) {
    for (ItemWrapper item : getSelectedItems()) {
      myDelegate.itemChosen(item, myProject, myPopup, withEnterOrDoubleClick);
    }
  }
private void chooseItems(boolean withEnterOrDoubleClick)