1 package org.simantics.spreadsheet.graph.adapter;
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;
10 public class TextCellVariableAdapter extends SimpleContextualAdapter<Variable, Variable> {
13 public Variable adapt(ReadGraph graph, Resource source, Variable context) throws DatabaseException {
14 return new TextCellVariable(context, source);