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");