]> gerrit.simantics Code Review - simantics/platform.git/blob - bundles/org.simantics.db.layer0/src/org/simantics/db/layer0/variable/StandardGraphChildVariableAdapter.java
Index tokenized lowercase versions of name and types for UI searches
[simantics/platform.git] / bundles / org.simantics.db.layer0 / src / org / simantics / db / layer0 / variable / StandardGraphChildVariableAdapter.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.common.adaption.SimpleContextualAdapter;
6 import org.simantics.db.exception.DatabaseException;
7
8 public class StandardGraphChildVariableAdapter extends SimpleContextualAdapter<Variable, Variable> {
9
10         @Override
11         public Variable adapt(ReadGraph graph, Resource source, Variable context) throws DatabaseException {
12                 return new StandardGraphChildVariable(context, null, source);
13         }
14
15 }