Community
Participate
Working Groups
Looking as several of Markus changes for the new SWT factories I noticed that we should use more GridLayoutFactory to reduce our code. Example: https://git.eclipse.org/r/#/c/141636/5/bundles/org.eclipse.ui.workbench/Eclipse+UI/org/eclipse/ui/internal/dialogs/SimpleWorkingSetSelectionDialog.java
Markus, something for you?
Unfortunately there are cases where use of just GridData is much shorter. Refer to this: new GridData(FILL_HORIZONTAL) ends in: GridDataFactory.fillDefaults().align(SWT.FILL, SWT.CENTER).grab(true, false) Should we improve GridDataFactory first? Like add a new static method to cover the short hand constructor GridData(int style). Otherwise we end up in a lot longer code. But on the other hand more explicit (see above example). No "magic" is hidden when using GDF like above.
+1 for improving the factory. Please open a bug for that.
Done: https://bugs.eclipse.org/bugs/show_bug.cgi?id=547240 I'd suggest to fix this bug 547240 first.
Marcus, as the factory was improved, can you provide Gerrits for using it? Or shall we close this one and update on demand, whenever we see a need?
I can provide a Gerrit within this bug. Maybe start with o.e.ui.internal.dialogs....
(In reply to Marcus Höpfner from comment #6) > I can provide a Gerrit within this bug. Maybe start with > o.e.ui.internal.dialogs.... +1
As do not need bugs anymore for cleanups, so if someone wants, please start pushing Gerrits.
> As do not need bugs anymore for cleanups Is it "official"?
(In reply to Alexander Fedorov from comment #9) > > As do not need bugs anymore for cleanups > > Is it "official"? Yes, the PMC decided that cleanups do not require anymore bugs, unless a committer raises concerns about the size of the change or its possible impact. The only exception is JDT, which decided that they always want to bug also for cleanups.
Thank you Lars, found it [1] [1] https://www.eclipse.org/lists/eclipse-pmc/msg03372.html