gitlab #369
Change-Id: Id1ddcc8253339ac7ab60f2772ab53d5c06547b19
return xs.isClusterLoaded(clusterUID);
}
+ public static void setImmutable(ReadGraph graph, Resource resource, boolean value) throws DatabaseException {
+ XSupport xs = graph.getService(XSupport.class);
+ xs.setImmutable(resource, value);
+ }
+
public static Type getSCLType(ReadGraph graph, RuntimeEnvironment runtimeEnvironment, String typeText) throws DatabaseException {
try {
return Environments.getType(runtimeEnvironment.getEnvironment(), typeText);
garbageResources :: <ReadGraph> [Resource]
clusterUIDOfResource :: Resource -> <ReadGraph> ClusterUID
isClusterLoaded :: ClusterUID -> <ReadGraph> Boolean
+ setImmutable :: Resource -> Boolean -> <ReadGraph> ()
importJava "org.simantics.scl.db.SCLFunctions" where
collectClusters :: <Proc> ()