]> gerrit.simantics Code Review - simantics/platform.git/blobdiff - bundles/org.simantics.spreadsheet.ui/src/org/simantics/spreadsheet/ui/editor/SpreadsheetSelectionProcessor.java
Adopt spreadsheet changes made in Balas development
[simantics/platform.git] / bundles / org.simantics.spreadsheet.ui / src / org / simantics / spreadsheet / ui / editor / SpreadsheetSelectionProcessor.java
index 11da9ac7b1779a22c59e4f6c0dd33195dad72aa0..ea54d631949ebda8ae96dfd7a0b351b35f9dd80f 100644 (file)
@@ -11,10 +11,10 @@ import org.simantics.db.layer0.variable.Variable;
 import org.simantics.db.layer0.variable.Variables;
 import org.simantics.selectionview.ComparableTabContributor;
 import org.simantics.selectionview.SelectionProcessor;
+import org.simantics.spreadsheet.Spreadsheets;
 import org.simantics.spreadsheet.resource.SpreadsheetResource;
 import org.simantics.spreadsheet.ui.TableSelection;
 import org.simantics.spreadsheet.ui.editor.NoCellTab.NoCellInput;
-import org.simantics.spreadsheet.util.SpreadsheetUtils;
 
 /**
  * @author Tuukka Lehtonen
@@ -32,7 +32,7 @@ public class SpreadsheetSelectionProcessor implements SelectionProcessor<Collect
                final TableSelection sel = (TableSelection)it.next();
                int row = sel.getRows()[0];
                int column = sel.getColumns()[0];
-               String location = SpreadsheetUtils.cellName(row, column);
+               String location = Spreadsheets.cellName(row, column);
                ArrayList<ComparableTabContributor> result = new ArrayList<ComparableTabContributor>(); 
                final Variable cell = variable.getPossibleChild(graph, location);
                if(cell != null) {