@@ -0,0 +1,1351 @@
+package hu.elte.txtuml.export.plantuml.seqdiag.fragments;%0A%0Aimport java.util.List;%0A%0Aimport org.eclipse.jdt.core.dom.ASTNode;%0Aimport org.eclipse.jdt.core.dom.LambdaExpression;%0Aimport org.eclipse.jdt.core.dom.MethodInvocation;%0A%0Aimport hu.elte.txtuml.export.plantuml.generator.PlantUmlCompiler;%0Aimport hu.elte.txtuml.export.plantuml.seqdiag.ExporterUtils;%0A%0A/**%0A * Exporter implementation, which is responsible for exporting PAR combined%0A * fragment.%0A */%0Apublic class ParFragmentExporter extends CombinedFragmentExporter%3CMethodInvocation%3E %7B%0A%0A%09public ParFragmentExporter(final PlantUmlCompiler compiler) %7B%0A%09%09super(compiler);%0A%09%7D%0A%0A%09@Override%0A%09public boolean validElement(ASTNode curElement) %7B%0A%09%09if (super.validElement(curElement)) %7B%0A%09%09%09String fullName = ExporterUtils.getFullyQualifiedName((MethodInvocation) curElement);%0A%09%09%09return fullName.equals(%22hu.elte.txtuml.api.model.seqdiag.Sequence.par%22);%0A%09%09%7D%0A%09%09return false;%0A%09%7D%0A%0A%09@SuppressWarnings(%22unchecked%22)%0A%09@Override%0A%09public boolean preNext(MethodInvocation curElement) %7B%0A%09%09List%3CLambdaExpression%3E params = (List%3CLambdaExpression%3E) curElement.arguments();%0A%09%09compiler.println(%22par%22);%0A%09%09boolean isFirst = true;%0A%09%09for (LambdaExpression interaction : params) %7B%0A%09%09%09if (isFirst) %7B%0A%09%09%09%09isFirst = false;%0A%09%09%09%7D else %7B%0A%09%09%09%09compiler.println(%22else%22);%0A%09%09%09%7D%0A%09%09%09interaction.getBody().accept(compiler);%0A%09%09%7D%0A%09%09return false;%0A%09%7D%0A%0A%7D%0A

Add exporter for par combined fragment #561