Hello,

I was wondering if it is possible to register a module-wide @ServiceProvider/ 
@MimeRegistration.

I want links found in a JSON/XML displayed by my module TopComponent's 
JEditorPane to be opened by another instance of the same TopComponent. For 
that purpose, I have another class that extends HtmlBrowser.URLDisplayer.
However, I don't want to be responsible for opening all links in NetBeans (ie: 
javadocs).

Implementing a HyperlinkProviderExt (and registering MIME types "text/
plain" and "text/xml") improves the situation a bit; javadocs links are now 
opened by an external browser but links found in any plain text or XML file are 
also opened by my module.

Any suggestions?

Thanks,
-- 
Javier Llorente

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to