[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.tools.gef] Re: Ideal GEF Viewer eats up CPU

vijay wrote:

Hi,

I have a GEF viewer with large figure,
And an associated outline view for the same,

With outline view the application eats up cpu even while minimized,

outline view thumbnail updater runs continuously, even when application is minimized is this right???


Without outline view the application starts eating CPU once in focus with no user activity,

I solved the above problem,This problem was because of figure.setBackground calls in painFigure method,the setBackground should be called on graphics instance not on figure instance.
(Hope this would help others)


Is this right,
How can i find out what is eating the CPU,
a break point position in GEF or draw2d classes would be appreciated...