X-Git-Url: https://gerrit.simantics.org/r/gitweb?p=simantics%2Fplatform.git;a=blobdiff_plain;f=bundles%2Forg.simantics.spreadsheet%2Fsrc%2Forg%2Fsimantics%2Fspreadsheet%2Fsolver%2FSpreadsheetSCLConstant.java;fp=bundles%2Forg.simantics.spreadsheet.graph%2Fsrc%2Forg%2Fsimantics%2Fspreadsheet%2Fgraph%2FSpreadsheetSCLConstant.java;h=cc0148edbd8a4c73f33422cd4d61ce8e0bbad296;hp=e8d38b2c592d71bdcfa135e24fe78a18c69cecc1;hb=5c67a96d34fe904b8c4b0375cd08ff1d543bf369;hpb=9a37dabc6c0212ed3e14499c88df3208cd06f9b0 diff --git a/bundles/org.simantics.spreadsheet.graph/src/org/simantics/spreadsheet/graph/SpreadsheetSCLConstant.java b/bundles/org.simantics.spreadsheet/src/org/simantics/spreadsheet/solver/SpreadsheetSCLConstant.java similarity index 84% rename from bundles/org.simantics.spreadsheet.graph/src/org/simantics/spreadsheet/graph/SpreadsheetSCLConstant.java rename to bundles/org.simantics.spreadsheet/src/org/simantics/spreadsheet/solver/SpreadsheetSCLConstant.java index e8d38b2c5..cc0148edb 100644 --- a/bundles/org.simantics.spreadsheet.graph/src/org/simantics/spreadsheet/graph/SpreadsheetSCLConstant.java +++ b/bundles/org.simantics.spreadsheet/src/org/simantics/spreadsheet/solver/SpreadsheetSCLConstant.java @@ -1,4 +1,4 @@ -package org.simantics.spreadsheet.graph; +package org.simantics.spreadsheet.solver; import java.io.Serializable; @@ -9,15 +9,23 @@ public class SpreadsheetSCLConstant implements Serializable { private static final long serialVersionUID = 428064772427245449L; - public String expression; - public Object content; - + private String expression; + private Object content; + public static final Binding BINDING = Bindings.getBindingUnchecked(SpreadsheetSCLConstant.class); public SpreadsheetSCLConstant(String expression, Object object) { this.content = object; this.expression = expression; } + + public Object getContent() { + return content; + } + + public String getExpression() { + return expression; + } @Override public String toString() {