use of com.kyj.fx.voeditor.visual.component.PDFImageBasePane in project Gargoyle by callakrsos.
the class SystemLayoutViewController method openPdf.
/**
* PDF파일을 연다.
*
* @작성자 : KYJ
* @작성일 : 2016. 2. 22.
* @param file
* @throws Exception
*/
private void openPdf(File file) throws Exception {
try {
CloseableParent<PDFImageBasePane> pdfPane = new CloseableParent<PDFImageBasePane>(new PDFImageBasePane(file)) {
@Override
public void close() throws IOException {
LOGGER.debug("Close doc . reuqest ");
getParent().close();
}
};
loadNewSystemTab(file.getName(), pdfPane);
} catch (Exception e) {
LOGGER.debug(ValueUtil.toString(e));
throw e;
}
}
Aggregations