Skip to main content



      Home
Home » Modeling » EMF "Technology" (Ecore Tools, EMFatic, etc)  » [EMF Forms] Problem with rendering of Collapsible Group(Complement topic https://www.eclipse.org/forums/index.php/t/1097445/)
[EMF Forms] Problem with rendering of Collapsible Group [message #1802333] Wed, 06 February 2019 10:57 Go to next message
Eclipse UserFriend
Hi,

This is related to the following topic:
https://www.eclipse.org/forums/index.php/t/1097445/

When we execute the command ECPSWTViewRenderer.INSTANCE.render, the collapsible group icon shows the group is expanded while it is not showing its content. To ensure proper rendering we request a delayed layout(true, true) see below:

	// Render
	ECPSWTViewRenderer.INSTANCE.render(emfFormContainerComposite, eObject, displayedVView);
	Job.create("Request layout to EMF Forms controls", m -> {
	try {
		Thread.sleep(300);						
	} catch (InterruptedException e) {
		e.printStackTrace();
	}
	Display.getDefault().asyncExec(()->{
	     emfFormContainerComposite.layout(true, true);
	});
}).schedule();	


Do you know how to solve this?

Thanks ;-)
Re: [EMF Forms] Problem with rendering of Collapsible Group [message #1802350 is a reply to message #1802333] Thu, 07 February 2019 03:40 Go to previous message
Eclipse UserFriend
Hi,

I do not remember seeing this issue before. Could you create a minimal reproducer for this, report a Bug and attache the reproducer, please?

Best regards,
Jonas
Previous Topic:Problem with rendering of Collapsible Group
Next Topic:[EDAPT] Edapt in a Spring application
Goto Forum:
  


Current Time: Thu Jun 12 11:50:24 EDT 2025

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

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

Back to the top