]> gerrit.simantics Code Review - simantics/platform.git/blobdiff - bundles/org.simantics.structural.synchronization.client/src/org/simantics/structural/synchronization/base/ModuleUpdateContext.java
Added ModuleUpdateContext.getModuleType()
[simantics/platform.git] / bundles / org.simantics.structural.synchronization.client / src / org / simantics / structural / synchronization / base / ModuleUpdateContext.java
index 027c88dc722d5232bd5229b29491e85b2bc355a5..1615aaf2ba35e8e4cd66c1cd009897e2005988fc 100644 (file)
@@ -80,7 +80,11 @@ public class ModuleUpdateContext<T extends ComponentBase<T>> {
     public <S> S getConcreteSolver() {
        return handler.solver.getConcreteSolver();
     }
-    
+
+    public String getModuleType() {
+        return updater != null ? updater.moduleType : null;
+    }
+
     public String getModuleName() {
         return component.solverComponentName;
     }