]> gerrit.simantics Code Review - simantics/platform.git/commit
New implementation NearestOwnerFinder of CommonDBUtils.getNearestOwner 66/2366/1
authorHannu Niemistö <hannu.niemisto@semantum.fi>
Fri, 26 Oct 2018 13:19:20 +0000 (16:19 +0300)
committerHannu Niemistö <hannu.niemisto@semantum.fi>
Fri, 26 Oct 2018 13:19:20 +0000 (16:19 +0300)
commit68a9ec79344f44499f9a92c95ee81b8b052a22e7
tree42e8b073626e548f81076e25f362fb6b411d9ef5
parentac990aa4625c02006f1bc56fbfd106cf7e1c8d84
New implementation NearestOwnerFinder of CommonDBUtils.getNearestOwner

Deprecated CommonDBUtils.getNearestOwner and replaced most of its uses
by new methods in the class NearestOwnerFinder. Note that this modifies
the behavior in some previously unclear cases.

gitlab #163

Change-Id: Ic56671ee549765ce67fa574967c103f2ab7aac0e
bundles/org.simantics.db.common/src/org/simantics/db/common/request/PossibleOwner.java
bundles/org.simantics.db.common/src/org/simantics/db/common/utils/CommonDBUtils.java
bundles/org.simantics.db.common/src/org/simantics/db/common/utils/NearestOwnerFinder.java [new file with mode: 0644]
bundles/org.simantics.db.layer0/src/org/simantics/db/layer0/function/All.java
bundles/org.simantics.structural2/src/org/simantics/structural2/variables/ConnectionBrowser.java