1 package org.simantics.spreadsheet.common.cell;
3 import java.util.Collection;
4 import java.util.Collections;
6 import org.simantics.databoard.binding.mutable.Variant;
7 import org.simantics.db.layer0.variable.VariableSpaceManipulator.PropertyCreationData;
8 import org.simantics.scl.reflection.OntologyVersions;
10 public class TextStringCellParser implements StringCellParser {
12 final static String TYPE = OntologyVersions.getInstance().currentVersion("http://www.simantics.org/Spreadsheet-0.0/TextCell");
15 public Collection<PropertyCreationData> parse(String text) {
16 return Collections.singletonList(PropertyCreationData.build(Parsers.CONTENT_PROPERTY, Variant.ofInstance(text)));
20 public String getType() {