]> gerrit.simantics Code Review - simantics/platform.git/blob - bundles/org.simantics.graph.compiler/src/org/simantics/graph/compiler/GraphCompilerPreferences.java
Replaceable Defined Component Types fixes
[simantics/platform.git] / bundles / org.simantics.graph.compiler / src / org / simantics / graph / compiler / GraphCompilerPreferences.java
1 package org.simantics.graph.compiler;
2
3 public class GraphCompilerPreferences {
4         public boolean        validate = false;
5         public ValidationMode validateRelationRestrictions = ValidationMode.IGNORE;
6         public ValidationMode validateResourceHasType = ValidationMode.IGNORE;
7         
8         @Override
9         public String toString() {
10             StringBuilder b = new StringBuilder();
11             b.append("validate = " + validate + "\n");
12             b.append("validateRelationRestrictions = " + validateRelationRestrictions + "\n");
13             b.append("validateResourceHasType = " + validateResourceHasType + "\n");
14             return b.toString();
15         }
16 }