Package com.openkm.openoffice.ui

Examples of com.openkm.openoffice.ui.ConfirmationForm


                {
                    try {
                        String documentPath = getCurrentDocumentPath();
                        if (documentPath != null && !documentPath.equals("")) {
                            if (documentFile.isOpenKMDocument(documentPath)) {
                                new ConfirmationForm("main.question.update",ConfirmationForm.OPERATION_CHECKIN, documentPath);
                            }
                        }
                    } catch (OKMException ex) {
                        waitWindow.setVisible(false);
                        new ErrorForm(ex);
                    }
                    return;
                }
                if ( aURL.Path.compareTo("cancelcheckin") == 0 )
                {
                    try {
                        String documentPath = getCurrentDocumentPath();
                        if (documentPath != null && !documentPath.equals("")) {
                            if (documentFile.isOpenKMDocument(documentPath)) {
                                new ConfirmationForm("main.question.cancel.edit",ConfirmationForm.OPERATION_CANCELCHECKIN, documentPath);
                            }
                        }
                    } catch (OKMException ex) {
                        waitWindow.setVisible(false);
                        new ErrorForm(ex);
View Full Code Here


            } catch (UnsupportedEncodingException ex) {
                new OKMException(ex);
            }
            DocumentLogic.create(configBean.getHost(), configBean.getUser(), configBean.getPassword(), document);
            waitWindow.setVisible(false);
            new ConfirmationForm("main.document.added",ConfirmationForm.OPERATION_DOCUMENT_ADDED, "");
        } else {
            waitWindow.setVisible(false);
            new ErrorForm(new OKMException(lang.getString("main.error.save.file")));
        }
    }
View Full Code Here

TOP

Related Classes of com.openkm.openoffice.ui.ConfirmationForm

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.