]> gerrit.simantics Code Review - simantics/platform.git/blobdiff - bundles/org.simantics.scenegraph.profile/src/org/simantics/scenegraph/profile/Style.java
Multiple reader thread support for db client
[simantics/platform.git] / bundles / org.simantics.scenegraph.profile / src / org / simantics / scenegraph / profile / Style.java
index d18e623d049eda44b5e7b113024741f22233544e..c719df2d7aaf862afa12b9dee67aeee6b7b3fa2b 100644 (file)
@@ -13,6 +13,7 @@ package org.simantics.scenegraph.profile;
 
 import org.simantics.db.RequestProcessor;
 import org.simantics.db.Resource;
+import org.simantics.db.exception.DatabaseException;
 
 /**
  * This interface is not intended to be implemented directly. Extend
@@ -36,7 +37,7 @@ public interface Style {
      * @param group
      * @param observer
      */
-    void activate(RequestProcessor backend, Resource runtimeDiagram, Resource entry, Group group, EvaluationContext observer);
+    void activate(RequestProcessor backend, Resource runtimeDiagram, Resource entry, Group group, EvaluationContext observer) throws DatabaseException;
 
     /**
      * Deactivates this style. Intended to stop tracking the currently tracked