\r
import java.util.List;\r
\r
-import org.simantics.databoard.binding.Binding;\r
-import org.simantics.databoard.Bindings;\r
import org.simantics.databoard.Bindings;\r
import org.simantics.databoard.Datatypes;\r
-import org.simantics.databoard.primitives.MutableDouble;\r
+import org.simantics.databoard.binding.Binding;\r
import org.simantics.databoard.type.Datatype;\r
-import org.simantics.databoard.type.DoubleType;\r
import org.simantics.db.ReadGraph;\r
import org.simantics.db.Resource;\r
import org.simantics.db.WriteGraph;\r
Resource expression = expressionList.get(0);\r
if(expression == null) return;\r
if(!graph.isInstanceOf(expression, sr.ParameterExpression)) return;\r
- Double value = new Double(((MutableDouble)object).doubleValue());\r
- graph.claimLiteral(expression, sr.HasEquation, value.toString(), Bindings.STRING);\r
+ graph.claimLiteral(expression, sr.HasEquation, object.toString(), Bindings.STRING);\r
}\r
\r
@SuppressWarnings("unchecked")\r