X-Git-Url: https://gerrit.simantics.org/r/gitweb?p=simantics%2Fplatform.git;a=blobdiff_plain;f=bundles%2Forg.simantics.modeling%2Fsrc%2Forg%2Fsimantics%2Fmodeling%2Fscl%2Fissue%2FSCLExpressionIssueProvider.java;h=1d04928c840f177d76eaebc3371c780972901b96;hp=7e480d4ffa1218276448b00fbcf8a64e48cebdec;hb=92ad7da377109c556029f64566e3a2ab67ac57c6;hpb=fccc8f9d20c8fbb4ac8e601aa1fcfcc1e0075cab diff --git a/bundles/org.simantics.modeling/src/org/simantics/modeling/scl/issue/SCLExpressionIssueProvider.java b/bundles/org.simantics.modeling/src/org/simantics/modeling/scl/issue/SCLExpressionIssueProvider.java index 7e480d4ff..1d04928c8 100644 --- a/bundles/org.simantics.modeling/src/org/simantics/modeling/scl/issue/SCLExpressionIssueProvider.java +++ b/bundles/org.simantics.modeling/src/org/simantics/modeling/scl/issue/SCLExpressionIssueProvider.java @@ -195,7 +195,7 @@ public class SCLExpressionIssueProvider implements SCLIssueProvider { } @Override - public void execute(ReadGraph graph, Set newComponents) { + public void execute(ReadGraph graph, Set newComponents) throws DatabaseException { if (currentlyListening.isEmpty() && newComponents.isEmpty()) { // we can stop here as nothing will change return; @@ -216,7 +216,7 @@ public class SCLExpressionIssueProvider implements SCLIssueProvider { for (Resource addedComponent : addedComponents) { SCLValueDisposableSyncListener listener = new SCLValueDisposableSyncListener(callback); currentlyListening.put(addedComponent, listener); - graph.asyncRequest(new SCLValueRequest(addedComponent), listener); + graph.syncRequest(new SCLValueRequest(addedComponent), listener); } }