void (ActionEvent e) { Object[] values = popupImpl.getSelectedValues(); popupImpl.cancel(); settingsService.openArtifactSettings(values.length > 0 ? ((ArtifactPopupItem)values[0]).getArtifact() : null); }