]> gerrit.simantics Code Review - simantics/platform.git/blobdiff - bundles/org.simantics.db.layer0/src/org/simantics/db/layer0/variable/VariableUtils.java
Possible variable browse without URI
[simantics/platform.git] / bundles / org.simantics.db.layer0 / src / org / simantics / db / layer0 / variable / VariableUtils.java
index 1ee4cec1bd9d40e5a58c7e8d62e5833e45e5fe23..46803b5e082e74743b564c991406d8ae8c0974c0 100644 (file)
@@ -109,5 +109,8 @@ public class VariableUtils {
                }
                
        };
-       
+
+    public static String unnamedResourceName(Resource resource) {
+        return "r" + resource.getResourceId();
+    }
 }