From: Tuukka Lehtonen Date: Tue, 14 Mar 2017 09:22:47 +0000 (+0200) Subject: Added ModuleUpdateContext.getModuleType() X-Git-Tag: v1.28.0~58 X-Git-Url: https://gerrit.simantics.org/r/gitweb?a=commitdiff_plain;h=c393aff74a8a32d5dc614c5fe1bd88fe3f859375;p=simantics%2Fplatform.git Added ModuleUpdateContext.getModuleType() refs #7087 Change-Id: I90355f8f28cbbd36168375734e3b8e3766edfb48 --- diff --git a/bundles/org.simantics.structural.synchronization.client/src/org/simantics/structural/synchronization/base/ModuleUpdateContext.java b/bundles/org.simantics.structural.synchronization.client/src/org/simantics/structural/synchronization/base/ModuleUpdateContext.java index 027c88dc7..1615aaf2b 100644 --- a/bundles/org.simantics.structural.synchronization.client/src/org/simantics/structural/synchronization/base/ModuleUpdateContext.java +++ b/bundles/org.simantics.structural.synchronization.client/src/org/simantics/structural/synchronization/base/ModuleUpdateContext.java @@ -80,7 +80,11 @@ public class ModuleUpdateContext> { public S getConcreteSolver() { return handler.solver.getConcreteSolver(); } - + + public String getModuleType() { + return updater != null ? updater.moduleType : null; + } + public String getModuleName() { return component.solverComponentName; }