Skip to main content



      Home
Home » Eclipse Projects » GEF » Paint children outside a figure
Paint children outside a figure [message #220667] Thu, 03 August 2006 06:41 Go to next message
Eclipse UserFriend
Originally posted by: ingo.koch[nospam].sap.com

Hello,

i would like to create a container figure which is capable
of showing figures outside of its bounds.

I used to crop the rectangle which gets painted so that theres an invisible
border.
But this has the unwanted effect that handles are still painted on the
original bounds.

So is there a possiblity to extend the paint area of a figure?

Regards, Ingo
Re: Paint children outside a figure´s bounds [message #220693 is a reply to message #220667] Thu, 03 August 2006 09:47 Go to previous messageGo to next message
Eclipse UserFriend
You should override getHandleBounds() and return whatever appropriate
for the handle bounds to appear. Don't forget to implements
HandleBounds in your figure.

Nhu Le

Ingo Koch wrote:
> Hello,
>
> i would like to create a container figure which is capable
> of showing figures outside of its bounds.
>
> I used to crop the rectangle which gets painted so that theres an invisible
> border.
> But this has the unwanted effect that handles are still painted on the
> original bounds.
>
> So is there a possiblity to extend the paint area of a figure?
>
> Regards, Ingo
>
>
Re: Paint children outside a figure [message #225339 is a reply to message #220693] Mon, 30 October 2006 10:57 Go to previous message
Eclipse UserFriend
Originally posted by: ingo.koch[nospam].sap.com

Hi,

at first I did not understand what you meant,
but now it is working! Thanx!

But...if i place editparts outside the handle bounds I have the problem
that i cannot select them although they are visible...

Regards,
Ingo



"Nhu Le" <nle.misc@gmail.com> wrote in message
news:easuqe$e12$1@utils.eclipse.org...
> You should override getHandleBounds() and return whatever appropriate for
> the handle bounds to appear. Don't forget to implements HandleBounds in
> your figure.
>
> Nhu Le
>
> Ingo Koch wrote:
>> Hello,
>>
>> i would like to create a container figure which is capable
>> of showing figures outside of its bounds.
>>
>> I used to crop the rectangle which gets painted so that theres an
>> invisible
>> border.
>> But this has the unwanted effect that handles are still painted on the
>> original bounds.
>>
>> So is there a possiblity to extend the paint area of a figure?
>>
>> Regards, Ingo
>>
Previous Topic:This command is executed
Next Topic:move of polyline with connectionEditPart
Goto Forum:
  


Current Time: Sat May 17 21:53:05 EDT 2025

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

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

Back to the top