public class GraphMLSearchProvider extends SimpleSearchProvider
SearchProvider
for GraphML definitions.
The provider searches for matching vertices in ALL graphs, not only the current visible one.Constructor and Description |
---|
GraphMLSearchProvider(GraphMLTopologyProvider graphMLTopologyProvider) |
Modifier and Type | Method and Description |
---|---|
boolean |
contributesTo(String namespace)
In GraphML graphs the namespace of each graph contained in the GraphML file should be prefixed, e.g.
|
String |
getSearchProviderNamespace()
This is a namespace for search providers...
|
void |
onFocusSearchResult(SearchResult searchResult,
OperationContext operationContext)
This method is called from the UI when the user wants to add a vertex that is in the current context
to the focus list.
|
List<? extends VertexRef> |
queryVertices(SearchQuery searchQuery,
GraphContainer container) |
addVertexHopCriteria, getVertexRefsBy, query, removeVertexHopCriteria, supportsPrefix
onCenterSearchResult, onDefocusSearchResult, onToggleCollapse, supportsPrefix
public GraphMLSearchProvider(GraphMLTopologyProvider graphMLTopologyProvider)
public boolean contributesTo(String namespace)
contributesTo
in interface SearchProvider
contributesTo
in class SimpleSearchProvider
namespace
- The namespace to checkSearchProvider
contributes, false otherwisepublic void onFocusSearchResult(SearchResult searchResult, OperationContext operationContext)
SearchProvider
onFocusSearchResult
in interface SearchProvider
onFocusSearchResult
in class AbstractSearchProvider
public String getSearchProviderNamespace()
SearchProvider
public List<? extends VertexRef> queryVertices(SearchQuery searchQuery, GraphContainer container)
queryVertices
in class SimpleSearchProvider
Copyright © 2021. All rights reserved.