X-Git-Url: https://gerrit.simantics.org/r/gitweb?a=blobdiff_plain;f=bundles%2Forg.simantics.spreadsheet.ui%2Fsrc%2Forg%2Fsimantics%2Fspreadsheet%2Fui%2FExpressionTextListener.java;h=1d9a90eabebd92a5e30d3aaf31ad9d8998918274;hb=f56d8b5c5225ef421009dadca4cec0ac56aef019;hp=881cdad0dfd4faf3e6f982f7a1c625009f551337;hpb=89b915a237d980f62d9ffe2caeb8a69170e0ce56;p=simantics%2Fplatform.git diff --git a/bundles/org.simantics.spreadsheet.ui/src/org/simantics/spreadsheet/ui/ExpressionTextListener.java b/bundles/org.simantics.spreadsheet.ui/src/org/simantics/spreadsheet/ui/ExpressionTextListener.java index 881cdad0d..1d9a90eab 100644 --- a/bundles/org.simantics.spreadsheet.ui/src/org/simantics/spreadsheet/ui/ExpressionTextListener.java +++ b/bundles/org.simantics.spreadsheet.ui/src/org/simantics/spreadsheet/ui/ExpressionTextListener.java @@ -11,7 +11,7 @@ import org.simantics.databoard.Bindings; import org.simantics.databoard.binding.mutable.Variant; import org.simantics.spreadsheet.CellEditor; import org.simantics.spreadsheet.ClientModel; -import org.simantics.spreadsheet.util.SpreadsheetUtils; +import org.simantics.spreadsheet.Spreadsheets; public class ExpressionTextListener implements FocusListener, KeyListener { @@ -44,9 +44,9 @@ public class ExpressionTextListener implements FocusListener, KeyListener { if(currentRow == -1 || currentColumn == -1) return; if (current.startsWith("=")) { - editor.edit(null, SpreadsheetUtils.cellName(currentRow, currentColumn), ClientModel.CONTENT_EXPRESSION, current, Bindings.STRING, null); + editor.edit(null, Spreadsheets.cellName(currentRow, currentColumn), ClientModel.CONTENT_EXPRESSION, current, Bindings.STRING, null); } else { - editor.edit(null, SpreadsheetUtils.cellName(currentRow, currentColumn), Variant.ofInstance(current), null); + editor.edit(null, Spreadsheets.cellName(currentRow, currentColumn), Variant.ofInstance(current), null); } undoPoint = current;