]> gerrit.simantics Code Review - simantics/district.git/blobdiff - org.simantics.district.network/src/org/simantics/district/network/profile/DistrictNodeGroup.java
Remove unused profile throtting setting & assert diameter as Double
[simantics/district.git] / org.simantics.district.network / src / org / simantics / district / network / profile / DistrictNodeGroup.java
index 8d229b78c325ea49fb0d0f8500c25726b1c8cf81..fff235ac638133c53a43c072fc285a77b048d0f7 100644 (file)
@@ -67,12 +67,12 @@ public class DistrictNodeGroup implements Group {
     }
 
     @Override
-    public void trackItems(RequestProcessor processor, final Resource runtimeDiagram, final SetListener<Resource> listener) throws DatabaseException {
+    public void trackItems(RequestProcessor processor, final Resource runtimeDiagram, final SetListener<Resource> listener) {
         if (types.isEmpty()) {
             System.out.println("DistrictNodeGroup has no types!");
             return;
         }
-        processor.syncRequest(new TernaryRead<Resource, Collection<Resource>, Set<String>, Collection<Resource>>(runtimeDiagram, types, mappedComponentTypeNames) {
+        processor.asyncRequest(new TernaryRead<Resource, Collection<Resource>, Set<String>, Collection<Resource>>(runtimeDiagram, types, mappedComponentTypeNames) {
             @Override
             public Collection<Resource> perform(ReadGraph graph) throws DatabaseException {
                 return graph.syncRequest(new ElementsMappedToComponentTypes(parameter, parameter2, parameter3));