} else {\r
Resource runtime = diagram.getHint((DiagramModelHints.KEY_DIAGRAM_RUNTIME_RESOURCE));\r
DiagramResource dr = DiagramResource.getInstance(graph);\r
- String variable = (String)graph.getPossibleRelatedValue(runtime, dr.HasVariable);\r
+ String variable = (String)graph.getPossibleRelatedValue(runtime, dr.RuntimeDiagram_HasVariable);\r
if(variable == null)\r
return;\r
\r
\r
DiagramResource dr = DiagramResource.getInstance(graph);\r
Resource runtime = viewer.getRuntime();\r
- String uri = graph.getPossibleRelatedValue(runtime, dr.HasVariable, Bindings.STRING);\r
+ String uri = graph.getPossibleRelatedValue(runtime, dr.RuntimeDiagram_HasVariable, Bindings.STRING);\r
Variable parent = Variables.getVariable(graph, uri);\r
Resource model = Variables.getModel(graph, parent);\r
final String modelURI = graph.getURI(model);\r
if(runtime == null) return null;\r
Resource resource = ModelingUtils.getPossibleElementCorrespondendence(g, element);\r
if(resource == null || !g.isInstanceOf(resource, sr.Variable)) return null;\r
- String variableURI = g.getPossibleRelatedValue(runtime, dr.HasVariable);\r
+ String variableURI = g.getPossibleRelatedValue(runtime, dr.RuntimeDiagram_HasVariable);\r
try {\r
Variable compositeVariable = Variables.getVariable(g, variableURI);\r
return compositeVariable.browsePossible(g, resource);\r