]> gerrit.simantics Code Review - simantics/platform.git/blob - bundles/org.simantics.spreadsheet.graph/src/org/simantics/spreadsheet/graph/adapter/TextCellVariableAdapter.java
Bumped master version to 1.38.0
[simantics/platform.git] / bundles / org.simantics.spreadsheet.graph / src / org / simantics / spreadsheet / graph / adapter / TextCellVariableAdapter.java
1 package org.simantics.spreadsheet.graph.adapter;
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 import org.simantics.db.layer0.variable.Variable;
8
9
10 public class TextCellVariableAdapter extends SimpleContextualAdapter<Variable, Variable> {
11
12         @Override
13         public Variable adapt(ReadGraph graph, Resource source, Variable context) throws DatabaseException {
14                 return new TextCellVariable(context, source);
15         }
16
17 }