Interface GraphContainer

    • Method Detail

      • setMetaTopologyId

        void setMetaTopologyId​(String metaTopologyId)
      • getMetaTopologyId

        String getMetaTopologyId()
      • addCriteria

        void addCriteria​(Criteria criteria)
      • removeCriteria

        void removeCriteria​(Criteria criteria)
      • clearCriteria

        void clearCriteria()
      • selectTopologyProvider

        void selectTopologyProvider​(GraphProvider graphProvider,
                                    GraphContainer.Callback... callbacks)
        Selects the specified GraphProvider.
        Parameters:
        graphProvider - the provider to select.
        callbacks - callbacks to invoke after the provider has been selected (e.g. apply semantic zoom level, etc)
      • setSelectionManager

        void setSelectionManager​(SelectionManager selectionManager)
      • getGraph

        Graph getGraph()
      • hasAutoRefreshSupport

        boolean hasAutoRefreshSupport()
      • setSelectedNamespace

        void setSelectedNamespace​(String namespace)
      • getScaleProperty

        com.vaadin.v7.data.Property<Double> getScaleProperty()
      • getSessionId

        String getSessionId()
      • setDirty

        void setDirty​(boolean dirty)
      • fireGraphChanged

        void fireGraphChanged()
      • findCriteria

        <T extends CriteriaSet<T> findCriteria​(Class<T> criteriaType)
        Allows queriing the GraphContainer for specific types of criteria.
        Type Parameters:
        T - The criteria class.
        Parameters:
        criteriaType - The type to look for. May not be null.
        Returns:
        All criteria assigned to this GraphContainer which are of the same type (or a sub type) of criteriaType.
      • findSingleCriteria

        <T extends Criteria> T findSingleCriteria​(Class<T> criteriaType)
        Does the same as 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.
        Type Parameters:
        T - The criteria class.
        Parameters:
        criteriaType - The type to look for.
        Returns:
        The first found criteria, or null if none is found.
      • setIconManager

        void setIconManager​(IconManager iconManager)
      • saveLayout

        void saveLayout()