]> gerrit.simantics Code Review - simantics/platform.git/commitdiff
Added alternatives taking RequestProcessor to WorkbenchSelectionUtils. 15/415/4
authorTuukka Lehtonen <tuukka.lehtonen@semantum.fi>
Tue, 18 Apr 2017 08:56:01 +0000 (11:56 +0300)
committerTuukka Lehtonen <tuukka.lehtonen@semantum.fi>
Tue, 18 Apr 2017 09:06:44 +0000 (12:06 +0300)
Fixed several places which were found to use a method from
WorkbenchSelectionUtils that could potentially try to initiate a new
read transaction through org.simantics.db.Session to pass the current
ReadGraph over to WorkbenchSelectionUtils instead. This fixes the very
same problem from OpenWithMenuContribution that was introduced in
6d3ad788 change I45cfa3940df8e1f4abe016b215843dc083227b2b.

Also, ComponentTypeViewerData.editValue now prevents committing new
entered value if the value does not pass input validation.

refs #7077
refs #7142

Change-Id: I542bd24e24ebc46c7da790c847ffafc5b8d18053


No differences found