eclipse-windowbuilder / eclipse-windowbuilder/windowbuilder

Harmonize MigLayout specification composites

Open
#1,608 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
97
Forks
34
Avg merge
21h 52m
Merged PRs (30d)
25

Description

The [CellSpecificationComposite](https://github.com/eclipse-windowbuilder/windowbuilder/blob/master/org.eclipse.wb.swing.MigLayout/src/org/eclipse/wb/internal/swing/MigLayout/model/ui/CellSpecificationComposite.java) and [DimensionSpecificationComposite](https://github.com/eclipse-windowbuilder/windowbuilder/blob/master/org.eclipse.wb.swing.MigLayout/src/org/eclipse/wb/internal/swing/MigLayout/model/ui/DimensionSpecificationComposite.java) are functionally identical. We should extract the common logging into an abstract base class, then the actual implementations only need to implement a ´setString´ and ´getString´ method.

Contributor guide

Open the contributing guide

Research direction

Start by comparing CellSpecificationComposite.java and DimensionSpecificationComposite.java, focusing on their duplicated logging and string-handling behavior. Extract the common logging into an abstract base class, leaving each concrete composite to provide setString and getString; done means both implementations use the shared behavior without changing their functional results.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
desktop
Issue type
Refactor
Difficulty
3/5
Estimated time
1-2 days
Activity status
Active
Clarity
Clearly specified
Newbie friendliness
78/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.