import org.simantics.db.layer0.variable.Variable;
import org.simantics.db.layer0.variable.VariableFactory;
import org.simantics.db.layer0.variable.Variables;
+import org.simantics.spreadsheet.Spreadsheets;
import org.simantics.spreadsheet.resource.SpreadsheetResource;
-import org.simantics.spreadsheet.util.SpreadsheetUtils;
public class StringArrayCells implements VariableFactory {
for(int offset=0,i=0;i<rows;i++) {
for(int j=0;j<width;j++) {
String value = data[offset++];
- String valueLocation = SpreadsheetUtils.offset(location, i, j);
+ String valueLocation = Spreadsheets.offset(location, i, j);
result.add(new ConstantChildVariable(variable, valueLocation, propertyNames, bindings, new Object[] { value, true }));
}
}