]> gerrit.simantics Code Review - simantics/platform.git/commitdiff
Handle all AttributeRelation properties 22/4222/1
authorAntti Villberg <antti.villberg@semantum.fi>
Sun, 10 May 2020 07:26:37 +0000 (10:26 +0300)
committerAntti Villberg <antti.villberg@semantum.fi>
Sun, 10 May 2020 07:26:37 +0000 (10:26 +0300)
gitlab #128

Change-Id: I62926e825fdef2e6ccced6805cac1e13012c0d3b

bundles/org.simantics.document.server/src/org/simantics/document/server/Functions.java

index d5a727ffae324f3219af714288bce219aa58f2ec..8dea97ad118da8235b185d56b0e0ce539d9d7f0a 100644 (file)
@@ -164,8 +164,8 @@ public class Functions {
                         StandardAssertedGraphPropertyVariable ass = (StandardAssertedGraphPropertyVariable)property;
                         if("dataDefinitions".equals(ass.property.name) || "commands".equals(ass.property.name)  || "pollingFunction".equals(ass.property.name)) {
                                storePropertyValueAndExceptions(graph, parent, ass.property.name, property, map);
+                            continue;
                         }
-                        continue;
                     }
                     Resource predicate = property.getPossiblePredicateResource(graph);
                     if(predicate != null) {
@@ -297,8 +297,8 @@ public class Functions {
                         StandardAssertedGraphPropertyVariable ass = (StandardAssertedGraphPropertyVariable)property;
                         if("dataDefinitions".equals(ass.property.name) || "commands".equals(ass.property.name)  || "pollingFunction".equals(ass.property.name)) {
                             result.add(ass.property.name);
+                            continue;
                         }
-                        continue;
                     }
                     Resource predicate = property.getPossiblePredicateResource(graph);
                     if(predicate != null) {