| Summary: | [EditorMgmt] IEditorRegistry.getDefaultEditor fails to find an editor even though one exists | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Eclipse Project] Platform | Reporter: | Ed Merks <Ed.Merks> | ||||
| Component: | UI | Assignee: | Remy Suen <remy.suen> | ||||
| Status: | RESOLVED FIXED | QA Contact: | Remy Suen <remy.suen> | ||||
| Severity: | normal | ||||||
| Priority: | P3 | CC: | daniel_megert, remy.suen, sbouchet | ||||
| Version: | 3.7 | ||||||
| Target Milestone: | 3.8 M4 | ||||||
| Hardware: | All | ||||||
| OS: | All | ||||||
| Whiteboard: | |||||||
| Bug Depends on: | |||||||
| Bug Blocks: | 349552 | ||||||
| Attachments: |
|
||||||
|
Description
Ed Merks
It should use IContentTypeMatcher.findContentTypesFor(String) and try all content types. Created attachment 202451 [details]
EditorRegistry patch v1
Ed, if I understand your request correctly, I think this is what you want?
Yes, that would be much better!! (In reply to comment #3) > Yes, that would be much better!! Thanks. I'll try to get this. *** Bug 349552 has been marked as a duplicate of this bug. *** (In reply to comment #2) > Created attachment 202451 [details] > EditorRegistry patch v1 This first test introduced test failures. I rewrote the code to minimize introducing casualties and regressions. Thanks for the bug report, Ed! I've released the fix to master and R3_development. I also screwed up in my commit so I had to do a second commit to fix the problem. http://git.eclipse.org/c/platform/eclipse.platform.ui.git/commit/?id=2d5698e57a0c5913b5c4292806d23fd1d5569e1f http://git.eclipse.org/c/platform/eclipse.platform.ui.git/commit/?id=a78e46c87f7145ecc3a8e61bd7cbab7a601db039 http://git.eclipse.org/c/platform/eclipse.platform.ui.git/commit/?h=R3_development&id=b6996e7115c163052c3ee14f3a35b6c5766baa38 http://git.eclipse.org/c/platform/eclipse.platform.ui.git/commit/?h=R3_development&id=e495d4c520e380d5c2626041cfd1f259f70565ba |