]> gerrit.simantics Code Review - simantics/platform.git/blob - bundles/org.simantics.document.server/src/org/simantics/document/server/DocumentProperties.java
Still working for multiple readers
[simantics/platform.git] / bundles / org.simantics.document.server / src / org / simantics / document / server / DocumentProperties.java
1 package org.simantics.document.server;
2
3 import java.util.Collection;
4
5 import org.simantics.db.ReadGraph;
6 import org.simantics.db.exception.DatabaseException;
7 import org.simantics.db.layer0.variable.Variable;
8
9 public interface DocumentProperties {
10         
11         Collection<String> getKeys(ReadGraph graph, Variable context) throws DatabaseException;
12         Object getValue(ReadGraph graph, Variable context, String key) throws DatabaseException;
13         
14 }