Bug 566261

Summary: Add layoutSupplier to CompositeFactory
Product: [Eclipse Project] Platform Reporter: Lars Vogel <Lars.Vogel>
Component: UIAssignee: Lars Vogel <Lars.Vogel>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: Lars.Vogel, marcus.hoepfner
Version: 4.16Keywords: noteworthy
Target Milestone: 4.18 M1   
Hardware: PC   
OS: Windows 10   
See Also: https://git.eclipse.org/r/c/platform/eclipse.platform.ui/+/168144
https://git.eclipse.org/c/platform/eclipse.platform.ui.git/commit/?id=043b1db556d7e23ab7d603d2bf1e47395f2491f6
https://git.eclipse.org/r/c/www.eclipse.org/eclipse/news/+/169306
https://git.eclipse.org/c/www.eclipse.org/eclipse/news.git/commit/?id=6b6884ee6ffb660ef9bc7c26d2e5c5b888c3e577
Whiteboard:

Description Lars Vogel CLA 2020-08-21 06:46:44 EDT
Would be nice to be able to write:

CompositeFactory.newComposite(SWT.NONE).supplyLayout(GridLayoutFactory.fillDefaults()::create).create(parentComposite);

to create a new Composite with a GridLayout.
Comment 1 Eclipse Genie CLA 2020-08-24 08:47:49 EDT
New Gerrit change created: https://git.eclipse.org/r/c/platform/eclipse.platform.ui/+/168144
Comment 3 Eclipse Genie CLA 2020-09-14 06:46:16 EDT
New Gerrit change created: https://git.eclipse.org/r/c/www.eclipse.org/eclipse/news/+/169306
Comment 5 Lars Vogel CLA 2020-09-14 06:57:37 EDT
Thanks Marcus, for the review.