@Override
public void performClickAction(Document doc, int offset, HyperlinkType type) {
// open file
if (goToItems.size() == 1) {
GoToItem item = goToItems.get(0);
UiUtils.open(item.getFileObject(), DEFAULT_OFFSET);
}
// i18n
JTextComponent editor = EditorRegistry.lastFocusedComponent();
// show popup
if (editor != null && !goToItems.isEmpty()) {