public class DefaultTopologyServiceClient extends Object implements TopologyServiceClient
| Constructor and Description |
|---|
DefaultTopologyServiceClient(TopologyService topologyService) |
public DefaultTopologyServiceClient(TopologyService topologyService)
public 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 typepublic Vertex getVertex(VertexRef target, Criteria... criteria)
getVertex in interface TopologyServiceClientpublic String getNamespace()
getNamespace in interface TopologyServiceClientpublic Vertex getVertex(String namespace, String vertexId)
getVertex in interface TopologyServiceClientpublic int getVertexTotalCount()
getVertexTotalCount in interface TopologyServiceClientpublic int getEdgeTotalCount()
getEdgeTotalCount in interface TopologyServiceClientpublic TopologyProviderInfo getInfo()
getInfo in interface TopologyServiceClientpublic Defaults getDefaults()
getDefaults in interface TopologyServiceClientpublic Collection<GraphProvider> getGraphProviders()
getGraphProviders in interface TopologyServiceClientpublic Collection<VertexRef> getOppositeVertices(VertexRef vertexRef)
getOppositeVertices in interface TopologyServiceClientpublic GraphProvider getGraphProviderBy(String namespace)
getGraphProviderBy in interface TopologyServiceClientpublic GraphProvider getDefaultGraphProvider()
getDefaultGraphProvider in interface TopologyServiceClientpublic LayoutAlgorithm getPreferredLayoutAlgorithm()
getPreferredLayoutAlgorithm in interface TopologyServiceClientpublic BreadcrumbStrategy getBreadcrumbStrategy()
getBreadcrumbStrategy in interface TopologyServiceClientpublic String getMetaTopologyId()
getMetaTopologyId in interface TopologyServiceClientpublic void setMetaTopologyId(String metaTopologyId)
setMetaTopologyId in interface TopologyServiceClientpublic void setNamespace(String namespace)
setNamespace in interface TopologyServiceClientpublic Graph getGraph(Criteria[] criteria, int semanticZoomLevel)
getGraph in interface TopologyServiceClientCopyright © 2022. All rights reserved.