Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    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 15:57 Go to next message
Regent LArcheveque is currently offline Regent LArchevequeFriend
Messages: 94
Registered: May 2010
Member
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 08:40 Go to previous message
Jonas Helming is currently offline Jonas HelmingFriend
Messages: 94
Registered: September 2016
Member
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


--
Jonas Helming
Get professional Eclipse developer support:
http://eclipsesource.com/en/services/developer-support/
Previous Topic:Problem with rendering of Collapsible Group
Next Topic:[EDAPT] Edapt in a Spring application
Goto Forum:
  


Current Time: Thu Sep 19 22:54:50 GMT 2019

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

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

Back to the top