]> gerrit.simantics Code Review - simantics/platform.git/blobdiff - bundles/org.simantics.spreadsheet.ui/src/org/simantics/spreadsheet/ui/editor/CommandCellTab.java
Adopt spreadsheet changes made in Balas development
[simantics/platform.git] / bundles / org.simantics.spreadsheet.ui / src / org / simantics / spreadsheet / ui / editor / CommandCellTab.java
index 74a539c73a0d85a82094fdf0bd3a5776377bd4bd..f0b9c8c0f2feddd682d4149ee5943653d14c32c1 100644 (file)
@@ -24,8 +24,8 @@ import org.simantics.db.management.ISessionContext;
 import org.simantics.selectionview.PropertyTabContributorImpl;
 import org.simantics.spreadsheet.CommandCellExecutor;
 import org.simantics.spreadsheet.Range;
+import org.simantics.spreadsheet.Spreadsheets;
 import org.simantics.spreadsheet.graph.GraphUI;
-import org.simantics.spreadsheet.util.SpreadsheetUtils;
 
 public class CommandCellTab extends PropertyTabContributorImpl {
 
@@ -89,7 +89,7 @@ public class CommandCellTab extends PropertyTabContributorImpl {
                                if(ui != null) {
                                        CommandCellExecutor executor = (CommandCellExecutor)ui.getAdapter(CommandCellExecutor.class);
                                        String location = variable.getPossiblePropertyValue(graph, "HasName");
-                                       Range range = SpreadsheetUtils.decodeCellAbsolute(location);
+                                       Range range = Spreadsheets.decodeCellAbsolute(location);
                                        executor.execute(range.startRow, range.startColumn);
                                        System.out.println("uiui");
                                }