Skip to main content



      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 14:40
Eclipse UserFriend
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 May 07 12:23:09 EDT 2025

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

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

Back to the top