Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » About the hidden figure events(About the hidden figure events)
icon6.gif  About the hidden figure events [message #1096179] Wed, 28 August 2013 03:44 Go to next message
Hiroshi Kotani is currently offline Hiroshi KotaniFriend
Messages: 2
Registered: August 2013
Junior Member
This is a question about Draw2d Figure.
I placed 100 figure in LayerdPanel of ToolbarLayout. The figure is displayed on the screen is 10.I raised the Figure#paintFigure(graphics) event in this state. But it reacted only figure of 10. Is there a way to enable the Figure#paintFigure(graphics) events of all 100?
Re: About the hidden figure events [message #1099933 is a reply to message #1096179] Mon, 02 September 2013 12:09 Go to previous messageGo to next message
Jan Krakora is currently offline Jan KrakoraFriend
Messages: 477
Registered: December 2009
Location: Prague
Senior Member
I don't understand you question. Provide us a SSCCE, otherwise we can't help you

[Updated on: Mon, 02 September 2013 12:10]

Report message to a moderator

Re: About the hidden figure events [message #1100228 is a reply to message #1099933] Mon, 02 September 2013 21:45 Go to previous messageGo to next message
Hiroshi Kotani is currently offline Hiroshi KotaniFriend
Messages: 2
Registered: August 2013
Junior Member
I have attached the sample code.
Please be resized After running this sample.
Paint event does not occur only C_Figure hidden.
How to do If I want events in all Figure?
Re: About the hidden figure events [message #1105138 is a reply to message #1100228] Mon, 09 September 2013 12:16 Go to previous message
Jan Krakora is currently offline Jan KrakoraFriend
Messages: 477
Registered: December 2009
Location: Prague
Senior Member
Every figure is paint only when it's visible and it intersects the graphics's clip.

When I'm resizing the window from your example, I can see:
- at first the A_Figure and the B_Figre are paint
- when the C_Figure gets to the visible area, it starts painting itself too

This is expected behavior IMHO. You don't want to paint the C_Figure, when it's not in the visible area.
Previous Topic:Differences between GEF 3.6 and GEF 3.8
Next Topic:move edit parts with key board
Goto Forum:
  


Current Time: Tue Mar 19 04:14:25 GMT 2024

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

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

Back to the top