X-Git-Url: https://gerrit.simantics.org/r/gitweb?p=simantics%2Fplatform.git;a=blobdiff_plain;f=bundles%2Forg.simantics.db.procore%2Fsrc%2Ffi%2Fvtt%2Fsimantics%2Fprocore%2Finternal%2FXSupportImpl.java;fp=bundles%2Forg.simantics.db.procore%2Fsrc%2Ffi%2Fvtt%2Fsimantics%2Fprocore%2Finternal%2FXSupportImpl.java;h=05870668616b258e648634e5ac4383a88f8277f1;hp=4ac08fc0b8a25ff02f1596f402e8c669d1634726;hb=bfdceb3b5b0e4967358277cd506f237c9ee364c3;hpb=bc872011464c2c2f2b8c1dc045e71a1c748e827e diff --git a/bundles/org.simantics.db.procore/src/fi/vtt/simantics/procore/internal/XSupportImpl.java b/bundles/org.simantics.db.procore/src/fi/vtt/simantics/procore/internal/XSupportImpl.java index 4ac08fc0b..058706686 100644 --- a/bundles/org.simantics.db.procore/src/fi/vtt/simantics/procore/internal/XSupportImpl.java +++ b/bundles/org.simantics.db.procore/src/fi/vtt/simantics/procore/internal/XSupportImpl.java @@ -169,4 +169,11 @@ public class XSupportImpl implements XSupport { public boolean rolledback() { return session.graphSession.rolledback(); } + + @Override + public boolean isClusterLoaded(ClusterUID clusterUID) throws DatabaseException { + ClusterImpl clusterImpl = session.clusterTable.getClusterByClusterUIDOrMakeProxy(clusterUID); + return clusterImpl.isLoaded(); + } + }