org.eclipse.viatra.integration.zest.viewer

## Interface IGraphEdgeContentProvider

- All Superinterfaces:
    org.eclipse.jface.viewers.IContentProvider, INestedGraphContentProvider
  All Known Implementing Classes:
    ZestContentProvider

      public interface IGraphEdgeContentProvider
      extends org.eclipse.jface.viewers.IContentProvider, INestedGraphContentProvider

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `java.lang.Object[]` | `getEdges()` Returns all content elements which represent edges.
    `java.lang.Object[]` | `getNodes()` Returns all content elements which represent nodes on the first level of the graph.
    `java.lang.Object` | `getSource(java.lang.Object edge)`
    `java.lang.Object` | `getTarget(java.lang.Object edge)`

    - ### Methods inherited from interface org.eclipse.viatra.integration.zest.viewer.INestedGraphContentProvider

      `getNestedGraphNodes, hasNestedGraph`

    - ### Methods inherited from interface org.eclipse.jface.viewers.IContentProvider

      `dispose, inputChanged`

- - ### Method Detail

    - #### getNodes

          java.lang.Object[] getNodes()

      Returns all content elements which represent nodes on the first level of the graph. If no nodes exist, either an empty array or `null` is returned.
      Specified by:
        `getNodes` in interface `INestedGraphContentProvider`
      Returns:
        All content elements which represent nodes on the first level of the graph.

    - #### getEdges

          java.lang.Object[] getEdges()

      Returns all content elements which represent edges.
      Parameters:
        `node` - A model object representing a graph edge.
      Returns:

    - #### getSource

          java.lang.Object getSource(java.lang.Object edge)

    - #### getTarget

          java.lang.Object getTarget(java.lang.Object edge)