]> gerrit.simantics Code Review - simantics/platform.git/blob - bundles/org.simantics.db.layer0/src/org/simantics/db/layer0/variable/StandardGraphPropertyFactory.java
Always write model activation information in activations VG
[simantics/platform.git] / bundles / org.simantics.db.layer0 / src / org / simantics / db / layer0 / variable / StandardGraphPropertyFactory.java
1 package org.simantics.db.layer0.variable;
2
3 import org.simantics.db.ReadGraph;
4 import org.simantics.db.Resource;
5 import org.simantics.db.exception.DatabaseException;
6
7 public class StandardGraphPropertyFactory implements GraphPropertyFactory {
8
9         public static final StandardGraphPropertyFactory INSTANCE = new StandardGraphPropertyFactory();
10         
11         @Override
12         public Variable create(ReadGraph graph, Variable parent, Resource property) throws DatabaseException {
13                 return new StandardGraphPropertyVariable(graph, parent, property);
14         }
15
16 }