]> gerrit.simantics Code Review - simantics/platform.git/blobdiff - bundles/org.simantics.spreadsheet.common/src/org/simantics/spreadsheet/common/cell/TextStringCellParser.java
Fixed all line endings of the repository
[simantics/platform.git] / bundles / org.simantics.spreadsheet.common / src / org / simantics / spreadsheet / common / cell / TextStringCellParser.java
index 3eb2bb8d590267a209066e002140d3d5b7cdd700..6f3209f960ff3215303296a68e6c89816b616ce4 100644 (file)
@@ -1,24 +1,24 @@
-package org.simantics.spreadsheet.common.cell;\r
-\r
-import java.util.Collection;\r
-import java.util.Collections;\r
-\r
-import org.simantics.databoard.binding.mutable.Variant;\r
-import org.simantics.db.layer0.variable.VariableSpaceManipulator.PropertyCreationData;\r
-import org.simantics.scl.reflection.OntologyVersions;\r
-\r
-public class TextStringCellParser implements StringCellParser {\r
-\r
-       final static String TYPE = OntologyVersions.getInstance().currentVersion("http://www.simantics.org/Spreadsheet-0.0/TextCell"); \r
-       \r
-    @Override\r
-    public Collection<PropertyCreationData> parse(String text) {\r
-        return Collections.singletonList(PropertyCreationData.build(Parsers.CONTENT_PROPERTY, Variant.ofInstance(text)));\r
-    }\r
-    \r
-    @Override\r
-    public String getType() { \r
-       return TYPE;\r
-    }\r
-    \r
+package org.simantics.spreadsheet.common.cell;
+
+import java.util.Collection;
+import java.util.Collections;
+
+import org.simantics.databoard.binding.mutable.Variant;
+import org.simantics.db.layer0.variable.VariableSpaceManipulator.PropertyCreationData;
+import org.simantics.scl.reflection.OntologyVersions;
+
+public class TextStringCellParser implements StringCellParser {
+
+       final static String TYPE = OntologyVersions.getInstance().currentVersion("http://www.simantics.org/Spreadsheet-0.0/TextCell"); 
+       
+    @Override
+    public Collection<PropertyCreationData> parse(String text) {
+        return Collections.singletonList(PropertyCreationData.build(Parsers.CONTENT_PROPERTY, Variant.ofInstance(text)));
+    }
+    
+    @Override
+    public String getType() { 
+       return TYPE;
+    }
+    
 }
\ No newline at end of file