public class VEProviderGraphContainer extends Object implements GraphContainer, VertexListener, EdgeListener, org.osgi.framework.ServiceListener
| Modifier and Type | Class and Description |
|---|---|
static class |
VEProviderGraphContainer.ScaleProperty |
GraphContainer.Callback, GraphContainer.ChangeListener| Constructor and Description |
|---|
VEProviderGraphContainer() |
public int getSemanticZoomLevel()
getSemanticZoomLevel in interface DisplayStatepublic void setSemanticZoomLevel(int level)
setSemanticZoomLevel in interface DisplayStatepublic static SemanticZoomLevelCriteria getSemanticZoomLevelCriteriaForContainer(GraphContainer graphContainer)
public double getScale()
getScale in interface DisplayStatepublic com.vaadin.v7.data.Property<Double> getScaleProperty()
getScaleProperty in interface GraphContainerpublic void setScale(double scale)
setScale in interface DisplayStatepublic void setLayoutAlgorithm(LayoutAlgorithm layoutAlgorithm)
setLayoutAlgorithm in interface DisplayStatepublic LayoutAlgorithm getLayoutAlgorithm()
getLayoutAlgorithm in interface DisplayStatepublic void redoLayout()
redoLayout in interface DisplayStatepublic void setMetaTopologyId(String metaTopologyId)
setMetaTopologyId in interface GraphContainerpublic String getMetaTopologyId()
getMetaTopologyId in interface GraphContainerpublic TopologyServiceClient getTopologyServiceClient()
getTopologyServiceClient in interface GraphContainerpublic SelectionManager getSelectionManager()
getSelectionManager in interface GraphContainerpublic void setSelectionManager(SelectionManager selectionManager)
setSelectionManager in interface GraphContainerpublic Graph getGraph()
getGraph in interface GraphContainerpublic void clearCriteria()
clearCriteria in interface GraphContainerpublic Criteria[] getCriteria()
getCriteria in interface GraphContainerpublic void addCriteria(Criteria criteria)
addCriteria in interface GraphContainerpublic void removeCriteria(Criteria criteria)
removeCriteria in interface GraphContainerpublic void setBundleContext(org.osgi.framework.BundleContext bundleContext)
public void setTopologyService(TopologyService topologyService)
public void setLayoutManager(LayoutManager layoutManager)
public void fireGraphChanged()
fireGraphChanged in interface GraphContainerpublic <T extends Criteria> Set<T> findCriteria(Class<T> criteriaType)
GraphContainerGraphContainer for specific types of criteria.findCriteria in interface GraphContainerT - The criteria class.criteriaType - The type to look for. May not be null.GraphContainer which are of the same type (or a sub type) of criteriaType.public <T extends Criteria> T findSingleCriteria(Class<T> criteriaType)
GraphContainerGraphContainer.findCriteria(Class), but only returns one Criteria. If multiple criteria for the same
type are found, the first one is returned. No exception is thrown in that case.findSingleCriteria in interface GraphContainerT - The criteria class.criteriaType - The type to look for.public IconManager getIconManager()
getIconManager in interface GraphContainerpublic void setIconManager(IconManager iconManager)
setIconManager in interface GraphContainerpublic void selectTopologyProvider(GraphProvider graphProvider, GraphContainer.Callback... callbacks)
GraphContainerGraphProvider.selectTopologyProvider in interface GraphContainergraphProvider - the provider to select.callbacks - callbacks to invoke after the provider has been selected (e.g. apply semantic zoom level, etc)public void saveLayout()
saveLayout in interface GraphContainerpublic void addChangeListener(GraphContainer.ChangeListener listener)
addChangeListener in interface GraphContainerpublic void removeChangeListener(GraphContainer.ChangeListener listener)
removeChangeListener in interface GraphContainerpublic Collection<VertexRef> getVertexRefForest(Collection<VertexRef> vertexRefs)
getVertexRefForest in interface GraphContainerpublic void setSelectedNamespace(String namespace)
setSelectedNamespace in interface GraphContainerpublic void edgeSetChanged(BackendGraph graph)
edgeSetChanged in interface EdgeListenerpublic void edgeSetChanged(BackendGraph graph, Collection<? extends Edge> added, Collection<? extends Edge> updated, Collection<String> removedEdgeIds)
edgeSetChanged in interface EdgeListenerpublic void vertexSetChanged(BackendGraph graph)
vertexSetChanged in interface VertexListenerpublic void vertexSetChanged(BackendGraph graph, Collection<? extends Vertex> added, Collection<? extends Vertex> update, Collection<String> removedVertexIds)
vertexSetChanged in interface VertexListenerpublic MapViewManager getMapViewManager()
getMapViewManager in interface GraphContainerpublic String getSessionId()
getSessionId in interface GraphContainerpublic VaadinApplicationContext getApplicationContext()
getApplicationContext in interface GraphContainerpublic void setApplicationContext(VaadinApplicationContext applicationContext)
setApplicationContext in interface GraphContainerpublic void serviceChanged(org.osgi.framework.ServiceEvent event)
serviceChanged in interface org.osgi.framework.ServiceListenerpublic AutoRefreshSupport getAutoRefreshSupport()
getAutoRefreshSupport in interface GraphContainerpublic boolean hasAutoRefreshSupport()
hasAutoRefreshSupport in interface GraphContainerpublic void setAutoRefreshSupport(AutoRefreshSupport autoRefreshSupport)
public void setDirty(boolean isDirty)
setDirty in interface GraphContainerCopyright © 2022. All rights reserved.