Skip to content

Merge AbstractCSSSWTEngineImpl into CSSSWTEngineImpl#4042

Merged
vogella merged 1 commit into
eclipse-platform:masterfrom
vogella:css-merge-abstract-swt-engine
Jun 1, 2026
Merged

Merge AbstractCSSSWTEngineImpl into CSSSWTEngineImpl#4042
vogella merged 1 commit into
eclipse-platform:masterfrom
vogella:css-merge-abstract-swt-engine

Conversation

@vogella
Copy link
Copy Markdown
Contributor

@vogella vogella commented Jun 1, 2026

Same housekeeping pattern as the recent core-engine merge (#4040): AbstractCSSSWTEngineImpl was an abstract layer with two abstract hooks (initializeCSSPropertyHandlers, initializeCSSElementProvider) whose only concrete subclass was CSSSWTEngineImpl. This inlines the abstract layer into the concrete leaf, drops the two now-redundant template methods, and registers the SWT element provider and the registry-driven property handler provider directly in the constructor.

The bundle is internal (x-friends only), so no API surface changes. The net effect is one fewer class and a flatter, easier-to-follow engine setup. All css.swt tests still pass.

Contributes to #3980

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Jun 1, 2026

Test Results

   864 files  ±0     864 suites  ±0   56m 12s ⏱️ + 3m 31s
 7 990 tests ±0   7 747 ✅ ±0  243 💤 ±0  0 ❌ ±0 
20 424 runs  ±0  19 769 ✅ ±0  655 💤 ±0  0 ❌ ±0 

Results for commit 97d9d17. ± Comparison against base commit ff1f1b7.

♻️ This comment has been updated with latest results.

Same housekeeping pattern as the previous core-engine merge:
AbstractCSSSWTEngineImpl was an abstract layer with two abstract
hooks (initializeCSSPropertyHandlers, initializeCSSElementProvider)
whose only concrete subclass was CSSSWTEngineImpl. Inline the
abstract layer into the concrete leaf, drop the two now-redundant
template methods, and register the SWT element provider and the
registry-driven property handler provider directly in the constructor.

Bundle internal (x-friends only); no API surface changed. All 194
css.swt tests still pass.

Contributes to eclipse-platform#3980
@vogella vogella force-pushed the css-merge-abstract-swt-engine branch from 3268b10 to 97d9d17 Compare June 1, 2026 13:33
@vogella vogella merged commit a6ae91c into eclipse-platform:master Jun 1, 2026
18 checks passed
@vogella vogella deleted the css-merge-abstract-swt-engine branch June 1, 2026 14:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant