public interface IConnectionStyleProvider extends IDisposable
#IGraphContentProvider
,
#IEntityStyleProvider
Modifier and Type | Method and Description |
---|---|
Color |
getColor(java.lang.Object rel)
Returns the color for the connection.
|
IConnectionDecorator |
getConnectionDecorator(java.lang.Object rel)
Returns the connection decoration for a single relation.
|
int |
getConnectionStyle(java.lang.Object rel)
Returns the style flags for this connection.
|
Color |
getHighlightColor(java.lang.Object rel)
Returns the highlighted color for this connection.
|
int |
getLineWidth(java.lang.Object rel)
Returns the line width of the connection. -1 for default.
|
org.eclipse.draw2d.ConnectionRouter |
getRouter(java.lang.Object rel)
Returns the connection router of the single relation.
|
org.eclipse.draw2d.IFigure |
getTooltip(java.lang.Object rel)
Returns the tooltip for the connection.
|
dispose
int getConnectionStyle(java.lang.Object rel)
rel
- the relationship represented by this connection.ZestStyles
Color getColor(java.lang.Object rel)
rel
- the relationship represented by this connection.IDisposable.dispose()
Color getHighlightColor(java.lang.Object rel)
rel
- the relationship represented by this connection.IDisposable.dispose()
int getLineWidth(java.lang.Object rel)
rel
- the relationship represented by this connection.org.eclipse.draw2d.IFigure getTooltip(java.lang.Object rel)
rel
- the relationship represented by this connection.org.eclipse.draw2d.ConnectionRouter getRouter(java.lang.Object rel)
rel
- the relationship represented by this connection.IConnectionDecorator getConnectionDecorator(java.lang.Object rel)
rel
- the relationship represented by this connection.Copyright (c) 2014 itemis AG and others. All rights reserved.