Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » Which way to attach Label to the side of a figure??
Which way to attach Label to the side of a figure?? [message #211342] Thu, 09 March 2006 19:40
Martin Holmes is currently offline Martin HolmesFriend
Messages: 79
Registered: July 2009
Member
Hi,
I am struggling to attach a label to a figure and I am just not sure
which way to approach it.

My application is a series of points on a screen. Each point has a
location, name description etc and aren't resizable.

I would like the point to show its name next to it. I would also like the
point to be the only item that can selected.

I think there might be two approaches to solve this problem!

1/ create a custom figure composed of a label and RectangleFigure and a
connection.

2/ or deal with each as separate EditParts.

Points will always have a label next to them and the distance from the point
to the label will always be the same. Ideally the Label will move around the
point rather than disapear of the screen.

Any advice would be great!

thanks

Martin
Previous Topic:making editpart individually selectable, but not through marquee
Next Topic:Which Layout and Figure to use?
Goto Forum:
  


Current Time: Wed Jan 15 08:55:03 GMT 2025

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

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

Back to the top