]> gerrit.simantics Code Review - simantics/platform.git/blob - bundles/org.simantics.document/src/org/simantics/document/node/Composite.java
Fixed all line endings of the repository
[simantics/platform.git] / bundles / org.simantics.document / src / org / simantics / document / node / Composite.java
1 /*******************************************************************************
2  * Copyright (c) 2012 Association for Decentralized Information Management in
3  * Industry THTH ry.
4  * All rights reserved. This program and the accompanying materials
5  * are made available under the terms of the Eclipse Public License v1.0
6  * which accompanies this distribution, and is available at
7  * http://www.eclipse.org/legal/epl-v10.html
8  *
9  * Contributors:
10  *     VTT Technical Research Centre of Finland - initial API and implementation
11  *******************************************************************************/
12 package org.simantics.document.node;
13
14 import org.simantics.document.function.WikiDocumentNodeImpl;
15
16 public class Composite extends WikiDocumentNodeImpl {
17
18         private static final long serialVersionUID = -7176848735168771674L;
19
20         @Override
21         public void create(StringBuilder builder, boolean isPDF) {
22                 
23                 if(!isPDF && editText != null) {
24                         builder.append(editText + "\r\n\r\n");
25                 }
26                 
27                 createChildren(builder, isPDF);
28         }
29
30 }