public interface IEntityConnectionStyleProvider extends IDisposable
Modifier and Type | Method and Description |
---|---|
Color |
getColor(java.lang.Object src,
java.lang.Object dest)
Returns the color for the connection.
|
int |
getConnectionStyle(java.lang.Object src,
java.lang.Object dest)
Returns the style flags for this connection.
|
Color |
getHighlightColor(java.lang.Object src,
java.lang.Object dest)
Returns the highlighted color for this connection.
|
int |
getLineWidth(java.lang.Object src,
java.lang.Object dest)
Returns the line width of the connection. -1 for default.
|
org.eclipse.draw2d.ConnectionRouter |
getRouter(java.lang.Object src,
java.lang.Object dest)
Returns the connection router of the single relation.
|
org.eclipse.draw2d.IFigure |
getTooltip(java.lang.Object src,
java.lang.Object dest)
Returns the tooltip for the connection.
|
dispose
int getConnectionStyle(java.lang.Object src, java.lang.Object dest)
src
- the source entity.dest
- the destination entity.ZestStyles
Color getColor(java.lang.Object src, java.lang.Object dest)
src
- the source entity. Any resources created by this class must be
disposed by this class.dest
- the destination entity.IDisposable.dispose()
Color getHighlightColor(java.lang.Object src, java.lang.Object dest)
src
- the source entity. Any resources created by this class must be
disposed by this class.dest
- the destination entity.IDisposable.dispose()
int getLineWidth(java.lang.Object src, java.lang.Object dest)
src
- the source entity.dest
- the destination entity.org.eclipse.draw2d.IFigure getTooltip(java.lang.Object src, java.lang.Object dest)
src
- the source entity.dest
- the destination entity.org.eclipse.draw2d.ConnectionRouter getRouter(java.lang.Object src, java.lang.Object dest)
src
- the source entity.dest
- the destination entity.Copyright (c) 2014 itemis AG and others. All rights reserved.