]> gerrit.simantics Code Review - simantics/platform.git/blobdiff - bundles/org.simantics.spreadsheet/src/org/simantics/spreadsheet/solver/SpreadsheetCellEditable.java
ExternalRef corrections
[simantics/platform.git] / bundles / org.simantics.spreadsheet / src / org / simantics / spreadsheet / solver / SpreadsheetCellEditable.java
index d3d57c4988709d04cbf43eed31ca2840c9f6a8a1..246bd705b7a4cb0e585a992711f68a07e1603dd6 100644 (file)
@@ -57,15 +57,15 @@ public class SpreadsheetCellEditable implements SheetNode {
     }
 
     public boolean editable() {
-        if (cell.content == null || cell.content instanceof SpreadsheetFormula || cell.content instanceof SpreadsheetSCLConstant)
+        if (cell.getContent() == null || cell.getContent() instanceof SpreadsheetFormula || cell.getContent() instanceof SpreadsheetSCLConstant)
             return false;
-        if (cell.content instanceof String) {
-            String content = (String) cell.content;
+        if (cell.getContent() instanceof String) {
+            String content = (String) cell.getContent();
             if (content.isEmpty())
                 return false;
         }
-        if (cell.content instanceof Variant) {
-            Variant content = (Variant) cell.content;
+        if (cell.getContent() instanceof Variant) {
+            Variant content = (Variant) cell.getContent();
             if (content.getValue() == null)
                 return false;
             if (content.getValue() instanceof String) {