Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » To set bounds around a figure
To set bounds around a figure [message #239338] Mon, 22 October 2007 06:47 Go to next message
Eclipse UserFriend
Originally posted by: meghna.kale.softwareag.com

Hello ,



I have a composite figure having an image and a label. When I select it,
the perimeter of handles will go around both image and label.

But I want only the image to be selectable, dragable and can be connected to
or

from, label is just a satellite that follows this image figure always

at the same location.

Please can anyone help me for this.
Re: To set bounds around a figure [message #239345 is a reply to message #239338] Tue, 23 October 2007 01:18 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: none.ibm.com

the interface HandleBounds is used for this. Implement it directly on your
editpart's figure.

"Meghna" <meghna.kale@softwareag.com> wrote in message
news:ffhh27$1ne$1@build.eclipse.org...
> Hello ,
>
>
>
> I have a composite figure having an image and a label. When I select it,
> the perimeter of handles will go around both image and label.
>
> But I want only the image to be selectable, dragable and can be connected
> to or
>
> from, label is just a satellite that follows this image figure always
>
> at the same location.
>
> Please can anyone help me for this.
>
>
Re: To set bounds around a figure [message #239353 is a reply to message #239345] Tue, 23 October 2007 09:23 Go to previous message
Eclipse UserFriend
Originally posted by: meghna.kale.softwareag.com

Hi Randy,
Thanks a lot,that really helped me to get the feature.

"Randy Hudson" <none@ibm.com> wrote in message
news:ffji5q$u04$1@build.eclipse.org...
> the interface HandleBounds is used for this. Implement it directly on
> your editpart's figure.
>
> "Meghna" <meghna.kale@softwareag.com> wrote in message
> news:ffhh27$1ne$1@build.eclipse.org...
>> Hello ,
>>
>>
>>
>> I have a composite figure having an image and a label. When I select it,
>> the perimeter of handles will go around both image and label.
>>
>> But I want only the image to be selectable, dragable and can be connected
>> to or
>>
>> from, label is just a satellite that follows this image figure always
>>
>> at the same location.
>>
>> Please can anyone help me for this.
>>
>>
>
>
Previous Topic:new object type problem
Next Topic:Link gets lost after save and reopen
Goto Forum:
  


Current Time: Fri Apr 26 13:10:53 GMT 2024

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

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

Back to the top