public class LegacyTopologyProvider extends Object implements GraphProvider
| Constructor and Description |
|---|
LegacyTopologyProvider(LegacyTopologyConfiguration configuration,
NodeDao nodeDao,
GraphService graphService,
EnrichmentService enrichmentService,
String containerId,
String graphNamespace) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
contributesTo(ContentType type)
Allows the
GraphProvider to define if it
contributes to a certain ContentType. |
BackendGraph |
getCurrentGraph() |
Defaults |
getDefaults() |
String |
getNamespace() |
SelectionChangedListener.Selection |
getSelection(List<VertexRef> selectedVertices,
ContentType type)
Converts the provided
selectedVertices to a Selection. |
TopologyProviderInfo |
getTopologyProviderInfo() |
void |
refresh() |
public LegacyTopologyProvider(LegacyTopologyConfiguration configuration, NodeDao nodeDao, GraphService graphService, EnrichmentService enrichmentService, String containerId, String graphNamespace)
public BackendGraph getCurrentGraph()
getCurrentGraph in interface GraphProviderpublic void refresh()
refresh in interface GraphProviderpublic String getNamespace()
getNamespace in interface GraphProviderpublic Defaults getDefaults()
getDefaults in interface GraphProviderpublic TopologyProviderInfo getTopologyProviderInfo()
getTopologyProviderInfo in interface GraphProviderpublic SelectionChangedListener.Selection getSelection(List<VertexRef> selectedVertices, ContentType type)
SelectionAwareselectedVertices to a Selection.
The provided type represents the according browser table.
This method is only invoked if SelectionAware.contributesTo(ContentType) returns to for the provided typegetSelection in interface SelectionAwareselectedVertices - The vertices currently selected in the Topology UI.type - The type to filter for. Represents the according browser table.SelectionChangedListener.Selectionpublic boolean contributesTo(ContentType type)
SelectionAwareGraphProvider to define if it
contributes to a certain ContentType.
If false it is not shown in the browsers tab at allcontributesTo in interface SelectionAwaretype - The type to check if this contribute tothis contributes to the provided typeCopyright © 2022. All rights reserved.