Commit ead39793 authored by Philip Makedonski's avatar Philip Makedonski
Browse files

+ formatting improvements

parent 704b8e79
Loading
Loading
Loading
Loading
+17 −0
Original line number Diff line number Diff line
@@ -323,6 +323,23 @@ public class TDLtxFormatter extends AbstractJavaFormatter {
	}

	protected void format(org.etsi.mts.tdl.TestDescription e, IFormattableDocument doc) {
		for (Annotation a : e.getAnnotation()) {
			doc.surround(a, p->p.newLine());
//			doc.append(a, p->p.noIndentation());
			doc.format(a);
//			doc.prepend(a, p->p.newLine());
		}
		for (TestObjective a : e.getTestObjective()) {
			doc.append(a, p->p.newLine());
//			doc.append(a, p->p.noIndentation());
			doc.format(a);
		}
		for (Comment c : e.getComment()) {
			doc.append(c, p->p.newLine());
//			doc.append(c, p->p.noIndentation());
			doc.format(c);
		}

		for (EObject m : e.eContents()) {
			doc.format(m);
		}