]> gerrit.simantics Code Review - simantics/platform.git/blobdiff - bundles/org.simantics.spreadsheet.graph/src/org/simantics/spreadsheet/graph/adapter/DoubleArrayCellVariable.java
Adopt spreadsheet changes made in Balas development
[simantics/platform.git] / bundles / org.simantics.spreadsheet.graph / src / org / simantics / spreadsheet / graph / adapter / DoubleArrayCellVariable.java
index 22695e52d7f4781c2ac88c1628209707b450808c..8650fc8f91fdc8e87dd205f1dd34e6fa10a7183e 100644 (file)
@@ -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;