X-Git-Url: https://gerrit.simantics.org/r/gitweb?p=simantics%2Fplatform.git;a=blobdiff_plain;f=bundles%2Forg.simantics.spreadsheet.graph%2Fsrc%2Forg%2Fsimantics%2Fspreadsheet%2Fgraph%2Fadapter%2FDoubleArrayCellVariable.java;h=8650fc8f91fdc8e87dd205f1dd34e6fa10a7183e;hp=22695e52d7f4781c2ac88c1628209707b450808c;hb=5c67a96d34fe904b8c4b0375cd08ff1d543bf369;hpb=9a37dabc6c0212ed3e14499c88df3208cd06f9b0 diff --git a/bundles/org.simantics.spreadsheet.graph/src/org/simantics/spreadsheet/graph/adapter/DoubleArrayCellVariable.java b/bundles/org.simantics.spreadsheet.graph/src/org/simantics/spreadsheet/graph/adapter/DoubleArrayCellVariable.java index 22695e52d..8650fc8f9 100644 --- a/bundles/org.simantics.spreadsheet.graph/src/org/simantics/spreadsheet/graph/adapter/DoubleArrayCellVariable.java +++ b/bundles/org.simantics.spreadsheet.graph/src/org/simantics/spreadsheet/graph/adapter/DoubleArrayCellVariable.java @@ -10,9 +10,9 @@ import org.simantics.db.layer0.variable.ConstantChildVariable; 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 { @@ -38,8 +38,8 @@ 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;