Skip to main content



      Home
Home » Modeling » GMF (Graphical Modeling Framework) » Multiple Labels on One Connection
Multiple Labels on One Connection [message #236058] Fri, 10 July 2009 07:07 Go to next message
Eclipse UserFriend
Hi All!

I am very new to GMF and trying to develop simple component connector model,
in which we can connect two components with one connection. Application
works fine. What i am trying to do is to have two labels on link instead of
one. The two properties are "Name" and "Title" (very confusing though). I am
using "Feature Label" to display thse two properties and have used
"Alignment Faced" to make them show on two extreme sides of Connection
(BEGINNING, END).
At this point these two labels show same icon. I can easily make some other
icon to be displayed instead of existing one just be replacement. My goal is
to show two different icons for these two properties. Can anybody please
help me out of it

Best Regards,
- Aman
Re: Multiple Labels on One Connection [message #236456 is a reply to message #236058] Mon, 20 July 2009 07:21 Go to previous message
Eclipse UserFriend
Hello Aman-Ul-Haq,

Looks like you have to modify XXXEditPart.getLabelIcon() method generated
for the Label.

-----------------
Alex Shatalin
Previous Topic:Template GMF migration from 2.1 to 2.2
Next Topic:Predefined Font
Goto Forum:
  


Current Time: Mon Jul 07 11:12:17 EDT 2025

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

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

Back to the top