Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMF (Graphical Modeling Framework) » Problem with Display thread(Problem with Display thread)
Problem with Display thread [message #882967] Thu, 07 June 2012 10:45
Abbas Mohd is currently offline Abbas Mohd
Messages: 31
Registered: February 2012
Member
Hi,

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.

Regards,
Abbas

[Updated on: Thu, 07 June 2012 10:46]

Report message to a moderator

Previous Topic:Diagram generation does not respect the Interface Name Pattern supplied in genmodel ?
Next Topic:Creating Connections without using the Palette
Goto Forum:
  


Current Time: Thu Jul 24 00:41:02 EDT 2014

Powered by FUDForum. Page generated in 0.01807 seconds