Skip to main content



      Home
Home » Eclipse Projects » GEF » label figure
label figure [message #233656] Fri, 27 April 2007 15:32 Go to next message
Eclipse UserFriend
Originally posted by: vb.prismtech.com

Hi,

I have a Label figure as a part of an EditPart. The figure has an icon and
text. When I select the
figure, the icon and the text get selected. I want only the icon to be
selected. Is there a way to do this.

Thanks
Re: label figure [message #233673 is a reply to message #233656] Sat, 28 April 2007 16:22 Go to previous messageGo to next message
Eclipse UserFriend
Hi,

Your figure needs to implement HandleBounds interface, where you would
return bounds of the image figure (where your icon is).

Cheers,
Alex
Re: label figure [message #233704 is a reply to message #233673] Mon, 30 April 2007 10:16 Go to previous message
Eclipse UserFriend
Originally posted by: vb.prismtech.com

Thank you. Exactly what I was looking for.

"Alex Boyko" <aboyko@ca.ibm.com> wrote in message
news:721d30ac719cadf6ca420979b8de9ac2$1@www.eclipse.org...
> Hi,
>
> Your figure needs to implement HandleBounds interface, where you would
> return bounds of the image figure (where your icon is).
>
> Cheers,
> Alex
>
Previous Topic:Help to Work with GEF an d Custom dll
Next Topic:Draw2D Transparency
Goto Forum:
  


Current Time: Sun Jul 27 02:17:26 EDT 2025

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

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

Back to the top