|Problem with Display thread [message #882967]
||Thu, 07 June 2012 10:45
| Abbas Mohd
Registered: February 2012
I am creting GMF diagram programatically using OffscreenEditPartFactory.
I am able to generate the diagram perfectly when i create diagram in SWT Display thread.
But this this blocks my editor from doing parallel activities.For large diagrams it is taking 1-2 mins for diagram generation.I want to allow my editor to allow parallel activities while diagram generation.I.e. i want to execute my diagram generation logic in background.
For this i am using eclipse Job.This is not blocking my editor from doing some other parallel activities.But my diagram nodes are not getting created in the positions that i mentioned at the time of diagram creation.
Please find the attached screen shots of my diagram with DISPLAY thread and eclipse Job.
Can some one help me in understanding the problem.
[Updated on: Thu, 07 June 2012 10:46]
Report message to a moderator
Powered by FUDForum
. Page generated in 0.01754 seconds