|Threading Job issue when Graphical editor has large number of editparts. [message #1077086]
||Thu, 01 August 2013 08:24
| Sanjeev Verma
Registered: April 2013
Please help me to find out the solution of a peculiar issue.
I have written a graphical editor having near about 200 editparts. Basically, this is a tree editor rendered using draw 2d figure.
This is a kind of complex figure and each node has following sub figures.
a. Rectangle figure,
Issue is when this editor kept open then any UIJob gets the execution opportunity after long delay.
For example, when I perform 'File Search' operation using Search menu and at the same time this GEF editor is kept opened I notice long time to show the result in view.
I debugged and found that actually method runInUIThread of 'org.eclipse.search.ui.text.AbstractTextSearchViewPage.UpdateUIJob' runs after long delay.
One more experiment I did, when I reduced the editparts (corresponding to that figures also reduced) and see considerable amount of improvement in performance.
Please any one can suggest me the possible root cause and what should I do in editor to get immediate run the UI jobs.
Thanks and Regards,
Powered by FUDForum
. Page generated in 0.01718 seconds