class EdgeIdSearchProvider implements SearchProvider<Edge> {

    @Override
    public void search(SearchRequest request, SearchResultsBuilder<Edge> resultsBuilder) {<FILL_FUNCTION_BODY>}

    private String toHtmlDisplay(Edge edge) {
        return NbBundle.getMessage(EdgeIdSearchProvider.class,
            "EdgeIdSearchProvider.result", edge.getId());
    }
}

        if (request.isCategoryIncluded(SearchCategoryImpl.EDGES())) {
            Edge edge = request.getGraph().getEdge(request.getQuery());

            if (edge != null) {
                resultsBuilder.addResult(edge, toHtmlDisplay(edge), NbBundle.getMessage(EdgeIdSearchProvider.class,
                    "EdgeIdSearchProvider.match"));
            }
        }
    
<no_super_class>