StructuralUtils.isImmutable now takes L0.readOnly of input into account
authorTuukka Lehtonen <tuukka.lehtonen@semantum.fi>
Fri, 24 Apr 2020 17:09:02 +0000 (20:09 +0300)
committerTuukka Lehtonen <tuukka.lehtonen@semantum.fi>
Fri, 24 Apr 2020 17:09:22 +0000 (20:09 +0300)
commit06aeb7cad707d1fed2c21c1ad9413aa97e901da7
treee436f93f7a40fe19482ee3872f6682ff19c688ad
parent38d133f2a39bab76deed5d047fbabee4479b5373
StructuralUtils.isImmutable now takes L0.readOnly of input into account

Introduced new utility method Layer0Utils.isMarkedReadOnly for easy
checking L0.readOnly value of a Resource.

gitlab #525
bundles/org.simantics.db.layer0/src/org/simantics/db/layer0/util/Layer0Utils.java
bundles/org.simantics.structural2/src/org/simantics/structural2/utils/StructuralUtils.java