*******************************************************************************/\r
package org.simantics.sysdyn.ui.elements2;\r
\r
-import org.simantics.databoard.binding.java.StringJavaBinding;\r
+import org.simantics.databoard.binding.java.StringBindingDefault;\r
import org.simantics.db.Builtins;\r
import org.simantics.db.Resource;\r
import org.simantics.db.Session;\r
Session session = context.get(GraphSynchronizationHints.SESSION);\r
Builtins b = session.getBuiltins();\r
ModelingResources mr = session.getService(ModelingResources.class);\r
- return queue.offer(new RelatedPropertyModification(object, mr.ElementToComponent, b.HasName, b.String, newValue, StringJavaBinding.INSTANCE), null);\r
+ return queue.offer(new RelatedPropertyModification(object, mr.ElementToComponent, b.HasName, b.String, newValue, StringBindingDefault.INSTANCE), null);\r
}\r
return false;\r
}\r
import org.eclipse.core.commands.AbstractHandler;\r
import org.eclipse.core.commands.ExecutionEvent;\r
import org.eclipse.core.commands.ExecutionException; \r
-import org.simantics.databoard.binding.java.StringJavaBinding;\r
+import org.simantics.databoard.binding.java.StringBindingDefault;\r
import org.simantics.db.Builtins;\r
import org.simantics.db.Resource;\r
import org.simantics.db.WriteGraph;\r
Resource diagram = OrderedSetUtils.create(g, sr.ConfigurationDiagram);\r
GraphLayer l = new GraphLayerUtil(g).createLayer(DiagramConstants.DEFAULT_LAYER_NAME, true);\r
g.claim(diagram, mu.dr.HasLayer, l.getLayer());\r
- g.claimValue(diagram, b.HasName, "Diagrammi", StringJavaBinding.INSTANCE);\r
+ g.claimValue(diagram, b.HasName, "Diagrammi", StringBindingDefault.INSTANCE);\r
\r
Resource conf = GraphUtils.create2(g, \r
sr.Configuration,\r
\r
import org.eclipse.swt.widgets.Shell;\r
import org.eclipse.ui.PartInitException;\r
-import org.simantics.databoard.binding.java.StringJavaBinding;\r
+import org.simantics.databoard.binding.java.StringBindingDefault;\r
import org.simantics.db.Builtins;\r
import org.simantics.db.Resource;\r
import org.simantics.db.Session;\r
Resource diagram = OrderedSetUtils.create(g, sr.ConfigurationDiagram);\r
GraphLayer l = new GraphLayerUtil(g).createLayer(DiagramConstants.DEFAULT_LAYER_NAME, true);\r
g.claim(diagram, mu.dr.HasLayer, l.getLayer());\r
- g.claimValue(diagram, b.HasName, "Diagrammi", StringJavaBinding.INSTANCE);\r
+ g.claimValue(diagram, b.HasName, "Diagrammi", StringBindingDefault.INSTANCE);\r
\r
\r
Resource conf = g.newResource();\r
package org.simantics.sysdyn.ui.properties.widgets.factories;\r
\r
import org.simantics.browsing.ui.swt.widgets.impl.TextModifyListenerImpl;\r
-import org.simantics.databoard.binding.java.DoubleJavaBinding;\r
+import org.simantics.databoard.binding.java.DoubleBindingDefault;\r
import org.simantics.db.Resource;\r
import org.simantics.db.WriteGraph;\r
import org.simantics.db.exception.DatabaseException;\r
\r
@Override\r
public void applyText(WriteGraph graph, Resource input, String text) throws DatabaseException {\r
- graph.claimValue(input, graph.getResource(propertyURI), Double.parseDouble(text), DoubleJavaBinding.INSTANCE);\r
+ graph.claimValue(input, graph.getResource(propertyURI), Double.parseDouble(text), DoubleBindingDefault.INSTANCE);\r
}\r
\r
}\r