void (boolean handleFinalChoices, InputEvent e) { MyBranchPopupBuilder.BranchFilterAction branchAction = getSpecificAction(getList().getSelectedValue(), MyBranchPopupBuilder.BranchFilterAction.class); if (branchAction != null && e instanceof MouseEvent && myListElementRenderer.isIconAt(((MouseEvent)e).getPoint())) { branchAction.toggle(); getList().repaint(); } else { super.handleSelect(handleFinalChoices, e); } }