]> gerrit.simantics Code Review - simantics/district.git/commit
Use DatabaseJob instead of Job to prevent UI from getting stuck 37/2337/1
authorTuukka Lehtonen <tuukka.lehtonen@semantum.fi>
Fri, 19 Oct 2018 12:00:46 +0000 (15:00 +0300)
committerTuukka Lehtonen <tuukka.lehtonen@semantum.fi>
Fri, 19 Oct 2018 12:00:46 +0000 (15:00 +0300)
commit15c720d419c1139942790dc12acb6936e75b1568
tree36be435593c0ad17325cd2401d340488fe0304d9
parent37304f4caf1d4252797cbaf7b40a56e212e203b4
Use DatabaseJob instead of Job to prevent UI from getting stuck

The breakdown calculation can take a long time, thus it is better to
reverse the database for that time so that the rest of the UI doesn't
start synchronously waiting for DB access.

gitlab #11

Change-Id: If4556559009ea8109b95cf6c12d7bae2243d59f3
org.simantics.district.network.ui/src/org/simantics/district/network/ui/breakdown/DistrictNetworkBreakdownPanel.java