Skip to content

Convert the part handlers to POJO handlers - #4390

Open
vogella wants to merge 1 commit into
eclipse-platform:masterfrom
vogella:lv/pojo-part-handlers
Open

vogella wants to merge 1 commit into
eclipse-platform:masterfrom
vogella:lv/pojo-part-handlers

Conversation

@vogella

@vogella vogella commented Sep 15, 2026

Copy link
Copy Markdown
Contributor

Builds on #4242 and contains its commit, so only the last commit belongs to this PR.

The Close Part, Maximize Part, Minimize Part, New Editor and New Window handlers no longer extend AbstractHandler. The active part and window are injected into their @Execute methods under the same names HandlerUtil reads them from, which removes the event plumbing and shows the POJO handler support working on real workbench commands. A new PartHandlersTest executes each command, including the context snapshot path Quick Access uses, and fails when the handlers are turned into no-ops.

@github-actions

github-actions Bot commented Sep 15, 2026 •

Copy link
Copy Markdown
Contributor

Test Results

   861 files  ± 0     861 suites  ±0   46m 25s ⏱️ - 19m 10s
 8 352 tests + 7   8 109 ✅ + 7  243 💤 ±0  0 ❌ ±0 
20 925 runs  +21  20 255 ✅ +21  670 💤 ±0  0 ❌ ±0 

Results for commit 3436fcc. ± Comparison against base commit 79b4760.

♻️ This comment has been updated with latest results.

ClosePartHandler, MaximizePartHandler, MinimizePartHandler,
NewEditorHandler and OpenInNewWindowHandler no longer extend
AbstractHandler. The active part and window are injected into their
@execute methods under the same names HandlerUtil reads them from.

Assisted-by: multiple AI agents and layers of automated tooling 🤖
@vogella
vogella force-pushed the lv/pojo-part-handlers branch from 0ff6560 to 3436fcc Compare September 22, 2026 20:13
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