public class GraphMLTopologyProvider extends AbstractTopologyProvider implements GraphProvider
| Modifier and Type | Class and Description |
|---|---|
static class |
GraphMLTopologyProvider.VertexStatusProviderType |
AbstractTopologyProvider.IdGenerator| Modifier and Type | Field and Description |
|---|---|
protected static String |
DEFAULT_DESCRIPTION |
SIMPLE_EDGE_ID_PREFIX, SIMPLE_GROUP_ID_PREFIX, SIMPLE_VERTEX_ID_PREFIX, topologyProviderInfom_edgeProvider, m_vertexProvider| Constructor and Description |
|---|
GraphMLTopologyProvider(GraphMLMetaTopologyProvider metaTopologyProvider,
GraphMLGraph graph,
GraphMLServiceAccessor serviceAccessor) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
contributesTo(ContentType type)
Allows the
GraphProvider to define if it
contributes to a certain ContentType. |
Defaults |
getDefaults() |
SelectionChangedListener.Selection |
getSelection(List<VertexRef> selectedVertices,
ContentType contentType)
Converts the provided
selectedVertices to a Selection. |
GraphMLTopologyProvider.VertexStatusProviderType |
getVertexStatusProviderType() |
void |
load(String filename) |
void |
refresh() |
void |
save() |
addEdges, addGroup, addGroup, addVertex, addVertex, addVertices, clearCounters, connectVertices, connectVertices, getEdgeIdsForVertex, getEdgeIdsForVertices, getGroups, getNextEdgeId, getNextGroupId, getNextVertexId, getTopologyProviderInfo, getVerticesWithoutGroups, groupingSupported, removeEdges, removeVertex, resetContainer, setTopologyProviderInfoaddEdgeListener, addVertexListener, clearEdges, clearVertices, containsVertexId, containsVertexId, contributesTo, getChildren, getEdge, getEdge, getEdgeNamespace, getEdges, getEdges, getParent, getRootGroup, getSemanticZoomLevel, getSimpleEdgeProvider, getSimpleVertexProvider, getVertex, getVertex, getVertexNamespace, getVertexTotalCount, getVertices, getVertices, hasChildren, removeEdgeListener, removeVertexListener, setParentclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddEdges, addGroup, addVertex, addVertices, connectVertices, getEdgeIdsForVertex, getEdgeIdsForVertices, getTopologyProviderInfo, groupingSupported, removeEdges, removeVertex, resetContaineraddVertexListener, clearVertices, containsVertexId, containsVertexId, contributesTo, getChildren, getParent, getRootGroup, getSemanticZoomLevel, getVertex, getVertex, getVertexNamespace, getVertexTotalCount, getVertices, getVertices, hasChildren, removeVertexListener, setParentaddEdgeListener, clearEdges, contributesTo, getEdge, getEdge, getEdgeNamespace, getEdges, getEdges, removeEdgeListenerprotected static final String DEFAULT_DESCRIPTION
public GraphMLTopologyProvider(GraphMLMetaTopologyProvider metaTopologyProvider, GraphMLGraph graph, GraphMLServiceAccessor serviceAccessor)
public void refresh()
refresh in interface GraphProviderrefresh in class AbstractTopologyProviderpublic void load(String filename) throws MalformedURLException, JAXBException
load in interface GraphProviderload in class AbstractTopologyProviderMalformedURLExceptionJAXBExceptionpublic void save()
save in interface GraphProvidersave in class AbstractTopologyProviderpublic Defaults getDefaults()
getDefaults in interface GraphProviderpublic SelectionChangedListener.Selection getSelection(List<VertexRef> selectedVertices, ContentType contentType)
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.contentType - 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 GraphMLTopologyProvider.VertexStatusProviderType getVertexStatusProviderType()
Copyright © 2020. All rights reserved.