]> gerrit.simantics Code Review - simantics/platform.git/commit
Added identity-providing constructor for IconButtonStyleBase 51/4251/1
authorTuukka Lehtonen <tuukka.lehtonen@semantum.fi>
Mon, 1 Jun 2020 05:47:33 +0000 (08:47 +0300)
committerTuukka Lehtonen <tuukka.lehtonen@semantum.fi>
Mon, 1 Jun 2020 06:14:29 +0000 (06:14 +0000)
commit8225471d9327a80665a0f3c4af9768ac21a20f32
tree0ae4f211c70ba711a09497c018ba447f6bc3940f
parent95d7748684e292f0146cfb4295d3807753dbad92
Added identity-providing constructor for IconButtonStyleBase

This is needed to support proper implementation of styles inheriting
IconButtonStyleBase. Otherwise query identities of the mentioned class
fall back to getClass which does not work in general.

gitlab #544

Change-Id: I7bfea53b1ce23e644da03ada3cb027fd34a4780a
(cherry picked from commit 9588536ba156584e804329920ae85563e6ef0984)
bundles/org.simantics.diagram/src/org/simantics/diagram/profile/IconButtonStyleBase.java