Summary: | Access org.eclipse.ui.browserSupport contributions by ID | ||
---|---|---|---|
Product: | [Eclipse Project] Platform | Reporter: | Alex Boyko <aboyko> |
Component: | UI | Assignee: | Platform-UI-Inbox <Platform-UI-Inbox> |
Status: | NEW --- | QA Contact: | |
Severity: | enhancement | ||
Priority: | P3 | CC: | mistria, mlippert, psuzzi |
Version: | 4.8 | Keywords: | api |
Target Milestone: | --- | ||
Hardware: | All | ||
OS: | All | ||
See Also: | https://bugs.eclipse.org/bugs/show_bug.cgi?id=531697 | ||
Whiteboard: |
Description
Alex Boyko
2018-02-28 14:26:26 EST
I think adding optional "id" attribute in schema and new APIs to access browser without changing the current behavior is a safe change that we can try for Photon. Maybe in your initial use-case, what you'd like wouldn't be so much of an "id" but more a "supportedProtocols" attribute (and assume empty would mean any protocol with lower priority, while "springboot" would register the browserSupport for "springboot" with higher priority) and then the method "createBrowser(URL)" would give higher priority to your springboot browser when it finds springboot:/ URLs. As this is a new field, it would also be backward compatible. @Alex: do you think you can create the patch? Yes, I'll look into creating a patch for this :-) |