X-Git-Url: https://gerrit.simantics.org/r/gitweb?a=blobdiff_plain;f=bundles%2Forg.simantics.document%2Fsrc%2Forg%2Fsimantics%2Fdocument%2Fnode%2FWiki.java;h=84b4bd0223e062eab05ca8e4a7d5093ba5d6239c;hb=e34fedee69a6f7e3ef2188a70d8be60f7d179c10;hp=50af65fdd4e41a256c459ddf0072e428178f837a;hpb=969bd23cab98a79ca9101af33334000879fb60c5;p=simantics%2Fplatform.git diff --git a/bundles/org.simantics.document/src/org/simantics/document/node/Wiki.java b/bundles/org.simantics.document/src/org/simantics/document/node/Wiki.java index 50af65fdd..84b4bd022 100644 --- a/bundles/org.simantics.document/src/org/simantics/document/node/Wiki.java +++ b/bundles/org.simantics.document/src/org/simantics/document/node/Wiki.java @@ -1,33 +1,33 @@ -/******************************************************************************* - * Copyright (c) 2012 Association for Decentralized Information Management in - * Industry THTH ry. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * VTT Technical Research Centre of Finland - initial API and implementation - *******************************************************************************/ -package org.simantics.document.node; - -import org.simantics.document.function.WikiDocumentNodeImpl; - -public class Wiki extends WikiDocumentNodeImpl { - - private static final long serialVersionUID = -6176652836533413668L; - - public String text; - - @Override - public void create(StringBuilder builder, boolean isPDF) { - if(isPDF && !printInPDF) return; - builder.append(text); - builder.append("\r\n\r\n"); - } - - public void synchronizeText(String text) { - this.text = text; - } - -} +/******************************************************************************* + * Copyright (c) 2012 Association for Decentralized Information Management in + * Industry THTH ry. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * VTT Technical Research Centre of Finland - initial API and implementation + *******************************************************************************/ +package org.simantics.document.node; + +import org.simantics.document.function.WikiDocumentNodeImpl; + +public class Wiki extends WikiDocumentNodeImpl { + + private static final long serialVersionUID = -6176652836533413668L; + + public String text; + + @Override + public void create(StringBuilder builder, boolean isPDF) { + if(isPDF && !printInPDF) return; + builder.append(text); + builder.append("\r\n\r\n"); + } + + public void synchronizeText(String text) { + this.text = text; + } + +}