IDEMPIERE-3721 Adding Archive toolbar button on Jasper viewer - peer review - restore old method for backward compatibility with external plugins
This commit is contained in:
parent
dd2766d88c
commit
629f4e2a8a
|
@ -8,4 +8,9 @@ import net.sf.jasperreports.engine.JasperPrint;
|
|||
public interface JRViewerProvider {
|
||||
|
||||
public void openViewer(JasperPrint jasperPrint, String title, PrintInfo printInfo) throws JRException;
|
||||
|
||||
default void openViewer(JasperPrint jasperPrint, String title) throws JRException {
|
||||
openViewer(jasperPrint, title, null);
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
@ -10,4 +10,9 @@ import net.sf.jasperreports.engine.JasperPrint;
|
|||
public interface JRViewerProviderList {
|
||||
|
||||
public void openViewer(List<JasperPrint> jasperPrintList, String title, PrintInfo printInfo) throws JRException;
|
||||
|
||||
default void openViewer(List<JasperPrint> jasperPrintList, String title) throws JRException {
|
||||
openViewer(jasperPrintList, title, null);
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue