| Multiple calls [message #550862] |
Wed, 04 August 2010 10:14  |
Deepak Singla Messages: 27 Registered: December 2009 |
Junior Member |
|
|
Hi,
In GEF application, I am using view objects as classes that extends the draw2d.Figure class.
Inside the classes I have implemented the paintFigure (graphics g) and setBound(Rect r) methods for setting colors property and bounds property for rectangles and other drawing object respectively.
Everything is working fine. But I am surprised that there are n number of calls for method setBound and paintFigure methods. It can hit the performance of my application.
Do you have any idea what could be the reason for this and any Idea to stop multiples calls to these method?
One More Thing I noticed about this behaviour: these method are called infinite time untill your view is displayed inside the editor. If you minimize your editor, the calling to these method stops. But when both are open simultaneously, the calling is going on...!!!!!!!!!!!!!!!!!!!!!!
Any Idea would be appreciated
[Updated on: Wed, 04 August 2010 11:39] Report message to a moderator
|
|
|