]> gerrit.simantics Code Review - simantics/platform.git/blob - bundles/org.simantics.graph.compiler/src/org/simantics/graph/compiler/GraphCompilerPreferences.java
Merge "Fix to OrderedSetTemplate, preference for autocompletion"
[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     public boolean autoCompletion;
8         
9         @Override
10         public String toString() {
11             StringBuilder b = new StringBuilder();
12             b.append("validate = " + validate + "\n");
13             b.append("validateRelationRestrictions = " + validateRelationRestrictions + "\n");
14             b.append("validateResourceHasType = " + validateResourceHasType + "\n");
15             b.append("autoCompletion = " + autoCompletion + "\n");
16             return b.toString();
17         }
18 }