GraphConnection not exposing labels [message #554209] |
Fri, 20 August 2010 10:19 |
Eclipse User |
|
|
|
I'm trying to adjust the color of the labels of GraphConnection objects, however it turns out the line and label are always the same color. Since I cannot retrieve the connectionLabel instance inside (it is private and no method exists to retrieve it), I also cannot adjust this in a label provider (e.g. using the ISelfStyleProvider interface).
How would I have to proceed now to modify the label text color only? This also is an issue for moving the labels, for instance to prevent them from intersecting the connection lines all the time.
(I hope I'm just missing something obvious, however a getTextColor on IConnectionStyleProvider would be the logical solution for such a thing?)
|
|
|
Powered by
FUDForum. Page generated in 0.05656 seconds