Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMF (Graphical Modeling Framework) » Intelligent labels
Intelligent labels [message #85021] Wed, 13 December 2006 08:40 Go to next message
Andy Evans is currently offline Andy EvansFriend
Messages: 61
Registered: July 2009
Member
Does anyone know if GMF supports the intelligent placement of
labels on edges, and if so, where/how to access it?

Thanks,

Andy
Re: Intelligent labels [message #85111 is a reply to message #85021] Wed, 13 December 2006 11:54 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: 5d5.mail.ru

Hello!

What do you mean under 'intelligent'? We plan to support external labels
as border items so if you have a particular requirement please let us
know )))

ase wrote:
> Does anyone know if GMF supports the intelligent placement of
> labels on edges, and if so, where/how to access it?
>
> Thanks,
>
> Andy
>
>
Re: Intelligent labels [message #85384 is a reply to message #85111] Thu, 14 December 2006 11:51 Go to previous messageGo to next message
Andy Evans is currently offline Andy EvansFriend
Messages: 61
Registered: July 2009
Member
Dmitry

Thanks - I'm interested in looking at adapting the code that supports
floating of
labels on edges near nodes. Can you point me to it please.

Andy

>You are talking about link labels and they already behave as you have
>said. You could specify relative label position on the link (source,
>target and center) and offset via viewmap attributes
>(LabelOffsetAttributes).

>@see http://wiki.eclipse.org/index.php/GMF_Labels

"Dmitry Stadnik" <5d5@mail.ru> wrote in message
news:elopkt$2ci$1@utils.eclipse.org...
> Hello!
>
> What do you mean under 'intelligent'? We plan to support external labels
> as border items so if you have a particular requirement please let us
> know )))
>
> ase wrote:
>> Does anyone know if GMF supports the intelligent placement of
>> labels on edges, and if so, where/how to access it?
>>
>> Thanks,
>>
>> Andy
Re: Intelligent labels [message #85479 is a reply to message #85384] Thu, 14 December 2006 14:34 Go to previous message
Boris Blajer is currently offline Boris BlajerFriend
Messages: 217
Registered: July 2009
Senior Member
Hi Andy,

is GenLinkLabel.alignment what you are looking for?

Best regards,
Boris


"ase" <andye@xactium.com> wrote in message
news:elrdsb$d70$1@utils.eclipse.org...
> Dmitry
>
> Thanks - I'm interested in looking at adapting the code that supports
> floating of
> labels on edges near nodes. Can you point me to it please.
>
> Andy
>
>>You are talking about link labels and they already behave as you have
>>said. You could specify relative label position on the link (source,
>>target and center) and offset via viewmap attributes
>>(LabelOffsetAttributes).
>
>>@see http://wiki.eclipse.org/index.php/GMF_Labels
>
> "Dmitry Stadnik" <5d5@mail.ru> wrote in message
> news:elopkt$2ci$1@utils.eclipse.org...
>> Hello!
>>
>> What do you mean under 'intelligent'? We plan to support external labels
>> as border items so if you have a particular requirement please let us
>> know )))
>>
>> ase wrote:
>>> Does anyone know if GMF supports the intelligent placement of
>>> labels on edges, and if so, where/how to access it?
>>>
>>> Thanks,
>>>
>>> Andy
>
>
Previous Topic:datatypes vs. classes and property editing
Next Topic:"GenPropertySheet" available in GMF 1.0 ??
Goto Forum:
  


Current Time: Sat Sep 14 14:23:14 GMT 2024

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

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

Back to the top