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:Create a new EditPart with ToolEntry is forbidden?
Next Topic:How to set NodeStyle (GraphNode / GraphContainer)
Goto Forum:

Current Time: Sun Jun 24 01:55:56 GMT 2018

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

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

Back to the top