]> gerrit.simantics Code Review - simantics/platform.git/commitdiff
Method for manually recompling a SCL Module 37/4337/1
authorMarko Luukkainen <marko.luukkainen@semantum.fi>
Fri, 3 Jul 2020 11:05:09 +0000 (14:05 +0300)
committerMarko Luukkainen <marko.luukkainen@semantum.fi>
Fri, 3 Jul 2020 11:05:09 +0000 (14:05 +0300)
gitlab #571

Change-Id: I4f09857cfbce03a869551e9e52430bb61792a7ad

bundles/org.simantics.scl.compiler/src/org/simantics/scl/compiler/module/repository/ModuleRepository.java

index 79b596908962b2f4d8fbc4b8c09e74c9266bd213..23491235ce3289c46fd254009cde5963774374d6 100644 (file)
@@ -240,6 +240,10 @@ public class ModuleRepository {
         return getModule(moduleName, null);
     }
     
+    public void update(String moduleName) {
+        getModuleEntry(moduleName, null).notifyAboutUpdate();
+    }
+    
     public Failable<RuntimeModule> getRuntimeModule(String moduleName, UpdateListener listener) {
         return getModuleEntry(moduleName, listener).getRuntimeModule();
     }