/**
   * This listener for the linkButton uses BareBonesBrowserLauncher, passing it URLlink.
   *
   * @see ActionListener#actionPerformed(ActionEvent)
   */
  public void actionPerformed(ActionEvent e) {

    if (filePath != null) {

      File f = new File(filePath);
      // if link to local file that exists, open in Editor.
      if (f.exists()) EditorAgent.openLocalFile(f);
    } else if (fileID > 0) {
      /*TODO: review that work
      EventBus bus = MetadataViewerAgent.getRegistry().getEventBus();
      bus.post(new EditFileEvent(fileID));
      */
    }
  }