]> gerrit.simantics Code Review - simantics/sysdyn.git/commitdiff
method rename VariantAccessor#getValueAccessor --> VariantAccessor#getContentAccessor
authorkalajainen <kalajainen@ac1ea38d-2e2b-0410-8846-a27921b304fc>
Tue, 3 Aug 2010 11:48:33 +0000 (11:48 +0000)
committerkalajainen <kalajainen@ac1ea38d-2e2b-0410-8846-a27921b304fc>
Tue, 3 Aug 2010 11:48:33 +0000 (11:48 +0000)
git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@16924 ac1ea38d-2e2b-0410-8846-a27921b304fc

org.simantics.sysdyn/src/org/simantics/sysdyn/manager/SysdynResult.java

index 85efa71a61aa2af5c17dce1bb82f64b9363b672e..e17a47ef82490f58c6052aefc04c16a9506bcdd0 100644 (file)
@@ -51,7 +51,7 @@ public class SysdynResult {
         File file = new File(path);\r
         try {\r
             BinaryVariant bv = (BinaryVariant)Accessors.openAccessor(file);\r
-            BinaryRecord br = bv.getValueAccessor();\r
+            BinaryRecord br = bv.getContentAccessor();\r
             accessor = br;\r
         } catch (AccessorConstructionException e) {\r
             e.printStackTrace();\r
@@ -214,11 +214,11 @@ public class SysdynResult {
             try {\r
                 if(!ma.containsKey(MutableVariantBinding.INSTANCE, tmpVariant)) return null;\r
                 VariantAccessor va = ma.getValueAccessor( MutableVariantBinding.INSTANCE, tmpVariant);\r
-                Accessor valueAccessor = va.getValueAccessor();\r
+                Accessor valueAccessor = va.getContentAccessor();\r
                 rec = (Recording)valueAccessor.getValue( Bindings.getBinding(Recording.class));\r
 \r
                 va = ma.getValueAccessor( MutableVariantBinding.INSTANCE, tmpVariant2);\r
-                valueAccessor = va.getValueAccessor();\r
+                valueAccessor = va.getContentAccessor();\r
                 time = (Recording)valueAccessor.getValue( Bindings.getBinding(Recording.class));\r
                 if( rec == null || time == null) return null;\r
             } catch (AccessorException e) {\r