void () { Object selectedPopupObject = getSelectedPopupObject(); if (selectedPopupObject != null) { navigateInsideBar(mySelection.barIndex, selectedPopupObject, false); } int index = myModel.getSelectedIndex(); if (index != -1) ctrlClick(index); }