]> gerrit.simantics Code Review - simantics/platform.git/blobdiff - bundles/org.simantics.structural2/src/org/simantics/structural2/modelingRules/StandardModelingRules.java
Sync git svn branch with SVN repository r33324.
[simantics/platform.git] / bundles / org.simantics.structural2 / src / org / simantics / structural2 / modelingRules / StandardModelingRules.java
index a45edf0eef1c1e2f2fa2a28ec1a5449f76c71530..c79602c1bde88010b6a9f5706bab6e1425aac46c 100644 (file)
@@ -199,6 +199,8 @@ public class StandardModelingRules extends AbstractModelingRules {
                boolean legal = true;\r
                for (Resource constraint : g.getObjects(connectionType, STR.HasConnectionConstraint)) {\r
                        IConnectionConstraint cc = g.adapt(constraint, IConnectionConstraint.class);\r
+                       if(Policy.DEBUG_STANDARD_MODELING_RULES)\r
+                               System.out.println("Checking " + cc.getClass().getSimpleName());\r
                        switch(cc.isLegal(g, terminals)) {\r
                        case ILLEGAL:\r
                                if(Policy.DEBUG_STANDARD_MODELING_RULES)\r