Navigatable () { if (navigatable == null || navigatable == NonNavigatable.INSTANCE) { for (String id : myListenerMap.keySet()) { if (id.startsWith("openFile:")) { return new NavigatableAdapter() { @Override public void navigate(boolean requestFocus) { NotificationListener listener = myListenerMap.get(id); if (listener != null) { // Notification here used only to be able to call 'NotificationListener.hyperlinkUpdate' //noinspection UnresolvedPluginConfigReference listener.hyperlinkUpdate(new Notification("", "", NotificationType.INFORMATION), IJSwingUtilities.createHyperlinkEvent(id, listener)); } } }; } } } return navigatable; }