Bug 566261 - Add layoutSupplier to CompositeFactory
Summary: Add layoutSupplier to CompositeFactory
Status: RESOLVED FIXED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 4.16   Edit
Hardware: PC Windows 10
: P3 normal (vote)
Target Milestone: 4.18 M1   Edit
Assignee: Lars Vogel CLA
QA Contact:
URL:
Whiteboard:
Keywords: noteworthy
Depends on:
Blocks:
 
Reported: 2020-08-21 06:46 EDT by Lars Vogel CLA
Modified: 2020-09-14 06:57 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.