Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » labelled connections
labelled connections [message #166155] Sat, 29 January 2005 00:14 Go to next message
Eclipse UserFriend
Originally posted by: Lamont_Gilbert.rigidsoftware.com

I have an application with GEF. I would like to have my connections
have a text label attached to them. Just like the items in the flow
example are all labelled.

What is the best approach for this? Just lookin for general strategy.

Should I create a new label edit part, or should I create a new figure
and have my existing connection edit parts return both a line and a
label figure?


--
Respectfully,


CL Gilbert
Re: labelled connections [message #166180 is a reply to message #166155] Sat, 29 January 2005 11:29 Go to previous messageGo to next message
Stephane  fournier is currently offline Stephane fournierFriend
Messages: 340
Registered: July 2009
Senior Member
Have a look at
http://eclipse.org/articles/Article-GEF-Draw2d/GEF-Draw2d.ht ml

Stephane.

CL [dnoyeb] Gilbert wrote:
> I have an application with GEF. I would like to have my connections
> have a text label attached to them. Just like the items in the flow
> example are all labelled.
>
> What is the best approach for this? Just lookin for general strategy.
>
> Should I create a new label edit part, or should I create a new figure
> and have my existing connection edit parts return both a line and a
> label figure?
>
>
Re: labelled connections [message #166249 is a reply to message #166180] Sun, 30 January 2005 04:39 Go to previous message
Eclipse UserFriend
Originally posted by: Lamont_Gilbert.rigidsoftware.com

Stéphane Fournier wrote:
> Have a look at
> http://eclipse.org/articles/Article-GEF-Draw2d/GEF-Draw2d.ht ml
>
> Stephane.
>
> CL [dnoyeb] Gilbert wrote:
>
>> I have an application with GEF. I would like to have my connections
>> have a text label attached to them. Just like the items in the flow
>> example are all labelled.
>>
>> What is the best approach for this? Just lookin for general strategy.
>>
>> Should I create a new label edit part, or should I create a new figure
>> and have my existing connection edit parts return both a line and a
>> label figure?
>>
>>

Good call m8, thanks!

CL
Previous Topic:MultiPageEditorPart equivalence in GEF?
Next Topic:BorderLayout - max size at center
Goto Forum:
  


Current Time: Thu Apr 18 00:58:48 GMT 2024

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

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

Back to the top