PrintProvider implementation in the Lookup of a MultiviewElement TopComponent not used!

Oliver Rettig <[email protected]> Tue, 09 May 2017 18:58:10 +0200
Newsgroups gmane.comp.java.netbeans.modules.openide.devel
Organization ORAT
Message-ID <1777138.5ilNdT2oOl@l560>
Hallo,

I have implemented a PrintProvider and put it into the lookup of a 
MultiviewElement TopComponent but it is not used by the print-system.

I am using NB 8.2 and I have read the following pages to understand the usage 
of the NB print system:

http://bits.netbeans.org/dev/javadoc/org-netbeans-modules-print/org/netbeans/
api/print/PrintManager.html

http://bits.netbeans.org/dev/javadoc/org-netbeans-modules-print/org/netbeans/
api/print/PrintManager.html

All seems to be straight forward. To be sure that my PrintProvider is not used 
I have put an System.out in its 

public PrintPage[][] getPages(int pageWidth, int pageHeight, double pageZoom)

method.

I have also tried to put the PrintProvider in the parent topcomponent of the 
MultiviewElement but it isnt found.

The printprovider is a modified version of 
package org.netbeans.modules.print.provider which collects all Views to print 
them together as pages instead of printing only the currently active 
Multiview-Element.

Andy ideas?

best regards
Oliver