270271272273274275276277278279280
} }; if (conflict) { resolveOperation.execute(); } else { String message = (paths.size() > 1 ?
273274275276277278279280281282283
{ // we already have an open window, activate it if (Desktop.isDesktop()) Desktop.getFrame().activateMinimalWindow(WINDOW_NAME); loadPdf.execute(); } } private boolean haveActivePdfJsWindow() {
280281282283284285286287288289290
{ @Override public void execute() { shinyFrame_.setScrollPosition(scrollPosition_); initSlides.execute(); } }); } else {
307308309310311312313314315316317
Document doc = iframe.getContentDocument(); if (doc == null) return true; initSlides.execute(); // Even though the document exists, it may not have rendered all // its content yet ScrollUtil.setScrollPositionOnLoad(frame, scrollPosition_);