import org.simantics.db.layer0.variable.Variable;
import org.simantics.db.layer0.variable.Variables;
import org.simantics.spreadsheet.Range;
+import org.simantics.spreadsheet.Spreadsheets;
import org.simantics.spreadsheet.common.cell.VariableCellEditor;
import org.simantics.spreadsheet.resource.SpreadsheetResource;
-import org.simantics.spreadsheet.util.SpreadsheetUtils;
public class DoubleArrayCellVariable extends ConstantChildVariable {
if(baseLocation == null) return;
String editLocation = cell.getPossiblePropertyValue(graph, Variables.NAME);
- Range baseRange = SpreadsheetUtils.decodeCellAbsolute(baseLocation);
- Range editRange = SpreadsheetUtils.decodeCellAbsolute(editLocation);
+ Range baseRange = Spreadsheets.decodeCellAbsolute(baseLocation);
+ Range editRange = Spreadsheets.decodeCellAbsolute(editLocation);
int x = editRange.startColumn - baseRange.startColumn;
int y = editRange.startRow - baseRange.startRow;