-package org.simantics.image.ui.function;\r
-\r
-import org.simantics.db.ReadGraph;\r
-import org.simantics.db.Resource;\r
-import org.simantics.db.exception.DatabaseException;\r
-import org.simantics.db.layer0.variable.Variable;\r
-import org.simantics.scl.reflection.annotations.SCLValue;\r
-\r
-public class All {\r
-\r
- @SCLValue(type = "ReadGraph -> Resource -> Variable -> a")\r
- public static Object data(ReadGraph graph, Resource converter, Variable context) throws DatabaseException {\r
-\r
- Variable parent = context.getParent(graph);\r
- Resource image = parent.getRepresents(graph);\r
- return graph.getValue(image);\r
-\r
- }\r
-\r
-}\r
+package org.simantics.image.ui.function;
+
+import org.simantics.db.ReadGraph;
+import org.simantics.db.Resource;
+import org.simantics.db.exception.DatabaseException;
+import org.simantics.db.layer0.variable.Variable;
+import org.simantics.scl.reflection.annotations.SCLValue;
+
+public class All {
+
+ @SCLValue(type = "ReadGraph -> Resource -> Variable -> a")
+ public static Object data(ReadGraph graph, Resource converter, Variable context) throws DatabaseException {
+
+ Variable parent = context.getParent(graph);
+ Resource image = parent.getRepresents(graph);
+ return graph.getValue(image);
+
+ }
+
+}