]> gerrit.simantics Code Review - simantics/platform.git/commit
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:36:14 +0000 (20:36 +0300)
commit6996ed988ca3c93f58ba8a8339bb2f34897fc1d1
tree35f0a95b4411dd568e7dbcd953539246205aa3b0
parentffc32a9e2dda6170269dd1149db275f8039981ff
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

(cherry picked from commit 06aeb7cad707d1fed2c21c1ad9413aa97e901da7)
bundles/org.simantics.db.layer0/src/org/simantics/db/layer0/util/Layer0Utils.java
bundles/org.simantics.structural2/src/org/simantics/structural2/utils/StructuralUtils.java