git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@30150
ac1ea38d-2e2b-0410-8846-
a27921b304fc
package org.simantics.sysdyn.adapter;\r
\r
+import org.simantics.databoard.Datatypes;\r
+import org.simantics.databoard.type.Datatype;\r
import org.simantics.db.ReadGraph;\r
import org.simantics.db.exception.DatabaseException;\r
import org.simantics.db.layer0.variable.Variable;\r
}\r
}\r
\r
+ @Override\r
+ public Datatype getDatatype(ReadGraph graph) throws DatabaseException {\r
+ if (scalar) {\r
+ return Datatypes.DOUBLE;\r
+ } else {\r
+ return Datatypes.DOUBLE_ARRAY;\r
+ }\r
+ }\r
+ \r
}\r