Interface IConnectionStyleProvider

All Superinterfaces:
IDisposable
All Known Subinterfaces:
IConnectionStyleProvider2

@Deprecated(since="1.19", forRemoval=true) public interface IConnectionStyleProvider extends IDisposable
Deprecated, for removal: This API element is subject to removal in a future version.
Use ConnectionStyleDecorator instead. This interface will be removed after the 2028-09 release.
An extension to label providers, to supply styles for connections based upon relationships, rather than on connected nodes.
See Also:
  • Method Summary

    Modifier and Type
    Method
    Description
    Deprecated, for removal: This API element is subject to removal in a future version.
    int
    Deprecated, for removal: This API element is subject to removal in a future version.
    Deprecated, for removal: This API element is subject to removal in a future version.
    int
    Deprecated, for removal: This API element is subject to removal in a future version.
    org.eclipse.draw2d.IFigure
    Deprecated, for removal: This API element is subject to removal in a future version.

    Methods inherited from interface org.eclipse.ui.services.IDisposable

    dispose
  • Method Details

    • getConnectionStyle

      @Deprecated(since="1.19", forRemoval=true) int getConnectionStyle(Object rel)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Returns the style flags for this connection. Valid flags are those that begin with CONNECTION in @see org.eclipse.zest.core.ZestStyles. Check ZestStyles for legal combinations.
      Parameters:
      rel - the relationship represented by this connection.
      Returns:
      the style flags for this connection.
      See Also:
    • getColor

      @Deprecated(since="1.19", forRemoval=true) Color getColor(Object rel)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Returns the color for the connection. Null for default. Any resources created by this class must be disposed by this class.
      Parameters:
      rel - the relationship represented by this connection.
      Returns:
      the color.
      See Also:
    • getHighlightColor

      @Deprecated(since="1.19", forRemoval=true) Color getHighlightColor(Object rel)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Returns the highlighted color for this connection. Null for default. Any resources created by this class must be disposed by this class.
      Parameters:
      rel - the relationship represented by this connection.
      Returns:
      the highlighted color. Null for default.
      See Also:
    • getLineWidth

      @Deprecated(since="1.19", forRemoval=true) int getLineWidth(Object rel)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Returns the line width of the connection. -1 for default.
      Parameters:
      rel - the relationship represented by this connection.
      Returns:
      the line width for the connection. -1 for default.
    • getTooltip

      @Deprecated(since="1.19", forRemoval=true) org.eclipse.draw2d.IFigure getTooltip(Object entity)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Returns the tooltop for this node. If null is returned Zest will simply use the default tooltip.
      Parameters:
      entity -