Fixed SCLConsoleView.setCurrentImports to be performed in a Job 29/3729/1
authorTuukka Lehtonen <tuukka.lehtonen@semantum.fi>
Thu, 19 Dec 2019 12:27:14 +0000 (14:27 +0200)
committerTuukka Lehtonen <tuukka.lehtonen@semantum.fi>
Thu, 19 Dec 2019 12:27:14 +0000 (14:27 +0200)
commit6a8b529bc5ceff5f1455968c03e65d140ffb6e39
tree3d6adf1b27ac95b4cd38d9c347abf09215fda973
parent3429953fc33fa37fe9f03d01f66dbe66fa97e567
Fixed SCLConsoleView.setCurrentImports to be performed in a Job

The job is marked as a user job so if it starts taking time or gets
blocked due to DB, it should get shown to the user as an ongoing job.

gitlab #164

Change-Id: If2dc1389ceb4b3f868f27b17c59b0e59233b9734
bundles/org.simantics.scl.compiler/src/org/simantics/scl/compiler/commands/CommandSession.java
bundles/org.simantics.scl.ui/src/org/simantics/scl/ui/console/Messages.java
bundles/org.simantics.scl.ui/src/org/simantics/scl/ui/console/SCLConsoleView.java
bundles/org.simantics.scl.ui/src/org/simantics/scl/ui/console/messages.properties