public class SimpleGraphProvider extends AbstractTopologyProvider implements GraphProvider
graph, topologyProviderInfo| Constructor and Description | 
|---|
SimpleGraphProvider(BackendGraph graph)  | 
| 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. | 
void | 
refresh()  | 
getCurrentGraph, getNamespace, getSelection, getTopologyProviderInfo, setTopologyProviderInfoclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetCurrentGraph, getNamespace, getTopologyProviderInfopublic SimpleGraphProvider(BackendGraph graph)
public void refresh()
refresh in interface GraphProviderrefresh 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 typeCopyright © 2020. All rights reserved.