org.eclipse.viatra.integration.zest.viewer

## Interface IGraphAttributesProvider2

- All Superinterfaces:
    org.eclipse.jface.viewers.IBaseLabelProvider, org.eclipse.gef.zest.fx.jface.IGraphAttributesProvider, org.eclipse.jface.viewers.ILabelProvider
  All Known Implementing Classes:
    ZestLabelProvider

      public interface IGraphAttributesProvider2
      extends org.eclipse.gef.zest.fx.jface.IGraphAttributesProvider

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `java.util.Map<java.lang.String,java.lang.Object>` | `getEdgeAttributes(java.lang.Object edge)` Determines the attributes that should be set on the edge with the specified source and target content elements.

    - ### Methods inherited from interface org.eclipse.gef.zest.fx.jface.IGraphAttributesProvider

      `getEdgeAttributes, getGraphAttributes, getNestedGraphAttributes, getNodeAttributes`

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

      `getImage, getText`

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

      `addListener, dispose, isLabelProperty, removeListener`

- - ### Method Detail

    - #### getEdgeAttributes

          java.util.Map<java.lang.String,java.lang.Object> getEdgeAttributes(java.lang.Object edge)

      Determines the attributes that should be set on the edge with the specified source and target content elements. If no attributes should be set on the edge, either an empty map or `null` can be returned.
      Parameters:
        `edge` - A content element representing the edge, according to the `IGraphEntityRelationshipContentProvider.getEdges(Object, Object)` method.
      Returns:
        A mapping from attribute names to values that should be set on the specified edge.
      See Also:
        `For an overview of the supported attributes.`