Skip to main content

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 14:45
Abbas Mohd is currently offline Abbas MohdFriend
Messages: 31
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 14: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 Oct 29 03:18:06 GMT 2020

Powered by FUDForum. Page generated in 0.01458 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top