Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » [Zest] setText of connection with GraphViewer
[Zest] setText of connection with GraphViewer [message #248518] Wed, 22 April 2009 14:59 Go to next message
Kai Schlamp is currently offline Kai SchlampFriend
Messages: 344
Registered: July 2009
Senior Member
Hello.

There is the possibility to set the text of a graph connection directly
by GraphConnection.setText method. But I don't see that option for the
GraphViewer. The label provider's text method only sets the node text.
Do I miss something?
If not, then I will implement it as
IConnectionStyleProvider.getConnectionText().

Best regards,
Kai
Re: [Zest] setText of connection with GraphViewer [message #248535 is a reply to message #248518] Wed, 22 April 2009 15:09 Go to previous message
Kai Schlamp is currently offline Kai SchlampFriend
Messages: 344
Registered: July 2009
Senior Member
Never mind. The label providers getText method also works for connections.

Kai Schlamp schrieb:
> Hello.
>
> There is the possibility to set the text of a graph connection directly
> by GraphConnection.setText method. But I don't see that option for the
> GraphViewer. The label provider's text method only sets the node text.
> Do I miss something?
> If not, then I will implement it as
> IConnectionStyleProvider.getConnectionText().
>
> Best regards,
> Kai
Previous Topic:How to open editor inside composite?
Next Topic:z-index of figures
Goto Forum:
  


Current Time: Thu Apr 18 04:21:18 GMT 2024

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

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

Back to the top