Hi Mickael,
I think the idea of the eclipse+mpc uri scheme was to replace the drag&drop of an link from the marketplace to the eclipse window with a more intuitive way. So user’s would simply click
a link on the marketplace website.
I don’t know why the marketplace website does not render these links at the moment.
The downside of this is (currently) that the user explicitly has to enable this link hander on the link handers pref page. We did not implement an automatic registration because this
writes stuff into the OS and we think such
stuff should always be triggered by a user-interaction.
One could think about an enhancement that proactively asks the users if he wants to enable a new link handler. Oomph could do that when you install a new eclipse but we also need a way
to enable this when oomph is not used.
We could fire up a dialog (delayed at the start of the IDE) that basically shows the table from the link handers pref page asking which handlers should be activated. But this would something
new to the Eclipse IDE. I never have seen
such (very intrusive) dialogs in the Eclipse IDE.
Regarding the internal web browser. Isn’t that just an embedded browser. So I would assume that once the link handler is successfully registered in the OS that links in the internal
browsers also works as in the external browser…
Regards,
Matthias
From: <platform-dev-bounces@xxxxxxxxxxx> on behalf of Mickael Istria <mistria@xxxxxxxxxx>
Reply to: "Eclipse platform general developers list." <platform-dev@xxxxxxxxxxx>
Date: Tuesday, 7. April 2020 at 18:12
To: "Eclipse platform general developers list." <platform-dev@xxxxxxxxxxx>
Subject: [platform-dev] How can usiSchemaHandlers be used in internal web browser?
I'm brainstorming about possibilities to improve and simplify Marketplace integration in Eclipse IDE, ideally by reducing the amount of specific UI it uses and leveraging more the website (so we maintain a single web UI to consume in the
IDE instead of having another view to maintain it it as well).
However, I was expected that such `eclipse+mpc` links in the Internal Web Browser would trigger the protocol handler and thus show the Marketplace Client dialog but it was not the case.
So I'm curious about the cases where those protocol handlers are supposed to work out of the box? Is there some setting, or preference or some existing views where I can have a such links working on a single click?
If not, are there bugs open on this topic I could monitor/participate to?