public class PathOutageProvider extends AbstractTopologyProvider
Modifier and Type | Field and Description |
---|---|
static String |
NAMESPACE |
graph, topologyProviderInfo
Constructor and Description |
---|
PathOutageProvider(NodeDao nodeDao,
PathOutageStatusProvider pathOutageStatusProvider) |
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 type)
Converts the provided
selectedVertices to a Selection. |
void |
refresh() |
getCurrentGraph, getNamespace, getSelection, getTopologyProviderInfo, setTopologyProviderInfo
public static final String NAMESPACE
public PathOutageProvider(NodeDao nodeDao, PathOutageStatusProvider pathOutageStatusProvider)
public void refresh()
refresh
in interface GraphProvider
refresh
in class AbstractTopologyProvider
public Defaults getDefaults()
public SelectionChangedListener.Selection getSelection(List<VertexRef> selectedVertices, ContentType type)
SelectionAware
selectedVertices
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 type
selectedVertices
- The vertices currently selected in the Topology UI.type
- The type to filter for. Represents the according browser table.SelectionChangedListener.Selection
public boolean contributesTo(ContentType type)
SelectionAware
GraphProvider
to define if it
contributes to a certain ContentType
.
If false
it is not shown in the browsers tab at alltype
- The type to check if this
contribute tothis
contributes to the provided type
Copyright © 2020. All rights reserved.