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-boun...@eclipse.org> on behalf of Mickael Istria 
<mist...@redhat.com>
Reply to: "Eclipse platform general developers list." <platform-dev@eclipse.org>
Date: Tuesday, 7. April 2020 at 18:12
To: "Eclipse platform general developers list." <platform-dev@eclipse.org>
Subject: [platform-dev] How can usiSchemaHandlers be used in internal web 
browser?

Hi all,

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).
I see MPC has enabled support for `eclipse+mpc` protocol handler, that's great 
as invoking some CLI like `eclipse 
eclipse+mpc://marketplace.eclipse.org/install/1640500`<http://marketplace.eclipse.org/install/1640500%60>
 works fine.
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?

Thanks in advance

--
Mickael Istria
Eclipse IDE<https://www.eclipse.org/downloads/eclipse-packages/> developer, for 
Red Hat Developers<https://developers.redhat.com/>
_______________________________________________
platform-dev mailing list
platform-dev@eclipse.org
To unsubscribe from this list, visit 
https://www.eclipse.org/mailman/listinfo/platform-dev

Reply via email to