Skip to main content



      Home
Home » Modeling » GMF (Graphical Modeling Framework) » Add a label to an edge during a refresh?
Add a label to an edge during a refresh? [message #665605] Fri, 15 April 2011 05:00 Go to next message
Eclipse UserFriend
Hello,
I would like to dynamically add a label on my edge during the refresh of the given edit part.

I have no clue on how to do it, any idea?

Regards,

Xavier
Re: Add a label to an edge during a refresh? [message #666192 is a reply to message #665605] Tue, 19 April 2011 08:38 Go to previous messageGo to next message
Eclipse UserFriend
Hi,

define the label in the gmfgraph set it to invisible (use ViewProvider) and the set it to visible at refresh (e.g. in handleNotification or overriden refresh method).

Ralph
Re: Add a label to an edge during a refresh? [message #666205 is a reply to message #665605] Tue, 19 April 2011 09:22 Go to previous message
Eclipse UserFriend
Thanks,
Actually I would like to do it programmatically.

Regards,

Xavier
Previous Topic:centered labels in ellipse figure
Next Topic:[SOLVED]Connection Anchor
Goto Forum:
  


Current Time: Thu Jul 03 05:50:19 EDT 2025

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

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

Back to the top