Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » label figure
label figure [message #233656] Fri, 27 April 2007 19: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 20:22 Go to previous messageGo to next message
Alex Boyko is currently offline Alex BoykoFriend
Messages: 200
Registered: July 2009
Senior Member
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 14: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: Thu Apr 18 10:50:53 GMT 2024

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

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

Back to the top