Bug 563873 - replaced synchronous layout() calls

Speed up selection of launch configurations by replacing synchronous
layout() calls with requestLayout().

The change reduces the number of Tree::computeSizeInPixels calls when
switching between two eclipse launch configs from 55(!) to 6. With a
large plugins tree (~2000 items), this saves ~30% time.

Change-Id: Iabde07f2281331009ee2cdaf435dc0a4f39242e9
Signed-off-by: Julian Honnen <julian.honnen@vector.com>
1 file changed