Class LinkdSelectionAware

    • Constructor Detail

      • LinkdSelectionAware

        public LinkdSelectionAware()
    • Method Detail

      • contributesTo

        public boolean contributesTo​(ContentType type)
        Description copied from interface: SelectionAware
        Allows the GraphProvider to define if it contributes to a certain ContentType. If false it is not shown in the browsers tab at all
        Specified by:
        contributesTo in interface SelectionAware
        Parameters:
        type - The type to check if this contribute to
        Returns:
        true if this contributes to the provided type
      • extractNodeIds

        protected java.util.List<java.lang.Integer> extractNodeIds​(java.util.Collection<VertexRef> vertices)
        Gets the node ids from the given vertices. A node id can only be extracted from a vertex with a "nodes"' namespace. For a vertex with namespace "node" the "getId()" method always returns the node id.
        Parameters:
        vertices -
        Returns: