]> gerrit.simantics Code Review - simantics/platform.git/blobdiff - bundles/org.simantics.browsing.ui.graph.impl/src/org/simantics/browsing/ui/graph/impl/EvaluatorCheckedState.java
Fixed all line endings of the repository
[simantics/platform.git] / bundles / org.simantics.browsing.ui.graph.impl / src / org / simantics / browsing / ui / graph / impl / EvaluatorCheckedState.java
index 3807ab5132bb8ff412bce0564f6e183e7f99aa37..7d9fbc15de5bd624f4ea1ae7bdcfd4d3dd1f4c88 100644 (file)
@@ -1,30 +1,30 @@
-package org.simantics.browsing.ui.graph.impl;\r
-\r
-import org.simantics.browsing.ui.BuiltinKeys.CheckedStateKey;\r
-import org.simantics.browsing.ui.CheckedState;\r
-import org.simantics.browsing.ui.NodeContext;\r
-import org.simantics.browsing.ui.PrimitiveQueryUpdater;\r
-import org.simantics.browsing.ui.graph.impl.contribution.CheckedStateContributionImpl;\r
-import org.simantics.browsing.ui.model.browsecontexts.BrowseContext;\r
-import org.simantics.db.ReadGraph;\r
-import org.simantics.db.exception.DatabaseException;\r
-\r
-public class EvaluatorCheckedState extends CheckedStateContributionImpl {\r
-\r
-       final BrowseContext browseContext;\r
-       final boolean useNodeBrowseContexts;\r
-       \r
-    public EvaluatorCheckedState(PrimitiveQueryUpdater updater, NodeContext context,\r
-               CheckedStateKey key,\r
-                       BrowseContext browseContext, boolean useNodeBrowseContexts) {\r
-               super(updater, context, key);\r
-               this.browseContext = browseContext;\r
-               this.useNodeBrowseContexts = useNodeBrowseContexts;\r
-       }\r
-    \r
-    @Override\r
-    public CheckedState getState(ReadGraph graph, NodeContext context) throws DatabaseException {\r
-        return BrowseContext.get(graph,context,browseContext,useNodeBrowseContexts).getCheckedState(graph, context);\r
-    }\r
-\r
-}\r
+package org.simantics.browsing.ui.graph.impl;
+
+import org.simantics.browsing.ui.BuiltinKeys.CheckedStateKey;
+import org.simantics.browsing.ui.CheckedState;
+import org.simantics.browsing.ui.NodeContext;
+import org.simantics.browsing.ui.PrimitiveQueryUpdater;
+import org.simantics.browsing.ui.graph.impl.contribution.CheckedStateContributionImpl;
+import org.simantics.browsing.ui.model.browsecontexts.BrowseContext;
+import org.simantics.db.ReadGraph;
+import org.simantics.db.exception.DatabaseException;
+
+public class EvaluatorCheckedState extends CheckedStateContributionImpl {
+
+       final BrowseContext browseContext;
+       final boolean useNodeBrowseContexts;
+       
+    public EvaluatorCheckedState(PrimitiveQueryUpdater updater, NodeContext context,
+               CheckedStateKey key,
+                       BrowseContext browseContext, boolean useNodeBrowseContexts) {
+               super(updater, context, key);
+               this.browseContext = browseContext;
+               this.useNodeBrowseContexts = useNodeBrowseContexts;
+       }
+    
+    @Override
+    public CheckedState getState(ReadGraph graph, NodeContext context) throws DatabaseException {
+        return BrowseContext.get(graph,context,browseContext,useNodeBrowseContexts).getCheckedState(graph, context);
+    }
+
+}