Package org.jbpm.ui.util

Examples of org.jbpm.ui.util.InfoPathSupport


                IFile validationFile = ValidationUtil.createEmptyValidation(formFile, validationFileName);
                formNode.setValidationFileName(validationFile.getName());
            }

            String filePath = formFile.getLocation().toOSString();
            InfoPathSupport infoPathSupport = new InfoPathSupport(formNode, formFile, filePath);
            if (infoPathSupport.init()) {
                Process process = Runtime.getRuntime().exec(infopathEditor + " /design \"" + filePath + "\"");
                infoPathSupport.setProcess(process);
                infoPathSupport.start();
                new Streamer(process.getErrorStream()).start();
                new Streamer(process.getInputStream()).start();
            } else {
                MessageDialog.openInformation(DesignerPlugin.getDefault().getWorkbench().getDisplay().getActiveShell(), "Form is opened already",
                        "This form already opened with InfoPath");
View Full Code Here


        // InfoPathSupport makes this job after each transformation
        throw new UnsupportedOperationException("Don't use this operation for XSN form type.");
    }

    public static void performFormSynchronization(IFile formFile, FormNode formNode) {
        InfoPathSupport infoPathSupport = new InfoPathSupport(formNode, formFile, formFile.getLocation().toOSString());
        try {
            if (!infoPathSupport.rewriteXsnFileWithAnotherTemplateId()) {
                DesignerLogger.logInfo("InfoPath form have not been rewrited");
            }
        } catch (Exception e) {
            DesignerLogger.logError("Error occured when rewriting InfoPath form", e);
        }
View Full Code Here

TOP

Related Classes of org.jbpm.ui.util.InfoPathSupport

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.