public void run(ITextSelection selection) {

    if (!checkEnabled(selection)) return;

    IRegion region = new Region(selection.getOffset(), selection.getLength());
    PropertyKeyHyperlinkDetector detector = new PropertyKeyHyperlinkDetector();
    detector.setContext(fEditor);
    IHyperlink[] hyperlinks =
        detector.detectHyperlinks(fEditor.internalGetSourceViewer(), region, false);

    if (hyperlinks != null && hyperlinks.length == 1) hyperlinks[0].open();
  }