Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [platform-dev] How can usiSchemaHandlers be used in internal web browser?
  • From: "Becker, Matthias" <ma.becker@xxxxxxx>
  • Date: Wed, 8 Apr 2020 06:19:24 +0000
  • Accept-language: en-US
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=sap.com; dmarc=pass action=none header.from=sap.com; dkim=pass header.d=sap.com; arc=none
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=byT8miOyPto/Mnb48s+4/tXXosBBCyJyrQf7cLCfJHM=; b=h2fTZIONlAeHxCk26DuzyE7f/K53HyqOfz4w+FOXd5VTt7ccDljNYhFD1L8uo9etKMYtJE3rQQ8uij/RqGX5pbLasUaaPVck5x+oFvmZKoNlhgkSqaVaGeGonGeS0Ghgor7whbDyy5DC3pfzjcQR6CVaQr2HXabii1WG97D1hYhJ+vjazjv3YuEPe7nlHx8IzHEGg3kr6NhtfiHgcQxrhEKeL/V7VfESMwH/LT/+2x1U13DMopQbUiZJTtUpzR7oHESKQVU8aeqHE2wX/H1Gh8w2rYcDkiYhf7DU3/L6JS932rl2R4JhPZlWcpmf9a1daS78wlRh3mKvh9dQeCexyQ==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=bqSWaKoywbDfW/T+Xi1vX9u0t8UlrOGtBIjQOR3NG576Ck50H44yoUksCEHaZ1pKGMAwytjmNpIrf0RfWpJAiMumjLEsCF8tmesOsdQ/JvJcvoRrnmwTy7j61JIPo35W1QUiwi2EtCCRlURyvzUB+3fred4D0UiV3M2Al8RuN+ICsi+7LyEodWH8MMR281nkLmF3kMb3I8Q8f5AC8ze+fPkeo1iH/7jm7kOHLwNoSkmr05okHXHidNMGgEVH+R3jR1F/+0LRHaFRN8AlyPhP+7P7ggPGlZvri8oRrAWXVAciHvGqbvVmRuGuWo9TGd14CX4Mfyk29nB1L47Ro+I5Og==
  • Delivered-to: platform-dev@xxxxxxxxxxx
  • Ironport-sdr: d6Y6MPnJnzZNcc2O0B6Q27Gw0IukQdPx8ApVhSCvwG0Gb8zQOHPVHg+vq2Ha8bjf/Di1w3AKDV Cia1HGVMx7MqyILz/4ubJDRcQXWjWXWhJmHebd/8rao4KLq+yi2XoKWqMPqf0FDXhMANCH3Ji0 MfJ25yW6vgkvRtsaKtDOegUHvB9l5n88zKawWWEgdQhu6zjxEOxDBXOloK7/7ffsdTcs9wEFLJ CssOryzlvqWbFuqE5OrlN5iDit4pXXhS43/zw+q+mZwNZBMO25q5c9Mqt1THOtrCo2dUX78hFi elVGeHzQyigfKJMwtC/LDZ00
  • List-archive: <https://www.eclipse.org/mailman/private/platform-dev>
  • List-help: <mailto:platform-dev-request@eclipse.org?subject=help>
  • List-subscribe: <https://www.eclipse.org/mailman/listinfo/platform-dev>, <mailto:platform-dev-request@eclipse.org?subject=subscribe>
  • List-unsubscribe: <https://www.eclipse.org/mailman/options/platform-dev>, <mailto:platform-dev-request@eclipse.org?subject=unsubscribe>
  • Thread-index: AQHWDW2m7xN7T3NxZ0eeYDYgjXFLAw==
  • Thread-topic: [platform-dev] How can usiSchemaHandlers be used in internal web browser?
  • User-agent: Microsoft-MacOutlook/16.35.20030802

Hi Rolf,

 

this is a quite new feature that was introduces in platform 4.10 see: https://www.eclipse.org/eclipse/news/4.10/platform.php#link-handlers

I would assume that once a link handler is registered on OS level that this also works in the internal web browser and that such specific code is not necessary.

 

Regards,

Matthias

 

From: <platform-dev-bounces@xxxxxxxxxxx> on behalf of Rolf Theunissen <rolf.theunissen@xxxxxxxxx>
Reply to: "Eclipse platform general developers list." <platform-dev@xxxxxxxxxxx>
Date: Tuesday, 7. April 2020 at 18:51
To: "Eclipse platform general developers list." <platform-dev@xxxxxxxxxxx>
Subject: Re: [platform-dev] How can usiSchemaHandlers be used in internal web browser?

 

Hi,

 

I did not know about the link handlers defined there. For a custom widget we made an extension to process custom links in the browser. We extended WebBrowserEditor to add a location listener, see below. I don't think that the default WebBrowser processes the Link Handlers as defined in the preferences.

 

Rolf

 

@Override
public void createPartControl(org.eclipse.swt.widgets.Composite parent) {
   super.createPartControl(parent);
   webBrowser.getBrowser().addLocationListener(new LocationAdapter() {
     @Override
     public void changing(LocationEvent event) {

        // Do something like opening an editor (in case of platform:/resource/ uri)

     }
   });
}

 

Op di 7 apr. 2020 om 18:29 schreef Mickael Istria <mistria@xxxxxxxxxx>:

On Tue, Apr 7, 2020 at 6:18 PM Ed Merks <ed.merks@xxxxxxxxx> wrote:

Did you enable Window -> Preferences -> General -> Link Handlers for the eclipse+mpc scheme?  Certainly that's needed for clicks of eclipse-mpc scheme links a browser to work.

 

I tried that and that didn't work for me, both in internal and external browser.

_______________________________________________
platform-dev mailing list
platform-dev@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/platform-dev


Back to the top