]> gerrit.simantics Code Review - simantics/platform.git/commit
Rid TypicalPropertyTester of database read transactions
authorTuukka Lehtonen <tuukka.lehtonen@semantum.fi>
Thu, 17 Oct 2019 07:52:39 +0000 (10:52 +0300)
committerTuukka Lehtonen <tuukka.lehtonen@semantum.fi>
Thu, 17 Oct 2019 09:56:53 +0000 (12:56 +0300)
commita18337dc03c999c2bda582822d53c10ebdd9a9ef
treea87698d01ee7358b23b7e0f6e2460a2f6e51f3be
parent91d2a4c9212ecbb89656acaf5a01fb86a0aa5898
Rid TypicalPropertyTester of database read transactions

After this, the normal workbench invocations of TypicalPropertyTester no
longer perform any database transactions to do their work. DiagramViewer
now has built-in support for doing the required queries based on
IDiagram hints alone.

gitlab #399
(cherry picked from commit 55d1e6f63df516019032ebf0c1e9c8c0495a619d)
bundles/org.simantics.db.common/src/org/simantics/db/common/request/ResourceSetURIs.java [new file with mode: 0644]
bundles/org.simantics.db.common/src/org/simantics/db/common/request/TypeURIs.java [new file with mode: 0644]
bundles/org.simantics.diagram/src/org/simantics/diagram/ui/DiagramModelHints.java
bundles/org.simantics.modeling.ui/src/org/simantics/modeling/ui/diagramEditor/DiagramViewer.java
bundles/org.simantics.modeling.ui/src/org/simantics/modeling/ui/diagramEditor/HasDiagramSourceListener.java [new file with mode: 0644]
bundles/org.simantics.modeling.ui/src/org/simantics/modeling/ui/handlers/e4/SyncCurrentTypicalInstanceWithTemplate.java
bundles/org.simantics.modeling.ui/src/org/simantics/modeling/ui/handlers/e4/SyncCurrentTypicalTemplateToInstances.java
bundles/org.simantics.modeling.ui/src/org/simantics/modeling/ui/property/TypicalPropertyTester.java