Skip to content

[GEF] Harmonize getCommand(Request) in EditPart with upstream class#1412

Merged
ptziegler merged 1 commit intoeclipse-windowbuilder:masterfrom
ptziegler:gef-edit-part-command
Mar 27, 2026
Merged

[GEF] Harmonize getCommand(Request) in EditPart with upstream class#1412
ptziegler merged 1 commit intoeclipse-windowbuilder:masterfrom
ptziegler:gef-edit-part-command

Conversation

@ptziegler
Copy link
Copy Markdown
Contributor

When calling this method, our EditPart first filters all edit-policies for those that are able to handle this request. This is not how it should be done in GEF; Instead, the check for whether a request is supported has to be done by edit-policy itself.

@ptziegler ptziegler added this to the 1.24.0 milestone Mar 26, 2026
@ptziegler ptziegler force-pushed the gef-edit-part-command branch 3 times, most recently from ceeb431 to 86202d4 Compare March 26, 2026 22:33
@github-actions
Copy link
Copy Markdown

github-actions bot commented Mar 26, 2026

Test Results

 2 720 files  ±0   2 720 suites  ±0   11h 8m 34s ⏱️ + 21m 45s
 7 018 tests ±0   6 960 ✅ +1   58 💤 ±0  0 ❌  - 1 
28 072 runs  ±0  27 830 ✅ +1  242 💤 ±0  0 ❌  - 1 

Results for commit 895aa7e. ± Comparison against base commit 043de01.

♻️ This comment has been updated with latest results.

@ptziegler ptziegler force-pushed the gef-edit-part-command branch from 86202d4 to 2b1ffd9 Compare March 27, 2026 14:54
When calling this method, our EditPart first filters all edit-policies
for those that are able to handle this request. This is not how it
should be done in GEF; Instead, the check for whether a request is
supported has to be done by edit-policy itself.
@ptziegler ptziegler force-pushed the gef-edit-part-command branch from 2b1ffd9 to 895aa7e Compare March 27, 2026 14:55
@ptziegler ptziegler merged commit 1be791a into eclipse-windowbuilder:master Mar 27, 2026
8 checks passed
@ptziegler ptziegler deleted the gef-edit-part-command branch March 27, 2026 16:15
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