Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » GraphConnection not exposing labels(Labels on GraphConnections cannot be modified separately)
GraphConnection not exposing labels [message #554209] Fri, 20 August 2010 14:19
Sfynx is currently offline SfynxFriend
Messages: 1
Registered: August 2010
Junior Member
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?)
Previous Topic:Label inside compartment
Next Topic:How to set NodeStyle (GraphNode / GraphContainer)
Goto Forum:
  


Current Time: Thu Apr 25 13:01:00 GMT 2024

Powered by FUDForum. Page generated in 0.03027 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top