public class EMFFormsSWTLayoutDelayed extends Object implements EMFFormsSWTLayoutOptimizer
|Constructor and Description|
|Modifier and Type||Method and Description|
This method will collect layoutrequest that happen in the same 200ms.
public void layout(org.eclipse.swt.widgets.Composite parent)
This method will collect layoutrequest that happen in the same 200ms. When there are multiple layoutrequest for the same composite in this time frame, the composite will only be layouted once.
This will help to improve performance as layout request are usually expensive. Also it might be quite common that e.g. multiple hide rules are triggered by the same condition.
parent- the composite to layout
Copyright © 2018. All rights reserved.