X-Git-Url: https://gerrit.simantics.org/r/gitweb?a=blobdiff_plain;f=bundles%2Forg.simantics.spreadsheet.graph%2Fsrc%2Forg%2Fsimantics%2Fspreadsheet%2Fgraph%2Fadapter%2FSpreadsheetVariableAdapter.java;fp=bundles%2Forg.simantics.spreadsheet.graph%2Fsrc%2Forg%2Fsimantics%2Fspreadsheet%2Fgraph%2Fadapter%2FSpreadsheetVariableAdapter.java;h=5e60d12fba92abf8c448f243c4747b056c9f6fa8;hb=0ae2b770234dfc3cbb18bd38f324125cf0faca07;hp=53db3cb8ecc0d0bddccd0103880a1d1ad614f27d;hpb=24e2b34260f219f0d1644ca7a138894980e25b14;p=simantics%2Fplatform.git diff --git a/bundles/org.simantics.spreadsheet.graph/src/org/simantics/spreadsheet/graph/adapter/SpreadsheetVariableAdapter.java b/bundles/org.simantics.spreadsheet.graph/src/org/simantics/spreadsheet/graph/adapter/SpreadsheetVariableAdapter.java index 53db3cb8e..5e60d12fb 100644 --- a/bundles/org.simantics.spreadsheet.graph/src/org/simantics/spreadsheet/graph/adapter/SpreadsheetVariableAdapter.java +++ b/bundles/org.simantics.spreadsheet.graph/src/org/simantics/spreadsheet/graph/adapter/SpreadsheetVariableAdapter.java @@ -1,17 +1,17 @@ -package org.simantics.spreadsheet.graph.adapter; - -import org.simantics.db.ReadGraph; -import org.simantics.db.Resource; -import org.simantics.db.common.adaption.SimpleContextualAdapter; -import org.simantics.db.exception.DatabaseException; -import org.simantics.db.layer0.variable.Variable; - - -public class SpreadsheetVariableAdapter extends SimpleContextualAdapter { - - @Override - public Variable adapt(ReadGraph graph, Resource source, Variable context) throws DatabaseException { - return new SpreadsheetVariable(context, source); - } - -} +package org.simantics.spreadsheet.graph.adapter; + +import org.simantics.db.ReadGraph; +import org.simantics.db.Resource; +import org.simantics.db.common.adaption.SimpleContextualAdapter; +import org.simantics.db.exception.DatabaseException; +import org.simantics.db.layer0.variable.Variable; + + +public class SpreadsheetVariableAdapter extends SimpleContextualAdapter { + + @Override + public Variable adapt(ReadGraph graph, Resource source, Variable context) throws DatabaseException { + return new SpreadsheetVariable(context, source); + } + +}