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:[HOWTO] View Synchronizing with a GEF Editor
Next Topic:marquee selection tool
Goto Forum:
  


Current Time: Fri Aug 12 10:11:20 GMT 2022

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

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

Back to the top