Package org.jbpm.ui.common.model

Examples of org.jbpm.ui.common.model.ProcessDefinition.validateDefinition()


            ProjectFinder.refreshProcessFolder(definitionFile);
        } catch (CoreException e1) {
        }
        ProcessDefinition definition = ProcessCache.getProcessDefinition(definitionFile);
        try {
            int validationResult = definition.validateDefinition(definitionFile);
            if (validationResult != 0) {
                DesignerPlugin.getDefault().getWorkbench().getActiveWorkbenchWindow().getActivePage().showView(ErrorLogView.ID);
                if (validationResult == 2) {
                    setErrorMessage(Messages.getString("ExportParWizardPage.page.errorsExist"));
                    return false;
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.