From 57cf650d90cbdba0ba685e0bba4801cab97220d6 Mon Sep 17 00:00:00 2001 From: Tuukka Lehtonen Date: Tue, 14 Mar 2017 11:22:47 +0200 Subject: [PATCH] Added ModuleUpdateContext.getModuleType() refs #7087 Change-Id: I90355f8f28cbbd36168375734e3b8e3766edfb48 --- .../synchronization/base/ModuleUpdateContext.java | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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; } -- 2.47.1