Interface ViewerLinkProvider

  • All Superinterfaces:
    Viewer

    public interface ViewerLinkProvider
    extends Viewer
    Interface for plugging in Viewers. Generally, these are implemented with jnlp files in /content/thredds/view/views/*.jnlp You can customizing by adding parameters to the jnlp file, eg parm=subst&name=value. Then all instances of "{param}" will be replaced by subst, and all instances of "{name}" will be replaced by value, etc.
    • Method Detail

      • getViewerLinks

        List<ViewerLinkProvider.ViewerLink> getViewerLinks​(thredds.client.catalog.Dataset ds,
                                                           javax.servlet.http.HttpServletRequest req)
        Get an HTML fragment link to the viewer JNLP file, for this dataset. Example: return "Integrated Data Viewer (IDV) (webstart)";
        Parameters:
        ds - the dataset to view
        req - the request
        Returns:
        HTML fragment string